In this study, an accurate analytical solution for the nonlinear free vibration of a conservative oscillator with inertia and static type cubic nonlinearities is derived. This solution has been obtained using homotopy analysis method (HAM). Then, homotopy Pade technique is applied to accelerate the convergence rate of the series solution. This study shows that the HAM leads to an accurate analytical solution, which is valid for a wide range of considered system parameters. Unlike the other analytical methods, HAM can control and adjust the convergence region and rate of the approximation series solution. The excellent accuracy of the current results is demonstrated by comparing with the available analytical and numerical results.