Spain’s snap general election on Sunday will decide whether Pedro Sanchez’s eight-year premiership continues, with the conservative opposition predicted to win. The vote could also see the far right enter government for the first time since General Francisco Franco’s dictatorship (1939-1975).

AFP examines the issues shaping the election.

Housing affordability has been a growing concern for years. It moved to the centre of political debate after the eviction of an 87-year-old pensioner in Madrid prompted nationwide protests. Activists and analysts have pointed to a shortage of social housing, the growth of short-term tourist rentals, speculation by large investment funds and insufficient construction.

Sanchez brought forward the election, originally scheduled for 2027, after conservative and far-right opposition parties voted down housing measures proposed by his minority coalition in response to the protests. The 54-year-old Socialist leader sought to capitalise on public discontent. Measures have since been passed, including greater protection against evictions and curbs on large funds acquiring property. The opposition says he failed to improve the situation while in office.

Spain’s high-speed rail network, the world’s second largest after China’s, has faced questions about its safety following two deadly collisions this year. A crash in Andalusia in January killed 46 people; a second accident south of Madrid last month killed 69.

Sanchez has faced criticism over his handling of the railways. Weeks before election day, his combative ally Oscar Puente resigned as transport minister.

Migration has also become an issue. Tens of thousands of migrants entered the Spanish North African territory of Ceuta from neighbouring Morocco in late July, setting off a humanitarian and political crisis. Hundreds lived for weeks in makeshift camps, heightening tensions with residents of the city, which has around 80,000 inhabitants. Residents protested regularly and accused the government of abandoning them.

Sanchez, an outspoken champion of immigration, was criticised for failing to prevent the mass entry and for the crisis dragging on for months. The situation has since eased, with most migrants returning to Morocco. Analysts believe the crisis benefited the far-right Vox party, which called the rush an "invasion" and has made tougher immigration policies central to its programme.

A recent rise in arrivals on the long-running migration route from west Africa to the Canary Islands has also raised concern. More than 17,000 people have reached the Atlantic archipelago since October, almost matching the 17,788 arrivals recorded during all of 2025.

Sanchez, who came to power in 2018 promising to clean up Spanish politics, faces a series of corruption scandals involving relatives and senior Socialist figures. His wife, Begona Gomez, will go on trial for alleged embezzlement and influence peddling. His former right-hand man Jose Luis Abalos was sentenced to 24 years in jail for corruption.

Former Socialist premier Jose Luis Rodriguez Zapatero, Sanchez’s mentor, is also under investigation over his role in alleged irregularities in an airline bailout. Sanchez has defended the innocence of his wife and Zapatero and denied any irregular financing of his Socialist party.

The conservative Popular Party (PP) has consistently led most polls but is predicted to fall short of a majority. Vox, the third-largest force in parliament, could become a kingmaker and seek concessions from the PP in coalition talks, as happened after the latest regional elections.

PP leader Alberto Nunez Feijoo says his goal is to govern alone but has left the door open to talks with Vox. Sanchez, meanwhile, would need to renew alliances with various small left-wing parties that have fallen in the polls.