A fractional sub-equation method is introduced to solve fractional differential equations. By the aid of the solutions of the fractional Riccati equation, we construct solutions of the Boussinesq and KdV-mKdV equations of fractional order. The obtained results show that this method is very efficient and easy to apply for solving fractional partial differential equations.