We provide the direct proof of the Nekhoroshev theorem on the stability of nearly integrable analytic symplectic maps. Specifically, we prove the stability of the actions for a number of iterations which grows exponentially with an inverse power of the norm of the perturbation by conjugating the generating function of the map to suitable normal forms with exponentially small remainder.