Spanish Prime Minister Pedro Sánchez traveled to Algiers on July 20, 2026, marking his first visit to Algeria in four years and signaling what both governments are calling a definitive thaw in one of North Africa’s most consequential — and most strained — bilateral relationships. The visit produced warm statements, energy pledges, and a promise of renewed high-level dialogue. But it also revealed just how much of the underlying dispute that froze relations in the first place remains unresolved.
From Rupture to Reset
Sánchez’s trip aimed to mend diplomatic ties between Spain and Algeria after they were frayed by a dispute over Western Sahara. Ties between Algiers and Madrid deteriorated in 2022 when Spain backed Morocco’s sovereignty claim over Western Sahara, reversing its decades-long neutral stance on the territorial conflict. In response, Algeria suspended its 2002 friendship treaty with Spain, recalled its ambassador, and froze banking operations linked to trade with Madrid.
The two countries began restoring commercial ties last year, and in March 2026 Algeria reactivated the suspended friendship treaty — the groundwork that made Sánchez’s Algiers trip possible. At a joint press conference, Sánchez told reporters the visit held “particular importance” for Spain, which views Algeria as “not only a neighbouring country but also a strategic partner.” President Abdelmadjid Tebboune, for his part, described the talks as “fruitful” and “frank,” saying the visit gave bilateral relations a “new impetus.”
Energy Is the Engine of the Reset
The economic logic behind the rapprochement is straightforward: Algeria is Spain’s largest supplier of natural gas this year, a fact underscored by the composition of Sánchez’s delegation. He arrived accompanied by executives from major energy players including Repsol, Naturgy, Moeve, and Enagás, and Spain is reportedly seeking to secure roughly a 10% increase in Algerian gas supply, channeled primarily through the Medgaz undersea pipeline.
The ambitions extend beyond fossil fuels. Talks also covered cooperation on green hydrogen, and the Spanish delegation is pushing to open the Algerian market further to Spanish companies in infrastructure, transport, defense technology, and water resource management, including desalination. Tebboune said the two sides discussed encouraging Spanish companies to invest in Algeria, and Sánchez highlighted Algeria’s role as a reliable supplier of gas at a time of considerable international uncertainty, while calling for deeper cooperation in industry, food, technology, and digitalization.
Concretely, the two governments agreed to hold their 8th High-Level Meeting this autumn, to be preceded by political consultations between the two governments — with migration management, counterterrorism cooperation, and cultural exchange all flagged as agenda items.
The Fault Line That Didn’t Move
Here is where the story gets more complicated, and where its real geopolitical weight lies. Despite the goodwill on display, Madrid has not altered the position that triggered the original rupture. Spain’s government is undertaking this reset without changing its official stance one bit: it continues to fully back the autonomy plan Morocco has proposed for Western Sahara — the same policy shift that provoked Tebboune’s anger in 2022, when he scrapped the friendship treaty, withdrew his ambassador, and froze commercial exchange in the first place.
That leaves an unusual dynamic in place: Tebboune confirmed the two leaders did discuss Western Sahara alongside energy, investment, and migration issues, yet the diplomatic freeze is thawing even as the core disagreement over the territory’s status remains exactly where it was. Algeria has long backed the pro-independence Polisario Front’s position on the territory, a former Spanish colony, while Spain’s 2022 shift toward Morocco’s autonomy proposal was the decisive break from decades of Spanish neutrality. Commentary in the Spanish press has framed the visit as less a resolution than a truce of convenience — a piece in Atalayar described it as a decisive moment reflecting “the return of realpolitik” in the geopolitics of the Maghreb, rather than a genuine settling of the underlying dispute.
What the Ramifications Look Like
For Spain, the calculus is about energy security and economic access. Reliable, diversified gas supply matters more than ever amid ongoing volatility in global energy markets, and Algeria’s willingness to increase supply through Medgaz — bypassing the politically complicated alternative routes through Morocco — gives Madrid a hedge it clearly values enough to set aside, if not resolve, the diplomatic rupture.
For Algeria, restoring the relationship offers renewed access to European investment and a diplomatic win that doesn’t require abandoning its position on Western Sahara. Tebboune gets to project Algeria as an indispensable partner to a major European economy without conceding ground on the issue that matters most to Algiers’ foreign policy identity.
For the wider Maghreb region, the visit adds a new layer to an already tangled set of relationships. Morocco, which has spent recent years consolidating international recognition for its Western Sahara position — including Spain’s own 2022 shift — will be watching closely to see whether Spain’s economic re-engagement with Algiers comes with any quiet erosion of Madrid’s declared support, or whether the two tracks genuinely stay separate as both governments insist.
The Bottom Line
The Sánchez-Tebboune meeting represents a real, substantive thaw — treaties reactivated, energy deals advancing, a formal high-level meeting now scheduled for autumn. But it is a thaw built on compartmentalization rather than resolution: both governments have found a way to cooperate on energy and trade while agreeing to keep disagreeing on Western Sahara. Whether that arrangement holds, or whether the territorial dispute eventually forces itself back to the center of the relationship, will likely shape Spanish-Algerian relations — and the broader balance of power in the Maghreb — for years to come.




