In this paper, nonlinear Klein-Gordon equation with quadratic term is solved by means of an analytic technique, namely the Homotopy analysis method (HAM).Comparisons are made between the Adomian decomposition method (ADM), the exact solution and homotopy analysis method. The results reveal that the proposed method is very effective and simple.