Editors: Nadja Berghoff and Anas El-Gomati

A decade on from the February 17th revolution, how the global disorder transformed Libya into a battleground for interest, ideology and influence.

Chapter 7

Morocco: Positive Neutrality

By Noamane Cherkaoui

Stretching back centuries, Morocco and Libya have an ancient history of geographical, ethnolinguistic, cultural, and religious connections. Politically, their bilateral relations were mostly favourable until 1969, when they began to deteriora coup.

This would launch the start of a frictional relationship, in which Libya became a Maghreb neighbour with antipathetic policies towards Morocco. During Gaddafi’s era, there were various lows, with the most enduring becoming his support for the Polisario Front, a separatist group founded in 1973 and based along the Algerian–Moroccan border .

Gaddafi provided them with consequential backing and aid for decades, and his support was initially indispensable for the Front’s armed conflict against Morocco. Another low was when the late King Hassan II accused Tripoli of backing a coup against him in 1971 – Libyan media had been among the first to offer support to the unsuccessful putschists.

Accordingly, with bilateral relations strained, Morocco began playing an important role in Libya’s opposition movement. In 1982, the Libyan opposition group National Front for the Salvation of Libya (NFSL) held its inaugural “National Council” in Rabat.

That relationship essentially continued until 1984, when a thaw in Libya-Morocco relations began to ostensibly be observed. The two nations signed the Arab-African Union treaty, the apex of King Hassan II and Gaddafi’s newfound reconciliation, with developments like Libya withdrawing from Chad 4 and the establishment of a joint legislature transpiring shortly thereafter.

Additionally, as a sign of goodwill, Rabat deported a prominent Libyan opposition figure, Omar Muhayshi, to Tripoli – the latter had safe haven in Morocco for years. Gaddafi’s support for the Polisario Front also declined considerably as a result of the treaty, though he kept their Tripoli office open. Nevertheless, the reconciliation would prove to be short-lived, and King Hassan II abrogated the treaty in 1986, to the “pleasure and delight” of the United States.

This step did not happen in a vacuum, with dynamics including how Gaddafi had initially aimed to use Rabat and its diplomatic network via the treaty to assuage US concerns about Gaddafi’s links to international terrorism. Yet, following the 1986 West Berlin discotheque bombing, the US launched retaliatory air strikes against Libya, and this escalation all but ensured a hardline stance was to prevail.

Another notable dynamic was King Hassan II’s hosting of Israeli Prime Minister Shimon Peres for talks in Ifrane a few months afterwards. This was a move that was denounced by hardline Arab nations, particularly Libya, and would prove to be the nail in the coffin for the treaty and bilateral relations.

Rabat used the resultant Libyan-Syrian communique as a pretext to abrogate the treaty and jettison the corrosive connection with Gaddafi, a development which noticeably preceded the rescheduling of its external debt after years of issues. Incidentally, following these events, Gaddafi reportedly plotted to have Morocco’s monarch assassinated in 1987.

The thaw moderately renewed after King Mohamed VI’s ascension and the cascade of developments following September 11, 2001. Gaddafi became more obliged to accept US stipulations, such as dismantling Libya’s modest nuclear program, and tilt westwards.

This essentially marked the beginning of quasi-normal relations between Rabat and Tripoli, with the influence of the principal stumbling block, the Polisario Front, already waning significantly by that time due to the 1991 ceasefire and the conflict’s evolution.

Nevertheless, the developing apathy meant Morocco would view the events that eventually transpired in 2011 with great interest.

Foreign Policy Towards Libya Since 2011

After Gaddafi was deposed in 2011, Rabat kept a keen eye on unfolding events.

While there was no delibe a failed state. Morocco was one of the most active actors during the revolution; it was quick to establish a military hospital on the Tunisia-Libya border for displaced Libyans in March 2011, a member of the Libya Contact Group, one of the first to recognise the nascent National Transitional Council (NTC), and the location of the former interim Prime Minister el-Kib’s first official visit in 2012.

Indeed, unlike the suppressive reflex of dictatorships in the region, Rabat’s underlying doctrine was not opposed to the Arab Spring or political reforms, which is a historical characteristic.

By way of example, after an Islamist party was poised to emerge victorious in Algeria’s first free parliamentary elections in 1992, Rabat’s reaction was to encourage letting the wheels of democracy turn. However, elections were instead annulled by military coup, leading to a civil war and a brutal ‘black decade’ in Algeria.

The Moroccan monarchy also benefits from domestic legitimacy, and its pragmatic response to protests in 2011 allowed it to assuage public concerns effectively.

The shock absorber is robust under Morocco’s monarchy – which dictates the nation’s foreign policy, not parties or politics – and even craftily co-opted Morocco’s most prominent Islamist party, the Justice and Development Party (JDP) 20 .

Incidentally, the rope the JDP, in power since 2011, has been given as a legitimate electoral candidate has allowed citizenry to evaluate the party mostly on its merits.

Moreover, as the events of 2011 transpired, an opportunity likewise presented itself for Rabat to undercut Algeria’s foreign policy in general, and its approach to Libya’s revolution in particular. Algiers was sympathetic to Gaddafi’s cause and provided refuge for his family, and an undercutting opportunity, due to entrenched regional dynamics, is rarely unwelcome.

Morocco’s foreign policy is driven primarily by its soft power, and it has made noteworthy inroads in the African continent in the last few years. After King Mohammed VI’s ascension, Rabat orchestrated a thoughtful shift towards Africa, with dozens of bilateral agreements being signed and a focus being placed on strategic partnerships.

This approach has reaped fruit, and its pragmatic policy making saw it rejoin the African Union in 2017. Moreover, its strategic location along the strait of Gibraltar and long-term vision have allowed it to leverage its capabilities and develop into a valuable partner for Western allies. Morocco’s soft power, focused mainly on diplomatic and humanitarian aspects, has likewise been actively deployed in Libya.

Following the outbreak of the 17 February revolution, it supported efforts to isolate Gaddafi, being privy to the Arab League’s suspension of Libya and its request for a no-fly zone on 12 March 2011, and attending the Paris Summit for the Support of the Libyan People on 19 March.

Morocco’s then-Minister of Foreign Affairs, Taieb Fassi Fihri, said that Rabat believed that the solution in Libya could only be “political and forward-looking,” a view it still shares now, with its desired outcome remaining consistent: the Libyan people being put at the forefront of any sustainable settlement.

In Rabat’s view, the revolution in Libya offered this brotherly nation an opportunity to introduce new political players and develop a lively public sphere, particularly given factors such as political parties being hitherto outlawed.

In this regard, it considered some Arab countries’ stances against forces affiliated with the Arab Spring as counterproductive. For Rabat, the preferred approach is to encourage dialogue among stakeholders; a political path is ultimately more conducive to stability and formalises the capacity to co-opt, unlike the violence in Libya that has introduced fragmented and localised actors.

The guiding principles of Morocco’s foreign policy in Libya are three-fold.

Firstly, while Morocco regards Libya in fraternal terms, it also benefits from the latter’s stability.

Conflict in the country has had significant reverberations in the region, including in the Sahel, where an arms and combatant flow has exacerbated violent extremism and threatened Morocco’s national security.

Another dynamic is Rabat’s economic interests with Libya, which can act as a gateway to sub-Saharan Africa for Morocco. Morocco is also a net energy importer, so Libya’s possession of the largest proven crude oil reserves in Africa can be a conduit for a mutually profitable relationship.

Secondly, Morocco wants to counter Algeria’s professed regional hegemony and advance its relationships with allies. This would allow Rabat to consolidate its anti-encirclement strategy and expand its power projection capabilities.

In the post-Cold War era, Algeria’s sphere of influence in the Maghreb has included Mauritania and to a lesser extent Tunisia, while Morocco likewise views Tunisia as a constructive partner, which leaves Libya as a wildcard that dovetails with Rabat’s longstanding holistic links with the country.

Thirdly, the role that Morocco’s southern provinces play is important. The Polisario Front, for years aided and abetted by Algiers in bad faith, has been reduced as a force and Rabat would like to avoid the revitalisation of its separatist aspirations.

As a result, Rabat has a strong preference in seeing partners in Libya that are not in the Gaddafist mould and respect its sovereignty – the latter also a concept its efforts have aimed to preserve within Libya.

Morocco’s engagement in Libya has been most conspicuous through the Libyan Political Agreement (LPA) of 2015, co-mediated by Morocco under the auspices of the United Nations (UN).

It was signed in 2015 in Skhirat and represented a significant success for Moroccan diplomacy. The LPA was an opportunity to bring actors together around a unity government – ultimately the Government of National Accord (GNA) –with Libya requiring a political settlement to move forward constructively.

Rabat has maintained that, as in the words of its Minister of Foreign Affairs Nasser Bourita, the Libyan conflict is a “strategic nonsense and a no-win situation for all in the long run.”

The LPA was also an attempt to offer a consensus-based solution to domestic ails that had already torpedoed internal organic peace processes.

It was only a first step, and since then its gaps have regrettably been exploited in bad faith by adverse actors, both internally and abroad. Rabat’s next notable soft power projection came in 2020; it organised several meetings in Bouznika and Tangier with representatives of institutions legitimised by the LPA.

In Rabat’s view, the LPA remains a sufficiently flexible and UNSC-endorsed framework for Libya’s conflict resolution. As a result, it aimed through solution-oriented mediation to facilitate headway on some existing stalemates in Libya via the deal’s mechanisms, including Article 15 to manage sovereign positions.

These meetings occurred after the Berlin Conference in January, which Morocco did not receive an invitation to – a myopic decision rued in the capital and likely an attempt to placate Libya’s neighbour, Algeria.

Ultimately, Morocco has a deposition towards UN-backed and internationally-recognised institutions in Libya. While adverse attempts by internal and external spoilers have been a staple of Libya’s conflict dynamics and political landscape, Morocco’s open channels with all sides is indicative of its pragmatism and aim to support, not negative interference.

Furthermore, some aspects of the East-based counterrevolutionary Rabat’s regional strategy. This includes its head Khalifa Haftar’s reliance on Madkhali-Salafism, a brand of Islamism that clashes with Morocco’s moderate Maliki-Sufism – a key part of its soft power – and his penchant for a structurally unstable autocrat model.

Additionally, a key backer of the LAAF, Egypt, and its President al-Sisi are aiming to establish better ties with Algeria, the location of al-Sisi’s first official visit abroad after assuming office in June 2014 . Indeed, suspicions have emerged of coordination between Cairo and pro-Polisario circles, with the former refusing to support Morocco’s stance on the issue and hosting Polisario delegations in 2015 and 2019.

Moving Forward

A decade on from Libya’s revolution, Morocco’s foreign policy towards Libya is still dictated by an emphasis on the traditional dyad of security and stability – and therefore a representative political settlement.

Rabat will benefit from an equitable solution that unites institutions and turns the page on Libya’s conflict, and from Libya being in a position to employ its considerable resources to progress and prosper.

Peace is ultimately conditional on equitability, and tensions in southern Libya and the odious Sirte-Jufra line’s consolidation by the LAAF, coupled with the Libyan Political Dialogue Forum’s (LPDF) limitations, means a sustainable conflict resolution may remain elusive in the foreseeable future.

The aim of some foreign backers also continues to be divide and rule – the country, the UN-backed government – and military build-ups will not vanish overnight. As a result, Rabat’s position is expected to

remain flexibly steadfast; it will not budge on an inclusive Libyan-Libyan solution, but its pragmatism means the particulars of this scenario are not fixed.

In any case, the objective for Morocco, and the basis of its positive neutrality, will remain the same: a successful political track and a thriving, stable Libya.


Noamane Cherkaoui is a Morocco-based analyst that has been researching North Africa geopolitics and security for the past few years. His main focuses are Libya’s socio-security dynamics and its regional environment. He graduated from the University of Otago in New Zealand with the Dean’s Award. He is also a postgraduate in International Relations at the University of Leicester, with his dissertation being on the external interference in Libya’s Civil War post-2014.

Nadja Berghoff – Programs and Communication Fellow at Sadeq Institute.

Anas El-Gomati – Director, Libya’s 1st think tank. Chief contributor Security & Governance.


Related Articles