- Dunbar is a coastal town in East Lothian, Scotland. It is located on the south-east coast of Scotland, around 30 miles east of Edinburgh. The town has a population of approximately 8,200 people. Dunbar has a rich history dating back to the 7th century and is known for its picturesque coastline, historic buildings, and scenic landscapes. It was once a major port and trading center, and today it offers various outdoor activities, including walking trails, golf courses, and sandy beaches. Notable attractions in Dunbar include Dunbar Castle, John Muir's Birthplace, and the Dunbar Town House Museum and Gallery.