Heavy turnout across Moroccan-majority districts delivered landslide margins for outgoing Prime Minister Pedro Sánchez’s Spanish Socialist Workers’ Party (PSOE) during Sunday’s parliamentary vote, according to precinct-level census research published by Spanish news outlet El Debate.
That surge failed to keep Sánchez in power, however. The center-right People’s Party (PP) captured 132 seats, alongside 52 seats for the populist Vox party, giving the right-leaning bloc an outright majority. The Socialists lost five seats, finishing with 116 and conceding defeat on Monday.
Lopsided Socialist Margins.
Nowhere was the demographic voting split sharper than in Melilla, a Spanish exclave on the Moroccan border. There, 28-year-old Socialist contender Riduan Moh Abdelkader claimed the territory’s lone seat after Socialist support nearly tripled. El Debate found that the PSOE swept up to 98 percent of the vote in Moroccan-majority precincts, even as the rest of the city favored the PP.
Melilla’s regional Islamic party, Coalition for Melilla (CpM), opted out of the race and instructed its base to rally behind Sánchez’s ticket. Spanish domestic intelligence officials have reportedly opened a probe into potential Moroccan meddling aimed at boosting the Socialists in Melilla.
A similar pattern emerged in Ceuta, the Spanish exclave overwhelmed on July 30 when roughly 70,000 to 80,000 migrants crossed the frontier from Morocco, where PSOE support ticked up to 37.7 percent from 34.3 percent alongside a surge in participation from 53 percent to 74 percent. Although the PP retained Ceuta’s seat, the Socialists won 96 percent of the vote in the El Príncipe neighborhood, where the overwhelming majority of residents are Moroccan Muslims.
Mainland Precincts.
Across mainland Spain, precincts with heavy African-origin populations also bucked the PSOE’s nationwide decline. For instance, in sections of El Palmar—a neighborhood in the southeastern city of Murcia where 51 percent of inhabitants trace their origins to Africa—the Socialists secured 53 percent, jumping over 20 points from 2023.
Nationwide, the PSOE slid by 2.8 percentage points, yet in areas where the census records an African-origin population exceeding 40 percent, the Socialist vote share rose by roughly five points, and participation climbed from 54 percent to nearly 70 percent.
Mass Migration Under the Socialists.
Border enforcement and demographic change sat at the center of the Spanish election battle. Under Sánchez’s eight-year tenure, Madrid aggressively expanded legal immigration and enacted a sweeping mass amnesty for illegal immigrants in April 2026 via decree.
Voter backlash intensified following July’s massive border breach in Ceuta and an unprecedented November emergency in the Canary Islands, in which regional officials reported a record 15,581 illegal boat arrivals in a single month as Spaniards prepared to head to the polls.





