Honorary consulates are omitted from this listing.
Under the rule of Muammar Gaddafi, Libya broke practice with almost all other countries in 1979 by renaming their embassies "People's Bureaus", with the diplomatic staff known as a local "revolutionary committee".
One was led by Gaddafi and the other was the National Transitional Council.
Some countries had recognised the NTC as the governing authority of Libya and Libyan ambassadors to those countries were nominated by the NTC.
The NTC was awarded Libya's seat at the United Nations in September 2011 following a vote by the General Assembly.