Spain’s caretaker prime minister will give up his seat in Congress. The Socialists will appoint an interim leadership committee on Saturday, just over six months before municipal and regional elections.

Pedro Sánchez has resigned as secretary-general of Spain’s Socialist Party (PSOE) and stepped down from all his party posts following Sunday’s general election defeat. He will remain caretaker prime minister but will not take up his seat in the new Congress of Deputies.

Sánchez announced his decision on Monday morning at a meeting of the PSOE’s Federal Executive Committee at the party’s headquarters on Calle Ferraz in Madrid. The executive will meet again on Saturday 5 December, immediately before the Federal Committee appoints an interim leadership team. That team will run the party until an extraordinary congress, for which a date has yet to be set.

The PSOE won more votes than it did in 2023 amid higher turnout, but its share of the vote fell by 2.8 percentage points and it lost five seats, finishing second with 116. The People’s Party (PP) won 132 seats, while Santiago Abascal’s Vox gained 19 to reach 52. Together, the two parties have 184 seats, eight more than they need for an absolute majority, giving PP leader Alberto Núñez Feijóo a path to government if he secures Vox’s support.

Party sources said Sánchez made his decision before addressing supporters on election night. He chose to tell the party executive first, they said, and felt it would be unfair to announce his departure just as party members and polling agents were finishing their work.

Rebeca Torró, the PSOE’s organisation secretary, will chair Saturday’s Federal Committee meeting and consult the party’s general secretaries before the interim team is appointed. The leadership transition comes as the Socialists prepare for the 2027 municipal and regional elections.