Algeria’s long-term strategy: countering Morocco’s regional ambitions
Few bilateral relationships in the 21st century have been as persistently antagonistic—or as consequential for regional stability—as the one between Algeria and Morocco. Since gaining independence from French and Spanish colonial rule in the mid-20th century, the two states have oscillated between cautious cooperation and open hostility, marked by border wars, diplomatic ruptures, closed frontiers, and a Cold War-style rivalry for regional primacy that has outlasted multiple generations of leaders on both sides of the Zouj Bghal crossing. Is it possible that countering Morocco has become Algeria’s long-term national strategy—the defining logic behind its foreign policy, military posture, regional diplomacy, and even certain aspects of domestic legitimacy?
Historical roots: from colonial borders to the Sands War
The seeds of Algerian-Moroccan antagonism predate Algeria’s independence itself. French colonial cartography, over more than a century, redrew the Saharan and pre-Saharan frontier separating what would become Algeria from the Moroccan sultanate, annexing territories around Tindouf, Béchar, and the Figuig region that Rabat had historically administered or claimed. Morocco gained independence in 1956, six years before Algeria, and its nationalists—including a young Hassan II—initially framed Algeria’s liberation struggle as a common Maghrebi cause, offering sanctuary, arms supply networks, and diplomatic support to the National Liberation Front (FLN) during the 1954–1962 war.
The expectation in Rabat—one that continues to shape Moroccan grievances—was that an independent Algeria would negotiate the return of territories lost to colonization. This expectation collided with Algeria’s post-independence doctrine, adopted under Ahmed Ben Bella, that colonial borders were sacrosanct and non-negotiable—a principle later enshrined continent-wide by the 1964 Cairo resolution of the Organization of African Unity on the inviolability of colonial borders.
The brief but decisive Sands War of October 1963, fought over Tindouf and Figuig, left a residue of strategic distrust that never fully dissipated. For Algeria’s revolutionary elite, the war confirmed Morocco as an expansionist neighbor aligned with conservative Western interests. In Rabat, it reinforced the view of Algeria as an ideologically driven state close to the Soviet Union, willing to use force against a country that had hosted its liberation movement. These mutually reinforcing perceptions have proven remarkably durable, resurfacing during every subsequent crisis.
Academic perspectives on the rivalry
Scholarly literature on Algerian-Moroccan relations converges, with minor variations in emphasis, on a broadly similar diagnosis. Comparative studies of regional security provision in the Maghreb characterize both states as competing “regional security providers,” whose overlapping leadership claims generate structural friction independent of any specific dispute (Boukhars, 2019). Historians of French Algeria place the rivalry within a longer colonial and postcolonial genealogy: Benjamin Stora’s work situates the 130 years of colonial occupation and the independence war at the heart of Algeria’s political identity formation, fostering a foreign policy culture that is markedly sovereigntist, anti-interventionist, and deeply suspicious of external—including Moroccan—engagement (Stora, 2020; Stora, 2021). Analyses of the 2019 Hirak protests similarly emphasize that the movement’s core demands were domestic and institutional—centered on transparency and elite accountability—though official narratives later mobilized external threat narratives to consolidate state cohesion (Souiah, 2021).
Taken together, this literature does not support a monocausal reading in which Morocco explains all of Algeria’s foreign policy. Yet it consistently identifies the rivalry as a structuring, not incidental, feature of the regional order—one whose institutional and psychological roots extend deep into colonial and revolutionary experiences that produced two fundamentally different states.
Berber identity: a shared heritage weaponized
One less frequently examined layer of the rivalry concerns competing claims over Berber (Amazigh) identity and heritage. Both Algeria and Morocco host significant Amazighophone populations—concentrated in Kabylie, the Aurès, and M’zab in Algeria, and in the Rif, Middle Atlas, and Souss in Morocco. While both countries have, at varying speeds and levels of sincerity, granted constitutional recognition to Tamazight—Morocco in 2011 and Algeria in 2016—the political meaning attached to Amazigh identity diverges sharply between the two capitals, and this divergence has periodically fed into the broader rivalry.
In Algeria, the Kabyle Amazigh movement has at times articulated autonomy demands that the central government has treated as a security issue. Authorities have occasionally accused Morocco of secretly encouraging Kabyle separatism as a tool of destabilization—a charge Rabat has consistently denied. By contrast, Morocco’s monarchy has integrated cultural Amazigh recognition—including the 2001 creation of the Royal Institute of Amazigh Culture and the 2011 constitutional reforms—into an inclusive national narrative centered on the monarchy, rather than framing it as a separatist threat. This contrast illustrates how a shared civilizational legacy—rooted in the Amazigh substratum common to both societies long before Arab-Islamic conquest—has been refracted through the conflictive prism of bilateral rivalry instead of serving as a foundation for cross-border cultural cooperation.
The Western Sahara dispute: the enduring institutional core
While the Sands War forged the psychological architecture of the rivalry, the Western Sahara dispute provided its durable institutional content. Spain’s withdrawal from its Saharan colony in 1975, precipitated by Morocco’s mobilization of 350,000 civilians in the Green March, triggered a conflict that has structured bilateral relations for half a century. Morocco has since annexed and administered most of the territory, presenting an autonomy plan under Moroccan sovereignty as the only realistic basis for resolution. Algeria, while formally rejecting any territorial ambition over Western Sahara, has hosted since 1976 the Sahrawi government-in-exile and refugee camps of the Polisario Front, provided diplomatic, financial, and at times military support, and defended the self-determination claim of the Sahrawi Arab Democratic Republic in African Union and United Nations forums.
The narratives of each side are total and mutually exclusive. Algiers frames its position as the application of a principle rooted in the UN Charter’s self-determination doctrine and the continuity of its own anti-colonial genealogy. Rabat, along with an increasing number of external observers, argues that Algeria is a de facto party to the dispute rather than a neutral sponsor of Sahrawi self-determination, pointing to the Polisario leadership’s location, financing, and institutional dependence on Algerian territory—a claim Algiers consistently denies. The dispute has proven strategically self-sustaining: because sovereignty over Western Sahara is presented by Rabat as a matter of territorial integrity—the most sacred national cause of Morocco—and by Algiers as a matter of decolonization principle, neither government possesses the domestic margin to compromise without appearing to betray a foundational commitment. This mutual entrapment has, over five decades, transformed a regional territorial dispute into a fixed coordinate around which nearly 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 United States recognized Moroccan sovereignty over Western Sahara as part of a trilateral normalization deal with Israel, a shift that accelerated as a growing number of European and African governments—led by France, given the long-awaited Franco-Moroccan strategic treaty—moved toward explicit or implicit support for Morocco’s autonomy plan. Algiers interpreted this trend not as a reason for recalibration but as proof of encirclement, a perception that has, if anything, hardened its posture.
Foreign policy through the Morocco lens
Algerian diplomacy since the 1970s has followed a recurrent pattern: initiatives pursued in appearance for their own sake—African solidarity, energy diplomacy, non-alignment, security cooperation—frequently also serve as instruments to contain Moroccan influence. Several arenas illustrate this dynamic with particular clarity.
The African Union
Algeria played a pivotal role in the admission of the Sahrawi Arab Democratic Republic to the Organization of African Unity in 1984, a decision that provoked Morocco’s withdrawal from the pan-African body for 33 years. When Morocco re-entered the African Union in January 2017—replacing its “empty chair” strategy with direct diplomatic engagement—Algiers intensified its own continental outreach, courting Sahelian and sub-Saharan capitals in what amounted to a renewed competition for African recognition of the rival Sahrawi positions.
Normalization with Israel
Morocco’s December 2020 decision to normalize relations with Israel, secured in exchange for U.S. recognition of its Saharan sovereignty claim, introduced a new axis of confrontation. Algiers, whose foreign policy identity long integrated solidarity with the Palestinian cause as an ideological principle, interpreted this move as a strategic repositioning that brought Israeli security and intelligence presence to its western flank. Algerian authorities and much of the state-aligned press subsequently promoted the notion of an “anti-Algerian axis” linking Rabat, Washington, and Tel Aviv—a framing that, while likely overestimating Algeria’s centrality in Israeli strategic calculations in the Maghreb, has concretely shaped Algerian threat perception and defense planning.
Breaking point: 2021 escalation
In August 2021, Algeria formally severed diplomatic relations with Morocco, citing what it termed hostile acts. It then closed its airspace to Moroccan civilian and military aircraft, permanently suspended the Maghreb-Europe gas pipeline that had for a quarter-century carried Algerian gas through Moroccan territory to Spain, and maintained the land border closure in place since 1994. These measures, still in force, constitute the most severe institutionalization of bilateral hostility since the Sands War, illustrating how a bilateral dispute has come to condition Algeria’s policies on infrastructure, energy, and airspace in ways unrelated to any direct security threat.
Geopolitical realignment: 2026
Morocco’s founding participation in the U.S.-sponsored “Board of Peace” initiative in January 2026—as a founding member, top financial contributor, and first Arab state to commit military forces—further widened the diplomatic gulf between Rabat and Algiers, reinforcing Morocco’s positioning as the Arab pivot of an emergent regional order anchored in Washington. Algeria, which has cultivated deeper defense and energy ties with Russia and increasingly with China, finds itself on the opposite side of an emerging geopolitical fault line that closely—though not exclusively—overlaps with the long-standing Algerian-Moroccan rivalry.
Domestic politics and the uses of external threat
A substantial body of political science holds that authoritarian and hybrid regimes facing domestic legitimacy deficits often derive domestic benefit from a culture of external threat—a dynamic sometimes labeled diversionary conflict theory. Algerian political history provides recurrent illustrations. During the brutal civil conflict of the 1990s—triggered by the annulment of the 1991–1992 elections won by the Islamic Salvation Front and culminating in a decade-long insurgency that claimed an estimated 150,000 to 200,000 lives—the militarized elite consolidated an opaque and unaccountable power structure that critics long described through the contested but persistent trope of the “power” or “mafia of the generals.” This configuration periodically found it expedient to invoke external threats, Morocco foremost among them, to bolster internal cohesion and deflect attention from governance failures.
The Hirak protest movement, which erupted in February 2019 after President Abdelaziz Bouteflika announced a fifth term, posed the most serious internal challenge to the system in a generation. The protests were overwhelmingly peaceful, cross-generational, and focused on domestic demands—ending the grip of the politico-military elite, securing transparent elections, and accountable governance—rather than foreign policy grievances. Yet the state’s response to the legitimacy crisis revealed by the Hirak included, alongside real institutional adjustments, a perceptible intensification of external threat rhetoric. Accusations of foreign interference—often Moroccan and, after 2020, Israeli—occupied a prominent place in official and state-aligned media discourse. This pattern recurred during the 2021 diplomatic rupture, which followed a period of persistent social tension and slow political transition under President Abdelmadjid Tebboune.
It would be reductive to claim that Algerian governance is organized exclusively around this diversionary logic. The state continues to invest substantially in housing, food and energy subsidies, higher education expansion, and industrial diversification efforts, reflecting real domestic development priorities independent of the Moroccan rivalry. Yet the recurring coincidence between moments of internal political tension and the intensification of anti-Moroccan mobilization in official discourse is difficult to dismiss as coincidental, and constitutes one of the clearest mechanisms by which external rivalry has become embedded in domestic policymaking.
The economic cost of confrontation
Nowhere is the price of prolonged rivalry more measurable than in the economic sphere. The Arab Maghreb Union, founded with great fanfare in 1989 by Algeria, Morocco, Tunisia, Libya, and Mauritania, envisioned a common market, coordinated infrastructure, and ultimately a customs union modeled on the European example. Instead, it has remained largely moribund for more than three decades, its ministerial councils largely inactive and its founding ambitions unfulfilled. Intra-Maghreb trade remains among the lowest regional integration levels in the world; various estimates place formal trade between Algeria and Morocco at less than three percent of each country’s total trade—a stark contrast with the intensity typically observed between neighboring economies with complementary endowments.
The closure of the land border since 1994—originally imposed by Morocco following a Marrakech terrorist attack that Rabat partly attributed to Algerian security failures and never reopened despite occasional diplomatic openings—has entrenched this separation, giving rise instead to a vast informal and smuggling economy along the frontier that generates neither tax revenue nor regulated employment for either state. The permanent suspension in 2021 of the Maghreb-Europe gas pipeline ended a decades-old functional bilateral economic interdependence—the only such link to survive previous diplomatic freezes—in favor of parallel and mutually exclusive energy corridors. Algeria rerouted its 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 Algerian territory and implicitly the Algerian lever on regional transit.
By comparison, regional groupings with far less evident economic complementarity than Algeria and Morocco—such as the Association of Southeast Asian Nations, the Southern African Development Community, or even the more modest Gulf Cooperation Council—have, over comparable periods, achieved far higher levels of intra-regional trade and coordinated infrastructure investment. This underscores that Maghreb stagnation stems from a political constraint rather than structural or geographical inevitability. Regional economists have long argued that a truly cooperative Maghreb could generate substantial welfare gains through integrated transport corridors linking Casablanca, Oran, Algiers, and Tunis; expanded intra-regional trade leveraging Algeria’s hydrocarbon wealth and Morocco’s manufacturing and agricultural exports; coordinated renewable energy infrastructure exploiting shared Saharan solar potential; deeper and more liquid regional capital markets; a substantially enlarged tourism market; and a collective bargaining position vastly strengthened in negotiations with the European Union and other external partners. Instead, the two governments have pursued largely parallel and non-complementary development strategies—duplicated port and logistics infrastructure, competing Sahelian and African outreach, defense spending largely oriented toward mutual deterrence—imposing what regional economists have termed one of the world’s most considerable unexploited integration dividends in the developing world.
Military competition and the security dilemma
The material expression of the rivalry is nowhere more visible than in defense budgets. Algeria has maintained one of Africa’s highest military expenditures for more than a decade, officially justified by instability along its borders with Libya, Mali, and Niger, and broader Sahel insecurity following the collapse of state authority in northern Mali after 2012 and the subsequent proliferation of jihadist and separatist armed groups. Algerian authorities consistently frame these expenditures as defensive and regionally oriented rather than specifically directed against Morocco. Morocco, for its part, has conducted parallel and substantial military modernization, diversifying acquisitions among U.S., European, and—since 2020—Israeli suppliers. It has acquired 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 largest multinational military drills conducted on the continent.
Even when each state’s security calculus responds to genuinely distinct threats—not Morocco-specific for Algeria’s southern and eastern borders, or Morocco’s Atlantic and Saharan posture—each side’s modernization efforts are almost 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 deeply the relationship has become militarized despite the absence of open conflict since 1963.
Competing visions of regional leadership
Beyond security and diplomacy, Morocco and Algeria have in recent years articulated genuinely distinct development and geopolitical visions for their own regional leadership, visions that remain trapped in implicit competition. Morocco has pursued a strategy centered on economic diplomacy, South-South cooperation, and Atlantic-facing infrastructure: expansion of Moroccan banking, telecoms, and construction investments across West and Central Africa; promotion of the Nigeria-Morocco gas pipeline as a continental connectivity project; and most recently, the launch of the African Atlantic States Initiative, designed to give landlocked Sahelian states—many now governed by juntas at odds with Paris and, in several cases, with ECOWAS—access to the Atlantic via Moroccan Saharan ports, positioning the Kingdom as an indispensable logistics bridge between enclaved Sahel and global markets.
Algeria, leveraging its hydrocarbon wealth, larger military establishment, and long-cultivated identity of anti-colonial and non-aligned solidarity dating back to the FLN’s role in third-world liberation movements, has instead emphasized direct engagement with Sahelian governments and mediation efforts in internal Malian conflicts (notwithstanding the 2024 rupture of the Algiers Accords process with Bamako’s military government). Its foreign policy identity is anchored in sovereigntist and anti-interventionist principles. These strategies are not, in the abstract, mutually exclusive; a truly cooperative Maghreb could in principle accommodate both a Moroccan Atlantic corridor and an Algerian Sahelian mediation role. In practice, however, each initiative is systematically read by the other capital as an attempt at regional encirclement, and diplomatic energy that could otherwise support complementary regional development is instead devoted to mutual containment.
Public diplomacy and the media battle
The rivalry plays out not only through formal diplomacy, defense acquisitions, and infrastructure decisions, but also through 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 how the Western Sahara dispute and the broader bilateral relationship are perceived abroad, particularly in Washington, Brussels, and Paris. Moroccan diplomacy has invested heavily in building relationships with U.S. and European policymakers, journalists, and parliamentarians, an effort that bore significant fruit 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 liberation movement solidarity networks inherited from the FLN’s revolutionary past—to contest Moroccan sovereignty claims and publicize alleged human rights violations in Moroccan-administered Western Sahara.
This competition has periodically spilled over into unrelated state frictions. Diplomatic tensions between Algeria and France over historical memory, migration, and more recently the 2024 detention of Algerian-French dissidents have unfolded in a context where Algiers explicitly linked French policy choices to what it perceives as a pro-Rabat tilt within Parisian political and media establishments, illustrating how the Moroccan rivalry has come to color even relationships—like that with France—that possess their own long-standing and independent bilateral logic. The result is a regional information environment in which even developments a priori unrelated—a European Parliament resolution, a UN human rights report, a Sahelian coup—are systematically interpreted by both capitals through the interpretive grid of the rivalry, confirming the finding that threads through this analysis: not that Morocco explains everything in Algerian policy, but that few aspects of Algerian regional policy remain entirely untouched by the rivalry.
Is countering Morocco Algeria’s sole long-term strategy? An assessment
Having traced the rivalry across multiple intertwined domains, it is possible to render a more precise verdict on the opening question of this analysis. 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 an economy still heavily dependent on hydrocarbon rents despite years of diversification rhetoric; addressing acute youth employment and demographic pressures in a country where the majority of the population is under 35; ensuring food and water security amid recurring droughts; modernizing aging infrastructure; and managing an exceptionally complex and volatile security environment along its Libyan, Malian, Nigerien, Tunisian, and Mauritanian borders—much of it unrelated to the Moroccan file.
Yet the nuanced thesis finds equally robust support: the rivalry with Morocco has become one of the most durable, consistently invoked, and determinative principles of Algeria’s regional strategy, disproportionate to its objective weight among Algeria’s many national interests. Few bilateral relationships shape Algerian diplomatic alignment (Israel, the Board of Peace 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 consistently and visibly as the Morocco file. The rivalry functions less as one interest among others, competing on equal footing for political attention, than as a persistent filter through which a wide range of otherwise unrelated domains come to be interpreted—and frequently distorted.
The opportunity cost of this configuration is substantial and increasingly well-documented. North Africa remains one of the least economically integrated regions in the world despite possessing precisely the type of complementary economic endowments—Algerian energy and capital, Moroccan manufacturing and logistics—that elsewhere in the world have underpinned successful regional integration projects. The persistence of confrontation, rather than the underlying territorial dispute over Western Sahara itself, appears as the most immediate obstacle to regional cooperation, since that dispute could in principle coexist with functional economic relations, as it largely did during 1988–1994 and partially until the resumption of hostility in the 2020s.
Rivalry or renewal? Prospects for the Maghreb
The trajectory of the North African regional order over the coming decade will largely depend on Algeria and Morocco’s ability to build functional cooperation mechanisms that do not require the prior resolution of the Western Sahara dispute—a resolution that, given hardened and mutually incompatible positions on both sides, appears unlikely in the short term regardless of shifts in international recognition patterns. Confidence-building measures of the sort that have periodically eased other protracted regional disputes elsewhere in the world—technical dialogue on shared Sahelian threats such as terrorism, arms trafficking, and organized crime; gradual sectoral economic exchanges insulated from broader diplomatic freezes; expanded consular and interpersonal contacts for the large Algerian and Moroccan diasporas with family ties across the closed border—could, in principle, begin to erode the rigidity of the current impasse without requiring either government to abandon its core position on sovereignty.
The realization of such measures depends heavily on domestic political conditions in both countries that extend beyond the strict bilateral diplomacy framework: the trajectory of Algeria’s post-Hirak political transition and the internal balance between reformist factions and those attached to the status quo within its security establishment; the pace and solidity of Morocco’s ongoing diplomatic consolidation around its Western Sahara sovereignty claim, which reduces the incentive for Rabat to offer concessions that might be perceived domestically as unnecessary; and the broader realignment of external alignments—American, European, Russian, Chinese, and Gulf—that increasingly overlays and in places hardens the underlying bilateral dispute.
Conclusion: from rivalry to renewal?
The relationship between Algeria and Morocco 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 constitutes Algeria’s sole long-term political and economic program. Algerian state action responds to a genuinely broad range 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 feature of Algerian policy. Through diplomacy, domestic politics, economics, and defense planning, opposition to Morocco has become one of the most constant, institutionalized, and costly threads of 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 themselves, but also the stability, prosperity, and integration of the Maghreb as a whole—a region whose considerable and unexploited potential stands as the most vivid proof that prolonged rivalry, however deeply rooted in history and grievance, imposes costs that neither society can indefinitely afford.
The analytical task is therefore not to arbitrate which side bears the greater responsibility for the impasse—a question that exceeds the scope of dispassionate scholarly analysis and to which each side’s domestic discourse predictably responds by blaming the other—but to recognize the structural pattern revealed by the facts: a rivalry born of a colonial border dispute, hardened by the Sands War and then by the still-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. Taking the measure of this logic, and the considerable margin of maneuver each government possesses to loosen its grip, constitutes the necessary prerequisite to 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 border.