Dundarg Castle is a ruined castle about 2 kilometres (1.2 mi) north-northeast of New Aberdour, Aberdeenshire, Scotland, built within the ramparts of an earlier iron age promontory fort. It was described by W. Douglas Simpson as one of the nine castles of the Knuckle, referring to the rocky headland of north-east Aberdeenshire.
The site consists of a triangle of gently sloping ground flanked by steep slopes on all sides, linked to a flat-topped elongated promontory extending to the north east, surrounded by 20 metres (66 ft) high sandstone cliffs. Its name comes from the Gaelic dun dearg, meaning red fort or castle, referring to the colour of the sandstone.
The 6th century Book of Deer records the existence of a cathair or fortified place at Aberdour.
It was built in the thirteenth century by the Comyn family, and subsequently dismantled, probably by Robert the Bruce, in 1308. It was rebuilt in 1334 by Henry de Beaumont, but destroyed almost immediately, after a famous siege by Sir Andrew Moray. Evidence of this double destruction was confirmed by excavations during 1911-12 and in 1950-51 (led by W. Douglas Simpson) when many medieval objects were found.
The only substantial part of the castle remaining is the inner gatehouse, which survives to a height of about 18 feet (5.5 m). The upper part was rebuilt about the middle of the sixteenth century, probably following the Coastal Defence Commission of 1550, and there is some evidence that it was provided with gunloops at this time. The site was finally abandoned in the mid-17th century. A house was built on part of the site in 1938, reputedly by and for Wing Commander David Vaughan Carnegie, using stone from the former Aberdour Free Church.