How Spain Elects Its Prime Minister Through Parliament

Spaniards do not vote directly for their prime minister. Instead, voters elect a 350-seat Congress of Deputies across 52 constituencies, and those lawmakers choose the prime minister through an investiture vote after a formal nomination by the King. A candidate needs 176 votes in the first round or a simple majority 48 hours later.

Spain is a parliamentary monarchy with a two-chamber parliament called the Cortes Generales, made up of the Congress of Deputies and the Senate under the 1978 Spanish Constitution. Only the Congress of Deputies votes to invest or remove the prime minister, whose formal Spanish title is President of the Government. The Senate can amend or delay bills, yet it has no vote in choosing who runs the executive branch.

General elections normally take place every four years. They can happen sooner if the prime minister proposes an early dissolution of parliament after consulting the Council of Ministers, or if lawmakers fail to choose a leader after an election.

ContentsToggle

How does a Spanish general election turn votes into seats?

The Constitution sets the size of Congress between 300 and 400 members, and Organic Law 5/1985 fixes the exact total at 350 deputies. Those seats are divided across 52 electoral districts covering Spain’s 50 provinces plus the North African autonomous cities of Ceuta and Melilla.

Seat allocation happens in two layers before a single ballot is counted. Each of the 50 provinces automatically receives a minimum of two seats, accounting for 100 deputies, while Ceuta and Melilla get one seat each. The remaining 248 seats are distributed among the 50 provinces in proportion to population.

How Spain's 350 Congress seats are allocated: Population-based seats 248 seats, Provincial minimums (50 x 2) 100 seats, Ceuta and Melilla 2 seats
How Spain's 350 Congress seats are allocated (Source: Junta Electoral Central (LOREG), 1985)

Inside your province, you do not vote for individual congressional candidates. You choose a closed party list ranked in order by that party, and a list must win at least 3% of valid votes in that province, including blank ballots, to qualify for seats there.

Qualifying parties then receive seats province by province through the D’Hondt method, a proportional formula that divides each party’s vote total by 1, 2, 3, and so on up to the number of seats in that district and awards seats to the highest resulting averages. In single-seat Ceuta and Melilla, the most-voted list takes the seat outright.

Because the 3% cutoff applies inside each province rather than nationwide, Spain’s system treats small and large districts differently. In small rural provinces electing only two to five deputies, the real vote share needed to win a seat under the D’Hondt formula is far higher than 3%. On the same election day, voters also pick individual Senate candidates on open lists (208 directly elected seats through 2023, rising to 209 from 2026 after Formentera separated from Ibiza as its own district), alongside senators appointed by regional parliaments.

How does Congress elect Spain’s prime minister step by step?

Once election results are in, Section 99 of the Constitution lays out a fixed sequence for choosing the head of government, as summarized in a House of Lords Library briefing:

  1. Congress convenes within 25 days of election day to seat the new deputies and elect the Speaker of Congress.
  2. The King holds a round of consultations with representatives of the parliamentary groups and nominates a candidate through the Speaker, who countersigns the nomination under Section 64.
  3. The nominee presents their governing program to Congress in an investiture debate and asks for the chamber’s confidence. Winning the first ballot requires an absolute majority of at least 176 of the 350 deputies.
  4. If the nominee falls short of 176 votes, Congress holds a second ballot 48 hours later. That round requires only a simple majority of more yes votes than no votes, which means abstentions can let a candidate win with fewer than 176 supporters.
  5. Once Congress grants confidence, the King formally appoints the prime minister with the Speaker’s countersignature, and the new leader swears in and forms a cabinet.

What happens when no party wins 176 seats?

When no single party reaches an absolute majority on its own, party leaders negotiate either a formal coalition cabinet or a minority government supported by outside votes or abstentions from smaller and regional parties. Finishing first in the popular vote or seat count does not guarantee the prime ministership.

The July 2023 general election showed how that plays out in practice. The People’s Party (PP) won the largest number of seats, yet its leader failed to secure a majority in his investiture vote. Rival leader Pedro Sanchez then assembled backing from smaller and regional parties to win investiture on November 16, 2023 by 179 votes to 171.

If the King’s first nominee fails both rounds, the King can hold fresh consultations and propose another candidate, or the same nominee again, with no limit on the number of attempts. However, a strict two-month constitutional clock begins running on the date of the first investiture vote—not on election night.

That timing rule catches many observers off guard because post-election coalition talks before the first ballot have no fixed constitutional deadline. Once that first vote happens, though, lawmakers have exactly two months to invest someone. If the deadline expires without a winner, the King dissolves both chambers with the Speaker’s countersignature and calls automatic repeat elections.

Under Organic Act 2/2016, analyzed in a 2017 UNED legal study, automatic repeat elections take place 47 days after the dissolution decree instead of the standard 54 days, with a shortened campaign. Spain triggered that repeat-election mechanism twice in four years. After an inconclusive December 20, 2015 election forced a June 26, 2016 rerun, Mariano Rajoy finally won investiture on October 29, 2016 when the Socialist Party (PSOE) abstained in the second round. In July 2019, Pedro Sanchez lost his first-round investiture vote with 124 votes in favor, 170 against, and 52 abstentions, and two deadlocked months later voters returned to the polls on November 10, 2019.

How can parliament replace a prime minister between elections?

Spain does not let parliament topple a sitting prime minister without naming a replacement at the same time. Under Section 113 of the Constitution, Congress can remove a government only through a constructive motion of no confidence, a mechanism similar to the one used in Germany’s Bundestag to avoid governing vacuums.

At least one-tenth of deputies (35 of 350) must sign the motion and put forward an alternative candidate for prime minister. Congress cannot vote until at least five days after the motion is filed, with rival motions permitted during the first two days, and the motion must win an absolute majority of 176 votes to pass.

If it succeeds, the sitting government must resign under Section 114, and the named replacement is automatically deemed to have Congress’s confidence and is appointed by the King with no separate investiture vote. Spain saw its first successful no-confidence ouster since the 1970s return to democracy on June 1, 2018, when Congress voted 180 in favor, 169 against, and 1 abstention to replace Mariano Rajoy with Pedro Sanchez.

Parliamentary voteWhen it happensVotes needed to passResult if it passes
First investiture ballotAfter royal nomination and debateAbsolute majority (176 of 350)King appoints the nominee as prime minister
Second investiture ballot48 hours after a failed first ballotSimple majority (more yes than no)King appoints the nominee as prime minister
Constructive no-confidence motionAt least 5 days after 35 deputies file itAbsolute majority (176 of 350)Sitting government resigns; named replacement takes office

Frequently asked questions

Does Spain’s King choose who becomes prime minister?

The King formally nominates a candidate after consulting parliamentary party leaders and later appoints the winner, yet his role is constitutional and ceremonial. The Speaker of Congress must countersign both the nomination and the appointment, and only a majority vote in Congress grants a prime minister power.

Why is Spain’s prime minister officially called the President of the Government?

The 1978 Spanish Constitution uses the title Presidente del Gobierno (President of the Government) for the head of the executive branch. English-language coverage usually says prime minister because Spain is a parliamentary monarchy whose leader answers to parliament rather than winning a separate presidential ballot.

Can a party win the most votes in Spain and still lose the prime ministership?

Yes. Because investiture requires 176 votes in the first round or more yes votes than no votes in the second, a party that finishes first can fall short if rival and regional parties unite behind another candidate, as happened after the July 2023 election.

Recent Articles

Related News

Leave A Reply

Please enter your comment!
Please enter your name here