Ayton Castle is located to the east of Ayton in the Scottish Borders. It is 9 kilometres (5.6 mi) north-west of Berwick upon Tweed, in the former county of Berwickshire. Built around a medieval tower house, the present castle dates largely from the 19th century. Ayton Castle is the caput of the feudal barony of Ayton. The castle is protected as a category A listed building, and the grounds are included in the Inventory of Gardens and Designed Landscapes in Scotland, the national listing of significant parks and gardens.[2]