He met Government of National Unity chief Fayez al-Sarraj and welcomed the latter's meeting earlier this week in Abu Dhabi.
He met Government of National Unity chief Fayez al-Sarraj and welcomed the latter's meeting earlier this week in Abu Dhabi with military strongman Field Marshal Khalifa Haftar, who does not recognise the GNA's legitimacy.
Johnson "underlined the importance of Libya's legitimate political institutions working together to break the political deadlock which is prolonging instability and the suffering of the Libyan people" his office said.
"Libya's political and social groups need to seize the momentum offered by the welcome meeting... to set out a path towards Libyan reconciliation and unity," the foreign minister was quoted as saying after his brief visit.
"Establishing effective governance is also the key to defeating terrorism in Libya and countering illegal migration," he said.
On Wednesday night, Johnson met in Tunis with his Tunisian counterpart Khemaies Jhinaoui and Tourism Minister Salma Elloumi on counterterrorism cooperation and boosting trade.
Tunisia's foreign ministry said London was asked to review its advise for British nationals to avoid travel to the country, in place since a 2015 jihadist attack on a beach in which 38 tourists were killed, 30 of them British.
Tunis, "thanks to the cooperation and security coordination with its partners, especially Great Britain, has the same degree of security as the largest European capitals", the Tunisian foreign minister said.
Before the beach attack, more than 400,000 British tourists visited Tunisia annually. But last year, just 20,000 British visitors were recorded, official Tunisian figures show.