MADRID — Millions of Spaniards voted on Sunday in a national election dominated by housing costs, with the far right closer than ever to entering government since Spain returned to democracy.
The vote is widely seen as a referendum on Prime Minister Pedro Sánchez, who leads the Socialist Party and has governed for eight years. His term has brought economic growth, but many voters say cost-of-living worries have overshadowed it, according to The Associated Press.
About 38 million people are eligible to vote. Polls opened at 9 a.m. and close at 8 p.m. on the mainland, and an hour later in the Canary Islands. Results are tallied quickly and the outcome is usually known within hours.
Sánchez called the early election last month after right-wing parties in parliament voted down housing measures from his left-wing government. The decision followed nationwide protests set off by the eviction of an 87-year-old woman from her Madrid apartment. Soaring home and rental costs in cities and tourist areas have angered many Spaniards, especially young people.
His main rival is Alberto Núñez Feijóo, the conservative Popular Party leader and a former regional president of Galicia, who governed that region for 13 years. Feijóo has criticized the government over housing, two fatal train crashes this year, a nationwide blackout in April 2025 and a border crisis in Spain’s North African exclave. He also noted that Sánchez has been unable to pass a budget in nearly four years. After an October train crash south of Madrid that killed 69 people, Feijóo said: “It’s not that Spain is failing, it’s its government.”
Several polls before Sunday showed the Socialists trailing the combined support of the Popular Party and the far-right Vox party. Feijóo is widely expected to seek a coalition with Vox, led by Santiago Abascal, who has campaigned almost entirely on cracking down on immigration. If Vox joined a government as a junior partner, it would be the first time an ultranationalist, far-right party held power since the death of dictator Gen. Francisco Franco in 1975.
Sánchez would probably need smaller parties to his left, but infighting among them is expected to hurt his chances of assembling a progressive coalition like the one he built in 2023. Regional parties in Catalonia, the Basque Country, Galicia and the Canary Islands could also matter if the result is close.
Spain’s prime minister is chosen by parliament. A candidate needs an absolute majority of at least 176 lawmakers in the first vote. If that fails, a second vote needs more votes in favor than against.
Both Feijóo and Abascal have condemned the government’s immigration-friendly policies. One in five residents was born outside Spain, and the government legalized the status of nearly 1.2 million immigrants earlier this year.
Europe is watching ahead of a crowded 2027, with votes due in France, Italy, Greece and Poland. Whether Feijóo can form a government without Vox, which polls suggest he cannot, will depend on the final seat count.

