We present the results of a solution of the Earth’s rotation built with analytical solutions of the planets and of the Moon’s motion. We take into account the influence of the Moon, the Sun and all the planets on the potential of the Earth for the zonal harmonics Cj,0 for j from 2 to 5, and also for the tesseral harmonics C2,2, S2,2C3,k, S3,k for k from 1 to 3 and C4,1, S4,1. We determine three Euler angles ψ, ω, and φ by calculating the components of the torque of the external forces with respect to the geocenter in the case of the rigid Earth. The analytical solution of the precession-nutation has been compared to a numerical integration over the time span 1900–2050. The differences do not exceed 16 μas for ψ and 8 μas for ω whereas the contribution of the tesseral harmonics reaches 150 μas in the time domain.