The 2023 Spanish general election was held on 23 July 2023 to elect the members of the 15th Cortes Generales under the Spanish Constitution of 1978. All 350 seats in the Congress of Deputies and 208 of 266 seats in the Senate were up for election. It was the first general election in Spain held in July since 1839. The People's Party came first in seat count, but no bloc reached a majority, and Pedro Sánchez was later re-elected prime minister after a deal with several parties.
Background to the vote









Pedro Sánchez's second government, formed after the November 2019 election, was a left-wing coalition between the Spanish Socialist Workers' Party and Unidas Podemos, the first nationwide government of this kind since the Second Spanish Republic. Its term was marked by the COVID-19 pandemic, the resulting recession, the effects of the Russian invasion of Ukraine and an inflation surge. Poor results for the left in the 2023 local and regional elections led Sánchez to dissolve parliament early, a move described as a gamble to unsettle the opposition.
Results and government formation









The People's Party increased its support the most and won 137 seats in the Congress, though it fell short of opinion polling expectations. The Socialists placed second, outperforming polls and recording their best result since 2008 in votes and vote share. Because neither bloc held a majority, the Together for Catalonia party, led by Carles Puigdemont, held the balance of power. After a failed investiture attempt by Alberto Núñez Feijóo, Sánchez secured re-election in November 2023 with an absolute majority, following a deal that included a controversial amnesty bill.
