Spain has had seven Prime Ministers since Adolfo Suárez, the first to stand in a general election after the dictatorship. Two governed with UCD, three with the PSOE, and two with the PP. The one who stayed the longest in the Moncloa was Felipe González, with 4,903 days. The one who stayed the least was Leopoldo Calvo-Sotelo, with 644. Pedro Sánchez arrives at the 29N general elections with 3,102 days in office, more than Aznar, Zapatero, or Rajoy.
Winning an election and becoming Prime Minister are two different accounts. Suárez was already governing when he won in 1977. Calvo-Sotelo reached the premiership in a vote in the Congress between two elections. Sánchez entered the Moncloa through a motion of no confidence, then won the two general elections of 2019 and kept the post in 2023 despite finishing second. The seven chips make it possible to follow separately the electoral career and the time in office of each one.
Which Spain Prime Minister has governed for the longest time
| Prime Minister | Party | Days in office |
|---|---|---|
| Felipe González | PSOE | 4.903 |
| Pedro Sánchez | PSOE | 3.102 · in office |
| José María Aznar | PP | 2.905 |
| José Luis Rodríguez Zapatero | PSOE | 2.804 |
| Mariano Rajoy | PP | 2.354 |
| Adolfo Suárez | UCD in the Government | 1.698 |
| Leopoldo Calvo-Sotelo | UCD | 644 |
The series starts with Suárez because he was the president of the first democratic elections, although his appointment took place in 1976. He was preceded by Carlos Arias Navarro, appointed during the dictatorship. The durations have been calculated by the difference between the dates collected by La Moncloa’s chronological list. In the cards, the full bar is equivalent to González’s 4,903 days. General elections are counted as candidacies in which each leader was the candidate of his party to preside over the Government. A victory means finishing first in votes in the Congress.
Adolfo Suárez: won twice with UCD and stood again three times with the CDS
4 years, 7 months and 22 days in the Government · 1.698 days
5 candidacies for Prime Minister · 2 victories
He won with UCD in 1977 and 1979.
He ran with the CDS in 1982, 1986 and 1989.
Adolfo Suárez entered the Government on 3 July 1976, almost a year before the Spanish once again voted in a general election. On 15 June 1977, the Union of the Democratic Centre obtained 165 deputies. On 1 March 1979, approved by then the Constitution, Suárez won again and improved his result to 168. On both occasions, UCD won 47 seats more than the socialists.
Suárez announced his resignation on January 29, 1981, and his term ended on February 25. That was where his time at the Moncloa ended, but he still had three campaigns as a candidate. He founded the Centro Democrático y Social and obtained a seat for Madrid in 1982, 1986, and 1989. His final withdrawal came in 1991: in May he announced his departure from the presidency of the CDS, and in October he resigned his seat as a deputy.
Leopoldo Calvo-Sotelo: the only president who was never a candidate for the Moncloa in a general election
1 year, 9 months and 6 days in Government · 644 days
0 candidacies for president in a general election · 0 victories
In 1982 he was number two of UCD for Madrid. The candidate for the presidency was Landelino Lavilla.
Calvo-Sotelo became president through a route that explains that zero on his record. After Suárez’s resignation, UCD proposed a successor, and it was the deputies elected in 1979 who voted for his investiture. The coup attempt of February 23, 1981 interrupted the vote. Parliament granted him confidence on the 25th.
When the next general election was held, on October 28, 1982, Calvo-Sotelo was still president, but the UCD ballot for Madrid began with another name. Landelino Lavilla appeared as number one, and Calvo-Sotelo as number two. His term ended on December 1. Later, he took the seat that Lavilla resigned and was a member of the European Parliament between 1986 and 1987.
Felipe González: four straight victories and the longest term
13 years, 5 months and 3 days in Government · 4,903 days
7 candidacies for president · 4 victories
He won in 1982, 1986, 1989, and 1993.
He came second in 1977, 1979, and 1996.
Felipe González lost two elections against Suárez before achieving the result that is still the record of Spanish democracy. On October 28, 1982, the PSOE obtained 202 deputies, 26 above the absolute majority. In 1986 it reaffirmed that majority with 184. It won again in 1989, with 175 final seats, and in 1993, with 159. No other candidate has strung together four victories in general elections.
His seventh and last campaign as a candidate for president was in 1996. José María Aznar outpaced him by 290,328 votes and fifteen seats. González left the Moncloa in May of that year, resigned as secretary general of the PSOE in 1997, and remained a deputy until 2004. Almost eight years passed between his departure from the Government and his farewell to Parliament.
José María Aznar: two defeats against González and two victories with the PP
7 years, 11 months and 13 days in Government · 2,905 days
4 presidential candidacies · 2 victories
He won in 1996 and 2000.
He finished second in 1989 and 1993.
In his first general election as a candidate, in 1989, Aznar secured 107 seats. Four years later he took the PP to 141. Victory came on the third attempt: in March 1996 he obtained 156 seats and needed the support of CiU, PNV and Coalición Canaria in order to be invested. In 2000 he won with 183 seats and was able to govern with an absolute majority.
The 2000 elections were the last ones he contested. In September 2003 he proposed Mariano Rajoy to lead the PP’s candidacy the following year. Aznar stayed at the head of the Government until 17 April 2004, after Zapatero’s victory. He also stepped down as PP president in 2004.
José Luis Rodríguez Zapatero: won both elections he contested
7 years, 8 months and 4 days in Government · 2,804 days
2 presidential candidacies · 2 victories
He won in 2004 and 2008. In both elections, his rival was Mariano Rajoy.
Zapatero is the only one of the seven who won all the general elections in which he headed his party’s candidacy. In March 2004, the PSOE obtained 164 seats compared with the PP’s 148. In 2008 both improved: the socialists rose to 169 and the conservatives to 154. Between them, they held 323 of the 350 seats in the Congress.
On 2 April 2011, Zapatero announced to the PSOE Federal Committee that he would not be a candidate again. Alfredo Pérez Rubalcaba headed the socialist list in the elections in November. Zapatero left Moncloa on 21 December, after 2,804 days in office. Although both he and Aznar governed for two legislative terms, Aznar’s term lasted 101 days longer.
Mariano Rajoy: five candidacies, three victories and a motion of no confidence
6 years, 5 months and 11 days in Government · 2,354 days
5 presidential candidacies · 3 victories
He won in 2011, 2015 and 2016.
He finished second in 2004 and 2008.
Rajoy lost his first two elections to Zapatero and won the next three. The 2011 victory gave him 186 deputies, the PP’s best result in a general election. The one in 2015 left him in a very different situation: he came first with 123, but that legislature ended without the Congress investing a president. In the June 2016 rerun, he rose to 137 and achieved the investiture in October.
His departure from the Government came in the middle of the legislature. On June 1, 2018, Pedro Sánchez’s motion of no confidence was approved. Four days later, Rajoy announced his departure as leader of the PP. On June 15, he resigned his seat and requested to return to his profession as a property registrar. The general elections of 2016 had been his last campaign as a candidate.
Pedro Sánchez: two victories in 2019 and a sixth candidacy on 29N
8 years, 5 months and 27 days in Government as of November 29, 2026 · 3.102 days
6 candidacies including that of 29N · 2 victories in the 5 previous elections
He won in April and November 2019.
He finished second in 2015, 2016 and 2023.
November 29, 2026: result pending.
Sánchez is the only one of the seven who won his first general elections after having reached the Moncloa through a motion of no confidence. He took office on June 2, 2018, and reached the polls in April 2019 with almost eleven months in Government. He then won with 123 deputies, but he lost the investiture. In November he won again, with 120, and this time he formed a coalition government with Unidas Podemos.
In 2023 the opposite happened. Alberto Núñez Feijóo’s PP obtained 137 seats and the PSOE, 121. Sánchez gathered 179 votes in the investiture and continued as president with a coalition government with Sumar. On 29N he contests his sixth election as a candidate and reaches 3.102 days in office. His term remains open. The outcome of this sixth candidacy can be consulted in the results of the 29N general elections.
Which president won more elections and who governed without winning them
The balance of the 16 general elections prior to 29N leaves a curiosity: fifteen were won by leaders who went on to become presidents of the Government. González won four, Rajoy three, and Suárez, Aznar, Zapatero and Sánchez two each. The remaining victory was Feijóo’s in 2023. In the opposite sense is Calvo-Sotelo, who presided over the Government for 644 days without having run for general elections as a candidate for president.