As president of the Chamber of Deputies he witnessed the coup d'état that installed the dictatorship of the Estado Novo in Brazil.
Aleixo was the last vice president to hold the office of President of the Senate. As vice president, he was the designate to succeed Artur da Costa e Silva after he became incapacitated due to disease, but Aleixo was removed from the vice presidency on 6 October 1969 by the Brazilian military junta of 1969, which took the acting presidency instead.
In September 2011, pursuant to Law Nº 12.486, Aleixo was included in the gallery of those who were anointed by the Brazilian Nation to the Supreme Magistracy. This means that he should be considered an ex-president, for all legal purposes.
^A military junta composed of the Ministers in charge of the three branches of the Armed Forces assumed the powers of the presidency on 31 August 1969 after President Costa e Sliva suffered a cerebral thrombosis that left him completely incapacitated. The military junta seized power so as to prevent Vice President Pedro Aleixo, a civilian, from becoming acting president. The possibility of a civilian, even a conservative one, assuming the powers of the presidency was seen as detrimental to the continuity of the military regime. In the initial stage of the President's disease, the junta hoped that he would recover. Subsequently, realizing that the President's condition was irreversible, and that the prolonged continuity of a triumvirate was detrimental to the regime and to its image, the military junta issued an institutional act on 14 October 1969 removing the incapacitated president and the vice president from office and summoning Congress to elect a new president and vice president. The military elite that controlled the regime then selected General Emílio Garrastazu Médici to be ARENA's candidate, and his name was rubber-stamped by Congress. The junta remained in place until the new president was sworn in. In 2011, Brazil enacted a Federal Law recognizing the illegality of the acts that prevented Vice President Pedro Aleixo from becoming acting president and that removed him from office; the statute also directs that Pedro Aleixo be deemed a former president of the Republic. Costa e Silva died less than three months after his removal, and were it not for the military acts now declared illegal that removed him from the vice presidency, Pedro Aleixo would have succeeded to the presidency.