Numerical integration of the rotation of Mars shows that the obliquity of Mars undergoes large chaotic variations. These variations occur as the system evolves in the chaotic zone associated with a secular spin-orbit resonance.