Temer stayed neutral before the 1964 coup d'état. With the beginning of military rule, he moved away from politics. In 1974, he completed a doctorate in public law at the Pontifical Catholic University of São Paulo (PUC-SP).