Algeria–Libya relations

Relations between Algeria and Libya have undergone significant changes over the past decade. The previous tensions between the revolutionary National Transitional Council (NTC) of Libya and the single-party autocracy of President Abdelaziz Bouteflika of Algeria are now part of history. Abdelaziz Bouteflika resigned in 2019 following widespread protests, and the NTC was succeeded by other governing bodies in Libya.

During Muammar Gaddafi's 42-year rule of Libya, bilateral relations were generally amicable. However, strong Libyan support for the Polisario Front in the Western Sahara until 1984, and similarly hardline positions on colonialism and Israel, facilitated 1970s Algerian relations with Libya. Libyan inclinations for full-scale political union obstructed formal political collaboration, as Algeria consistently backed away from such cooperation with its unpredictable neighbor. The Treaty of Oujda (1984) between Libya and Morocco, which represented a response to the Treaty of Fraternity and Concord (1983) between Algeria and Tunisia, temporarily aggravated Algeria-Libya relations by establishing a political divide in the region—Libya and Morocco on one side; and Algeria, Tunisia, and Mauritania on the other.

In 1988, Libya was invited to participate in the Inter-Maghrib commission responsible for developing the Arab Maghreb Union (UMA). The establishment of UMA in February 1989 marked the first formal political or economic collaboration between the two countries. Since then, both Algeria and Libya have experienced significant political changes. The current relationship between the two nations is shaped by ongoing efforts to stabilize the region and address common challenges, moving beyond past tensions to seek mutual benefits and regional stability.

Historical
The Senussi order, which ruled the Kingdom of Libya, has Algerian origin and tied heavily with Algerian identity.

During his reign Muammar Gaddafi had good relations with Algerian President Houari Boumédiène and met with him a lot.

Algerian Civil war
Gaddafi's Libya was accused by Algerian authorities of involvement at the height of Algerian Civil War (1991-2002) that caused a devastating war and the death of 200,000 Algerians. Libya, together with Iran, Saudi Arabia, Sudan and Morocco, had been involved in supporting the Islamist Armed Islamic Group of Algeria as well as other Islamist militant groups.

Libyan Revolution
During the Libyan Civil War, the anti-Gaddafi National Transitional Council (NTC) of Libya accused Algeria of supporting Gaddafi by allowing him to transfer military equipment and foreign fighters through Algerian territory.

On 8 May 2011, Sadek Bouguettaya, a parliamentary leader and member of the Central Committee of the ruling FLN party, expressed Algeria's unconditional support for Gaddafi while addressing Gaddafi's meeting of Libyan tribes in Tripoli. Later he explained during an interview to the Algerian newspaper Ech-Chourouk that his visit to Libya was for humanitarian purposes and that he was charged with this mission by Abdelaziz Belkhadem, the Secretary-General of the FLN and Minister. In early June 2011, the NTC began to soften its rhetoric. Ghoga, the NTC's vice chairman, agreed to an interview with Algerian daily Echorouk in which he said, "The Algerian and Libyan peoples are brothers. We are confident that our relations will be stronger in the coming days. We don't want to engage in conflicts with other countries especially with a brotherly country like Algeria. We also wish to see Algeria extend its support for the NTC very shortly."

Despite Ghoga's efforts to mend relations with Algeria, two and a half months later, opposition fighters stormed the Algerian Embassy in Tripoli during Operation Mermaid Dawn, looting and vandalising the building. It was unclear whether the vandals had orders to target the embassy. Algerian Foreign Minister Mourad Medelci complained to United Nations Secretary General Ban Ki-moon over the incident. On 24 August 2011, the Algerian Foreign Ministry again denied the allegations Algiers had offered support to Gaddafi during the war and demanded that the NTC recant on its previous accusations as a condition for the Algerian government to recognise the council.

However, when it emerged that Algeria was allegedly sheltering Gaddafi after he had fled following the NTC takeover of Tripoli, the NTC took a much harsher tone. On 29 August 2011, it said that Algeria sheltering Gaddafi or his family members would be viewed as an "act of aggression". In response, Libyan security forces closed the border with Algeria to prevent any more illicit crossings.

On 9 January 2022, Algeria opened a new consulate in Tripoli after eight years of absence.