Overseas British passport applications
You can’t apply for a British passport from Libya.
You can apply in a neighbouring country of your choice - pick one from the list of countries and follow the application process for that country.
If you need more information read the Foreign and Commonwealth Office travel advice.