Dunbar (Scots [dʌnˈbaɾ]) is a town in East Lothian on the southeast coast of Scotland, approximately 28 miles (45 km) east of Edinburgh and 28 miles (45 km) from the English Border at Berwick-upon-Tweed.Dunbar is a former Royal Burgh and gave its name to an ecclesiastical and civil parish. The parish extends around 7½ miles east to west and is 3½ miles deep at greatest extent (12 x 5.5 kilometres) or 11¼ square miles (c.