We propose a multigrid method to solve the molecular mechanics model (molecular dynamics at zero temperature). The Cauchy-Born elasticity model is employed as the coarse grid operator and the elastically deformed state as the initial guess of the molecular mechanics model. The efficiency of the algorithm is demonstrated by three examples with homogeneous deformation, namely, one dimensional chain under tensile deformation and aluminum under tension and shear deformations. The method exhibits linear-scaling computational complexity, and is insensitive to parameters arising from iterative solvers. In addition, we study two examples with inhomogeneous deformation: vacancy and nanoindentation of aluminum. The results are still satisfactory while the linear-scaling property is lost for the latter example.