In this article, the homotopy perturbation method proposed by J.- H. He is adopted for solving linear fractional partial differential equations. The fractional derivatives are described in the Caputo sense. Comparison of the results obtained by the homotopy perturbation method with those obtained by the variational iteration method reveals that the present methods are very effective and convenient. © 2007 Elsevier Ltd. All rights reserved.