In this paper, the homotopy analysis method is extended to investigate the numerical solutions of the fractional nonlinear wave equation. The numerical results validate the convergence and accuracy of the homotopy analysis method. Finally, the accuracy properties are demonstrated by some examples.