- Featured
- Geopolitics
Algeria’s evolving rivalry with Morocco: a defining force in Maghreb politics
Introduction
Few bilateral relationships in modern diplomacy are as deeply entrenched—or as consequential for regional stability—as the volatile ties between Algeria and Morocco. Since gaining independence from French and Spanish colonial rule in the mid-20th century, their interactions have swung between cautious cooperation and open hostility, marked by border wars, diplomatic ruptures, and a decades-long cold war for regional dominance that has outlasted generations of leaders on both sides of the Zouj Bghal frontier. One question looms large: has resistance to Morocco become, in practice, Algeria’s long-term national strategy—a guiding principle shaping its foreign policy, military posture, regional diplomacy, and even domestic legitimacy?
Origins of a rivalry
The roots of this antagonism predate Algeria’s independence itself. Colonial cartography redrew Saharan and pre-Saharan borders between what would become Algeria and the Moroccan sultanate, incorporating territories like Tindouf and Béchar into French Algeria—areas Rabat had historically administered or claimed. When Morocco gained independence in 1956, six years before Algeria, its nationalists—including a young King Hassan II—initially framed Algeria’s liberation struggle as a shared Maghreb cause, offering sanctuary, arms, and diplomatic backing to the National Liberation Front (FLN). Rabat expected an independent Algeria to reciprocate by restoring these lands. Instead, post-independence Algeria, under Ahmed Ben Bella, adopted a doctrine enshrining colonial-era borders as inviolable—a principle later cemented continent-wide by the 1964 OAU resolution on the sanctity of colonial frontiers.
This clash culminated in the 1963 Sand War, a brief but pivotal conflict around Tindouf and Figuig. Though halted by OAU mediation within weeks, it left a residue of strategic distrust that has never fully dissipated. To Algiers, Rabat became a revisionist neighbor allied with conservative Western interests; to the Moroccan monarchy, Algeria emerged as an ideologically assertive state, aligned with the Soviet Union and willing to use force against a nation that had once harbored its liberation movement. These narratives, though partisan, have proven remarkably enduring, resurfacing in every crisis since.
Academic perspectives on the divide
Scholarly work on Algerian-Moroccan relations largely converges on a shared diagnosis: both states function as competing regional security providers, their overlapping leadership claims generating structural friction independent of any specific dispute. Historians tracing Algeria’s colonial past argue that 130 years of French rule and the brutal independence war forged an identity rooted in sovereignty and anti-interventionism, making Algiers inherently wary of external—including Moroccan—engagement. Studies of the 2019 Hirak protests similarly emphasize domestic grievances over governance transparency yet note how state rhetoric later invoked external threats, particularly from Morocco, to consolidate elite power.
The Amazigh dimension
A less explored but analytically critical layer of the rivalry involves competing claims over Amazigh (Berber) identity. Both nations host significant Amazigh populations—concentrated in Algeria’s Kabylie, Aurès, and Mzab regions and Morocco’s Rif, Middle Atlas, and Souss areas. While both have constitutionally recognized Tamazight (2011 in Morocco, 2016 in Algeria), the political meaning of this heritage diverges sharply. In Algeria, Amazigh movements have sporadically demanded autonomy, prompting security crackdowns and accusations—denied by Rabat—that Morocco fuels Kabyle separatism. Morocco, by contrast, has integrated Amazigh recognition into a unifying national narrative centered on the monarchy, avoiding the separatist framing. This divergence illustrates how a shared civilizational legacy has been refracted through conflict rather than leveraged for cross-border cultural cooperation.
The Western Sahara dispute as a structural pillar
If the Sand War forged the psychological architecture of rivalry, the Western Sahara dispute provided its institutional backbone. Spain’s 1975 withdrawal from its colony—precipitated by Morocco’s Green March of 350,000 civilians—triggered a conflict that has shaped bilateral ties for half a century. Morocco annexed most of the territory, proposing an autonomy plan under its sovereignty. Algeria, while formally rejecting territorial ambitions, hosts the Polisario Front’s government-in-exile and refugee camps, provides diplomatic and financial support, and champions Sahrawi self-determination at the African Union and UN. Each side’s narrative is mutually exclusive: Algiers frames its stance as adherence to UN self-determination principles rooted in its anti-colonial legacy, while Rabat accuses Algiers of being a de facto party to the dispute, pointing to the Polisario’s institutional and financial dependence on Algerian soil. This deadlock has transformed a regional territorial dispute into a fixed coordinate around which virtually all other dimensions of the bilateral relationship—and much of Algeria’s broader foreign policy—now revolve.
Diplomatic dynamics shifted decisively after 2020, when the U.S. recognized Moroccan sovereignty over Western Sahara in exchange for Rabat normalizing ties with Israel. The move accelerated as European and African states, including France, increasingly endorsed—or tacitly accepted—Morocco’s autonomy plan. Algiers interpreted this trend not as a recalibration opportunity but as an encirclement strategy, hardening its posture accordingly.
Algeria’s foreign policy through the Morocco prism
Algerian diplomacy since the 1970s has followed a recurring pattern: initiatives ostensibly pursued for their own sake—African solidarity, energy diplomacy, non-alignment, security cooperation—often serve to contain Moroccan influence. Key arenas illustrate this dynamic:
- African Union: Algeria played a pivotal role in admitting the Sahrawi Arab Democratic Republic to the OAU in 1984, prompting Morocco’s 33-year withdrawal. When Rabat rejoined in 2017, Algiers intensified its continental outreach, courting Sahelian capitals to revive competition over African recognition of rival Sahrawi claims.
- Normalization with Israel: Morocco’s 2020 decision to normalize ties with Israel—secured by U.S. recognition of its Western Sahara sovereignty—introduced a new axis of confrontation. Algiers, whose foreign policy identity long integrated solidarity with the Palestinian cause, viewed this as a strategic realignment enabling Israeli security and intelligence presence on its western flank. State-aligned media promoted the notion of an “anti-Algerian axis” uniting Rabat, Washington, and Tel Aviv—a framing that, while likely overestimating Algeria’s centrality in Israeli strategy, shaped Algiers’ threat perception and defense planning.
- Diplomatic rupture, 2021: In August 2021, Algeria formally severed ties with Morocco, citing “hostile acts,” then closed its airspace to Moroccan civilian and military aircraft, permanently suspended the Maghreb-Europe gas pipeline that had carried Algerian gas through Morocco to Spain for 25 years, and maintained the land border closure in place since 1994. These measures, still in force, represent the most severe institutionalization of bilateral hostility since the Sand War, demonstrating how a bilateral dispute has come to dictate Algerian policy on infrastructure, energy, and airspace.
- Reconfiguration in 2026: Morocco’s founding participation in the U.S.-sponsored “Peace Board” initiative in January 2026—serving as a founding member, top financial contributor, and first Arab state to commit troops—further widened the diplomatic gap. Algiers, deepening defense and energy ties with Russia and increasingly China, now occupies the opposite side of an emerging geopolitical fault line that closely, though not entirely, mirrors the old Algerian-Moroccan rivalry.
Domestic politics and the exploitation of external threats
Political science research suggests authoritarian regimes facing internal legitimacy deficits often benefit from external threat narratives—a dynamic known as diversionary conflict theory. Algeria’s political history offers recurring examples. During the brutal 1990s civil war, triggered by the annulment of Islamist election victories, the military-security establishment consolidated opaque power structures critics termed the “power” or “mafia of generals.” This configuration periodically invoked external threats—Morocco chief among them—to reinforce cohesion and deflect attention from governance failures.
The 2019 Hirak protests, sparked by Abdelaziz Bouteflika’s bid for a fifth term, posed the most serious internal challenge to this system in a generation. Though overwhelmingly peaceful, cross-generational, and focused on domestic demands—ending the military-political elite’s grip, securing transparent elections, and accountable governance—the state’s response included intensified rhetoric about external interference, often attributing subversive acts to Morocco and, post-2020, Israel. This pattern resurfaced during the 2021 diplomatic rupture, which followed prolonged social tensions and a slow political transition under Abdelmadjid Tebboune.
While it would be reductive to claim Algeria’s governance is exclusively organized around this diversionary logic, the correlation between domestic political tension and intensified anti-Moroccan mobilization in state discourse is difficult to dismiss as coincidental. It represents one of the clearest mechanisms by which external rivalry has become embedded in domestic policymaking.
The economic toll of prolonged confrontation
The most measurable cost of this rivalry is economic. The Arab Maghreb Union, founded in 1989 with great fanfare, aimed for a common market, coordinated infrastructure, and eventual customs union akin to the European model. Instead, it has remained moribund for over three decades, its ministerial councils largely inactive and founding ambitions unfulfilled. Intra-Maghreb trade is among the lowest globally; estimates place formal trade between Algeria and Morocco at under 3% of each nation’s total trade—starkly contrasting with the intensity typically observed between proximate economies with complementary endowments.
The 1994 land border closure—imposed by Morocco after a Marrakech terror attack it partly blamed on Algerian security failures and never reopened despite occasional diplomatic openings—entrenched this separation, fostering instead a vast informal and smuggling economy along the frontier that generates no tax revenue or regulated employment for either state. The 2021 suspension of the Maghreb-Europe gas pipeline ended a decades-old bilateral economic interdependence, one of the few to survive previous diplomatic freezes. Algeria redirected gas exports via the Medgaz pipeline directly to Spain, while Morocco promoted the ambitious Nigeria-Morocco Atlantic gas pipeline project, designed to connect West African gas fields to European markets via a route explicitly bypassing Algeria and implicitly undermining its transit leverage.
By contrast, regional blocs with far less obvious economic complementarity—such as ASEAN, SADC, or even the modest Gulf Cooperation Council—have achieved far higher intra-regional trade and infrastructure investment over comparable periods. Economists emphasize that Maghreb stagnation stems from political constraints rather than structural or geographic obstacles. A cooperative Maghreb could unlock substantial welfare gains through integrated transport corridors linking Casablanca, Oran, Algiers, and Tunis; expanded intra-regional trade leveraging Algeria’s hydrocarbons and Morocco’s manufacturing and agricultural exports; coordinated renewable energy infrastructure exploiting shared Saharan solar potential; deeper regional capital markets; a vastly expanded tourism market; and a collective bargaining position vastly strengthened vis-à-vis the European Union. Instead, both governments have pursued largely parallel, non-complementary development strategies—duplicated port and logistics infrastructure, competing Sahelian engagements, and defense spending largely oriented toward mutual deterrence—imposing what regional economists have called one of the world’s most significant unexploited integration dividends in the developing world.
Military competition and the security dilemma
The rivalry’s material expression is most visible in defense budgets. Algeria has maintained one of Africa’s highest military expenditures for over a decade, officially justified by instability along its Libyan, Malian, and Nigerien borders and broader Sahel insecurity following Mali’s 2012 state collapse and the subsequent proliferation of jihadist and separatist groups. Algerian authorities consistently frame these expenditures as defensive and regionally oriented rather than Morocco-specific. Morocco, in parallel, has undertaken substantial military modernization, diversifying acquisitions among U.S., European, and—since 2020—Israeli suppliers, deploying advanced air defense systems, precision-guided munitions, and unmanned aerial systems while deepening security and intelligence cooperation with Washington through the annual African Lion exercises, now among the continent’s largest multinational drills.
Even when each state’s security calculus responds to genuinely distinct threats—Algeria’s southern and eastern borders, Morocco’s Atlantic and Saharan posture—their modernization efforts are invariably interpreted by the other through the lens of bilateral competition, producing a classic security dilemma in which defensive acquisitions are perceived as threatening, triggering reciprocal escalation. The closure of Algerian airspace to Moroccan aircraft since 2021, alongside periodic reports of reinforced troop deployments and fortifications along the closed land border, illustrates how the relationship’s daily management has militarized despite the absence of open conflict since 1963.
Competing regional leadership models
Beyond security and diplomacy, Morocco and Algeria have advanced genuinely distinct development and geopolitical visions for regional leadership, though these remain trapped in implicit competition. Morocco has pursued an economic diplomacy strategy centered on South-South cooperation and Atlantic-facing infrastructure: expanding Moroccan banking, telecoms, and construction investments across West and Central Africa; promoting the Nigeria-Morocco gas pipeline as a continental connectivity project; and launching the African Atlantic States Initiative to provide Sahelian states—many now governed by juntas estranged from Paris and, in several cases, ECOWAS—access to the Atlantic via Moroccan Saharan ports, positioning the Kingdom as an indispensable logistics bridge between landlocked Sahel and global markets.
Algeria, leveraging its hydrocarbon wealth, larger military establishment, and long-cultivated non-aligned anti-colonial solidarity rooted in the FLN’s role in third-world liberation movements, has prioritized direct engagement with Sahelian governments, mediation efforts in Mali (notwithstanding the 2024 rupture of the Algiers Accords with Bamako’s military government), and a foreign policy identity anchored in sovereignist and anti-interventionist principles. These strategies are not inherently mutually exclusive; a truly cooperative Maghreb could theoretically accommodate both a Moroccan Atlantic corridor and Algerian Sahelian mediation. In practice, however, each initiative is systematically interpreted by the other capital as an attempt at regional encirclement, diverting diplomatic energy that could otherwise support complementary regional development toward mutual containment.
Public diplomacy and the media battle
The rivalry extends beyond formal diplomacy, defense acquisitions, and infrastructure decisions into sustained competition for international public opinion and media narratives. Both governments maintain extensive networks of aligned media outlets, foreign lobbying arrangements, and academic and think-tank outreach designed to shape perceptions of the Western Sahara dispute and the broader bilateral relationship among external audiences, particularly in Washington, Brussels, and Paris. Moroccan diplomacy has invested heavily in building relationships with U.S. and European policymakers, journalists, and parliamentarians, yielding significant dividends with the 2020 U.S. recognition of Moroccan sovereignty over Western Sahara and the broader diplomatic momentum favoring the autonomy plan. Algerian diplomacy has responded in kind, mobilizing its own networks—including sympathetic voices within pro-Polisario advocacy circles, segments of the European left, and African liberation solidarity networks inherited from the FLN’s revolutionary past—to contest Moroccan sovereignty claims and publicize allegations of human rights abuses in Moroccan-administered Western Sahara.
This competition has periodically spilled into unrelated state friction. Diplomatic tensions between Algeria and France over historical memory, migration, and the 2024 detention of Algerian-French dissidents emerged in a context where Algiers explicitly linked Parisian policy choices to what it perceives as a pro-Rabat bias within France’s political and media establishment. The result is a regional information environment where even ostensibly unrelated developments—a European Parliament resolution, a UN human rights report, a Sahelian coup—are systematically interpreted by both capitals through the rivalry’s interpretive lens, confirming the core finding of this analysis: not that Morocco explains all of Algerian policy, but that little in Algerian regional policy remains entirely untouched by this rivalry.
Is countering Morocco Algeria’s sole long-term strategy?
Having examined the rivalry across multiple interconnected domains, a more precise verdict on the initial question becomes possible. The claim that opposing Morocco constitutes Algeria’s sole long-term national program does not withstand scrutiny. Algeria faces a genuinely broad portfolio of national priorities largely independent of Rabat: maintaining political stability amid an unfinished post-Hirak transition; reducing dependence on an economy still heavily reliant on hydrocarbon rents despite years of diversification rhetoric; addressing acute youth employment and demographic pressures, with over half the population under 35; ensuring food and water security amid recurring droughts; modernizing aging infrastructure; and managing a complex, volatile security environment along its Libyan, Malian, Nigerien, Tunisian, and Mauritanian borders, much of which has no direct connection to the Moroccan dossier.
Yet the nuanced counter-thesis is equally well-supported: the rivalry with Morocco has become one of the most enduring, consistently invoked, and decisive principles shaping Algeria’s regional strategy, disproportionately influential relative to its objective weight among Algeria’s many national interests. Few other bilateral relationships so consistently and visibly shape Algerian diplomatic alignment (Israel, the Peace Board framework, AU positioning), defense acquisition and deployment patterns, energy and infrastructure policy (abandonment of the Maghreb-Europe pipeline, redirection of export corridors), and domestic political discourse as the Morocco dossier. The rivalry functions less as one interest among others, on equal footing in the competition for political attention, than as a persistent filter through which a wide range of otherwise unrelated domains come to be interpreted—and frequently distorted.
Pathways forward for the Maghreb
The trajectory of North African regional order over the coming decade will hinge largely on Algeria and Morocco’s ability to build functional cooperation mechanisms that do not require resolving the Western Sahara dispute—a resolution that, given hardened and mutually incompatible positions, appears unlikely in the short term regardless of shifts in international recognition. Confidence-building measures akin to those that have eased other prolonged regional disputes elsewhere in the world—technical dialogue on shared Sahelian threats like terrorism, arms trafficking, and organized crime; gradual sectoral economic exchanges insulated from broader diplomatic freezes; expanded consular and interpersonal contacts for the large diaspora populations with familial ties across the closed border—could, in principle, begin eroding the rigidity of the current impasse without demanding either government abandon its core sovereignty stance.
The realization of such measures depends heavily on domestic political conditions in both countries that transcend bilateral diplomacy: the trajectory of Algeria’s post-Hirak political transition and the balance within its security establishment between reformist and status-quo factions; the pace and solidity of Morocco’s continued diplomatic consolidation around its Western Sahara sovereignty claim, which reduces incentives for Rabat to offer concessions that might be perceived domestically as superfluous; and the broader realignment of external alignments—American, European, Russian, Chinese, and Gulf—that increasingly overlays and hardens the underlying bilateral dispute.
Conclusion
The Algerian-Moroccan relationship stands as one of the defining—and most costly—features of contemporary North African geopolitics. It would be inaccurate, and analytically reductive, to conclude that countering Morocco represents Algeria’s sole long-term political and economic program. Algerian state action responds to a genuinely broad array of domestic and regional priorities independent of Rabat, from Sahelian security to hydrocarbon diversification to demographic management. Yet it would be equally erroneous to treat this rivalry as a marginal or merely episodic trait of Algerian policy. Across diplomacy, domestic politics, economics, and defense planning, opposition to Morocco has become one of the most constant, institutionalized, and costly threads in Algerian state action since 1962—a pattern that has hardened rather than softened through successive crises in 2020–2021 and 2026. Whether this pattern continues to dominate the North African landscape or gradually gives way to pragmatic, sectoral cooperation will determine not only the future of Algeria and Morocco but also the stability, prosperity, and integration of the entire Maghreb—a region whose considerable, untapped potential stands as the most glaring testament to the fact that prolonged rivalry, however deeply rooted in history and grievance, imposes costs no society can indefinitely afford.
The analytical task, then, is not to arbitrate which side bears greater responsibility for the impasse—a question that exceeds the scope of dispassionate scholarly analysis and to which each capital’s domestic discourse predictably responds in favor of its own narrative—but to recognize the structural pattern revealed by the facts: a rivalry born of a colonial border dispute, hardened by the Sand War and the unresolved Western Sahara question, into a self-sustaining organizing logic capable of absorbing and reconfiguring nearly every related domain it touches, from Amazigh cultural politics to Sahelian diplomacy to hydrocarbon infrastructure. Measuring this logic, and the significant margin of maneuver each government possesses to loosen its grip, is the necessary prerequisite for any future in which the shared geography of the Maghreb becomes an asset rather than, as it has been for the past half-century, a perpetually contested frontier.
More Stories
Africa’s critical minerals: navigating sovereignty in a shifting global landscape
Togo Government Rejects CEDEAO Court Ruling on Constitutional Reform
Ibrahim Traoré challenges the uncomfortable truth of the eastern slave trade in the Sahel