The castle was held by the Earls of Dunbar, who were among the most powerful noble families in medieval Scotland.
In 1338, the castle underwent a famous siege where it was successfully defended for five months by 'Black Agnes', Countess of Dunbar, against the Earl of Salisbury.
The masonry includes remnants of a distinctive battery built to accommodate gunpowder artillery in the 16th century.
The town of Dunbar was a significant port, and the castle served as the primary protector of the harbor entrance.
The castle’s position on volcanic rock made it nearly impregnable from the sea, forcing attackers to rely on long blockades.
The red sandstone of the ruins is part of the Devonian Old Red Sandstone sequence found throughout the region.
Dunbar Castle is a ruined 14th-century fortress situated on a rocky promontory overlooking the North Sea in East Lothian, Scotland. The site served as a vital strategic outpost during the Wars of Scottish Independence due to its position guarding the main route between Edinburgh and the English border. Much of the existing structure dates to the mid-1300s, though archaeological evidence suggests defensive fortifications existed here as early as the 7th century. Mary, Queen of Scots, famously stayed at the castle in 1566 and 1567, notably seeking refuge here after the murder of David Rizzio. The castle was intentionally slighted and rendered unusable by the Scottish Parliament in 1567 to prevent it from being used by English forces. The surviving ruins are constructed from local red sandstone, which is highly susceptible to coastal erosion. The site currently remains fenced off for public safety due to the structural instability of the crumbling masonry.
From the opposite side of Victoria Harbour looking toward the promontory to capture the ruins against the sea.
View the ruins from the public path along the Dunbar Harbour wall for the safest and best perspective.
Read the historical information plaques located near the harbor entrance for context on the castle's military significance.
Combine your visit with a walk along the John Muir Way which passes directly by the harbor.
Do not attempt to climb the fences or access the interior of the ruins, as the structure is unstable and dangerous.
The site is permanently closed to public entry due to safety hazards, but visible from the surrounding perimeter paths.