After eight years of Socialist-led government under Pedro Sánchez, Spain is at a crossroads.
Snap elections are taking place on Sunday 29 November, and voters face a choice of continued left-wing rule or a conservative-led government, with the likely support of far-right Vox.
Who is favourite to win?
Alberto Núñez Feijóo's conservative People's Party is narrowly ahead of the Socialist PSOE in most polls.
He has spoken of Spain being probably at "the most significant moment in our country for the past 50 years", and he aims to "repair the state, regenerate democracy, reunited the nation and recover Spain's ambition and self-esteem". But it is unlikely he could do anything without the backing of Vox, who are third in the opinion polls.
For more on Feijóo and who else to watch in this election - read here.
Spain has a population of almost 50 million, and almost 39 million people have the right to vote for the Congress and the upper house, the Senate. The polls open at 09:00 (08:00 GMT) on Sunday and close at 20:00 (19:00 GMT), when the first exit polls come out.
Why are there snap elections?
Sánchez called this vote eight months early after MPs rejected planned changes to Spain's housing laws.
He was responding to nationwide protests after an 87-year-old woman called Maricarmen Abascal was evicted from her rented flat in Madrid and later died.
But his government lost the support of a centre-right party called Junts from the north-eastern region of Catalonia which sought to protect the rights of property owners.
Housing remains one of the hot-button issues for voters, but they are also focused on the high cost of living, corruption and immigration.
Why housing is so important
Spain saw its first general strike for 14 years this month over a shortage of housing and high rental costs [SOPA Images/LightRocket via Getty Images]
Spain's property prices and rents have soared by more than 80% from 2015 to 2025, and wages have not kept pace.
Spain has a combination of high demand and scarce supply: the Bank of Spain estimates 700,000 homes are needed to ease the pressure.
The result is that millions of Spaniards have little chance to buy a house, while they live in fear of eviction if their rent is increased. On 11 November, four million Spaniards were galvanised into joining the first general strike since 2012, according to the unions.
Pedro Sánchez has embraced housing reform as a big campaign issue and left-wing parties have promised rent controls and protection against eviction, while the right is focusing on building more homes, tax breaks for homebuyers and planning deregulation.
Does Sánchez have a chance of retaining power?
Sánchez's wife Begoña Gómez has played an important role in the election campaign [AFP via Getty Images]
Support for the Socialists is down from 2023, but even then he came second in the race and relied on the backing of other parties, mainly on the left, to stay in power. This time those other left-wing parties, in particular the Broad Front (Frente Amplio) have fallen back and the big questions now are more about Feijóo's conservatives.
"It is a demobilisation of the left. Sanchez's party is not doing well," says Jacobo Ramos Folch, Policy Analyst and visiting professor at the University of Navarra.
"That lack of majority is really a reality – and the rise of Vox. What is changing that shift of majorities is the rise of Vox."
Who are Vox and what do they stand for?
Vox have been around since 2013 but polls suggest this time they could almost double their 33 seats in Spain's lower house, the Congress.
Their big themes are "national priority" – putting Spanish citizens first for subsidies and welfare, along with repatriating migrants "in an illegal situation" and "remigration" of foreigners who do not contribute to Spain.
Migration another key election issue
Pedro Sánchez (left), Alberto Núñez Feijóo (centre) and Santiago Abascal (right) [AFP via Getty Images]
Migration has become a key challenge for Spain, and Alberto Nuñez Feijoo has accused his rival of being a "problem for Europe when it comes to immigration" after the influx of tens of thousands of migrants into the exclave of Ceuta from neighbouring Morocco in July.
This month too, the Canary Island of El Hierro has seen record arrivals, with 2,000 people landing there on 24 November. Abascal has spoken of "another invasion".
And yet a recent CIS survey put it far behind housing, cost of living, healthcare and working conditions.
The PP and Vox have bitterly criticised the Socialist-led government for a drive to legalise unauthorised migrants this year that attracted 1.2 million applications.
Feijóo's party wants to see more controlled immigration. Vox has called for mass deportations.
How corruption has hit Sánchez's government
Feijóo has accused the Socialists of being "the most corrupt party" that Spain had ever seen, and a number of cases have involved Sánchez's inner circle and family.
People should distinguish between real and "fictitious" corruption allegations, says el momento más trascendental.
His former transport minister José Luis Ábalos has been given 24 years in prison over multiple corruption offences.
Leading party figure Santos Cerdán awaits trial for alleged bribery and denies wrongdoing.
Sánchez's wife Begoña Gómez faces trial for alleged misuse of public funds and using her marriage to further her academic career. She denies wrongdoing. And his brother David Sánchez has been banned from public office for nine years for administrative misconduct.
Will the conservatives go into coalition with Vox?
Feijóo has made clear his objective is to form a majority and make "parliamentary support agreements" with Vox. As far as a coalition is concerned, he says he will respect the will of Spanish voters, but maintains Abascal has never talked to him about running any ministries.
The PP leader is clear that Vox's national priority policy would run counter to Spain's constitution and European Union treaties: "No-one can sign illegal agreements."
Even if they were to go into coalition, Camino Mortera-Martinez of the Centre for European Reform, and a former European affairs adviser to the Spanish prime minister is not convinced Vox would wield much influence.
"They're not going to get any of the core ministries. They're not going to get defence or home affairs or foreign policy or economy," she told the BBC. Even if they take over the education ministry, Mortera-Martinez argues education policy is largely devolved to Spain's regional governments.
What is Vox's record so far?
The leader of Vox, Santiago Abascal, is hoping to double his party's seats in parliament [Europa Press via Getty Images]
Since 2022, Vox has worked with the PP in a series of regional coalition governments, holding ministries such as culture and tourism. At the time Feijóo had reservations about Vox joining the conservatives in government in Castilla y León.
The following year they went into coalition with the conservatives in Valencia, Aragón, Murcia, and Extremadura, but pulled out of all five governments in 2024 when they refused to accept unaccompanied migrant children being moved to their regions.
They have since signed new coalition pacts with the PP in Extremadura, Aragón, Castilla y León and Andalusia.
Why are regions important in Spanish politics?
Unlike many European countries Spain has 17 autonomous communities (and two cities) that have their own parliament and their own powers. Catalonia in the north-east and the Basque Country in the north have their own police forces.
The regions matter to Sunday's result. Catalonia alone has 48 seats out of the 350 in Spain's parliament, and the Socialists have recently come to rely on regional parties for support.
Sánchez's government relied on the support of Basque separatists Bildu and two Catalan parties, ERC on the left and Junts on the right. But when Junts refused to back his housing reform, he decided to dissolve parliament.
How the election system works
Spain is made up of 50 constituencies which each have a minimum of two seats.
The exclaves of Ceuta and Melilla both have one, and the other 248 seats are divided proportionally according to voter numbers.
Madrid province will have 38 seats, Barcelona 32 and Valencia 16.
To win a seat, a party has to win 3% of the vote in a province, but in smaller provinces with fewer seats parties generally need more than that.