| No. | Portrait | Name(Birth–Death) | Term of office | Political party | Notes |
| Took office | Left office | Tenure |
| 16 | | José Mariano Salas(1797–1867) | 5 August 1846 | 23 December 1846 | 140 days | Conservative Party | After he restored federalism, he called elections.Santa Anna won the election and was appointed interim president by Congress and Valentin Gomez Farias as vice president. |
| (7) | | Valentín Gómez Farías(1781–1858) | 23 December 1846 | 21 March 1847 | 88 days | Liberal Party | As vice president, he took office in place of Santa Anna, who was fighting the invading U.S. Army in the Mexican–American War. |
| (8) | | Antonio López de Santa Anna(1794–1876) | 21 March 1847 | 2 April 1847 | 12 days | Liberal Party | He took office as elected interim president. |
| Vice PresidentValentín Gómez Farías |
| 17 | | Pedro María de Anaya(1794–1854) | 2 April 1847 | 20 May 1847 | 48 days | Liberal Party | Santa Anna left office to fight in the Mexican–American War. Congress abolished the vice presidency and he was appointed as substitute president. |
| (8) | | Antonio López de Santa Anna(1794–1876) | 20 May 1847 | 15 September 1847 | 118 days | Liberal Party | He reassumed the presidency when De Anaya left office to fight in the Mexican–American War. |
| 18 | | Manuel de la Peña y Peña(1789–1850) | 16 September 1847 | 13 November 1847 | 58 days | Conservative Party | As president of the Supreme Court, he assumed the presidency after Santa Anna's resignation. |
| (17) | | Pedro María de Anaya(1794–1854) | 13 November 1847 | 8 January 1848 | 56 days | Liberal Party | He was appointed interim president by Congress when De la Peña y Peña left office in order to negotiate peace with the United States. |
| (18) | | Manuel de la Peña y Peña(1789–1850) | 8 January 1848 | 3 June 1848 | 147 days | Conservative Party | He reassumed office as provisional president when De Anaya resignedafter refusing to give any land to the United States.During his term, he signed the Treaty of Guadalupe Hidalgo. |
| (14) | | José Joaquín de Herrera(1792–1854) | 3 June 1848 | 15 January 1851 | 2 years, 226 days | Liberal Party | He was the second president to finish his term and peacefully turned over the presidency to the winner of the elections of 1850, General Mariano Arista. |
| 19 | | Mariano Arista(1802–1855) | 15 January 1851 | 5 January 1853 | 1 year, 356 days | Liberal Party | He resigned when Congress refused to give him extraordinary powers to fight the rebellion of Plan del Hospicio, the goal of which was to bring Santa Anna once again to the presidency. |
| 20 | | Juan Bautista Ceballos(1811–1859) | 6 January 1853 | 7 February 1853 | 32 days | Liberal Party | As president of the Supreme Court, he was proposed by President Arista as his successor and confirmed the same day as interim president by Congress. |
| 21 | | Manuel María Lombardini(1802–1853) | 8 February 1853 | 20 April 1853 | 71 days | Conservative Party | He was appointed provisional president by Congress when Ceballos resigned because of the rebellion of Plan del Hospicio. |
| (8) | | Antonio López de Santa Anna(1794–1876) | 20 April 1853 | 5 August 1855 | 2 years, 107 days | Conservative Party | He swore as President but ruled as dictator.He called himself "Su Alteza Serenisima" (Serene Highness).The Mexican National Anthem was composed during his presidency. |
| 22 | | Martín Carrera(1806–1871) | 5 August 1855 | 12 September 1855 | 38 days | Conservative Party | He was appointed interim president after the triumph of the Plan of Ayutlabut he took office until 15 August. |
| 23 | | Rómulo Díaz de la Vega(1800–1877) | 12 September 1855 | 3 October 1855 | 21 days | Conservative Party | He served as de facto president after Carrera's resignation. |
| 24 | | Juan Álvarez(1790–1867) | 4 October 1855 | 11 December 1855 | 68 days | Liberal Party | He was appointed interim president by a council integrated with one representative of each state after the triumph of the Revolution of Ayutla. |
| 25 | | Ignacio Gregorio Comonfort de los Ríos(1812–1863) | 11 December 1855 | 17 December 1857 | 2 years, 6 days | Liberal Party | He was appointed interim president by Juan Alvarez when he resigned.He became constitutional president on 1 December 1857. |