Britons living in Libya should leave the country immediately because of the "greater intensity of fighting," the Foreign and Commonwealth Office (FCO) has warned.
The department warned that violent clashes between armed groups are possible across the country, including in the country's capital Tripoli, particularly at night.
They said: "Fighting can break out in many places and at short notice. It can become serious quickly putting those in the area at risk. You should remain vigilant at all times."
They added: "Keep a low profile and try to limit travelling around as much as possible, particularly at night. There is a high threat from crime."
There are believed to be between 100 and 300 Britons in the north African country.
Tripoli International Airport was closed a fortnight ago following clashes between armed groups nearby, but any Britons remaining should use "commercial means" to leave, they said.
The British Embassy remains open but with reduced staff and a limited ability to provide consular assistance.
More top news
New research has found #Brexit was the most commonly occurring hashtag for abusive tweets.
Leader Paul Nuttall said: "We cannot be cowed or allow our way of life to be undermined by those who wish to do us harm."
Ouarzazate in Moroco is all about the movies and half the city's residents work in showbusiness.