Dunbar (Scottish Gaelic: Dùn Barra) is a city on the southeast coast of Scotland, which is located in the Council Area East Lothian. It is located about 48 km from Edinburgh and 45 km from Berwick-upon-Tweed. The town has 8,486 inhabitants (elevation 2011) and is the birthplace desschottisch-American polymath John Muir.