Andrew Aytoun (died 1547), was a Scottish soldier and engineer, and captain of Stirling Castle.
Aytoun worked for James IV of Scotland, whose reign lasted from 1488 until his death at the battle of Flodden in 1513. He was regarded as a member of the king's household and bought livery clothes in "Rissilis" black.
Career
He was Chamberlain of the royal estates in Stirlingshire and Strathearn. He was appointed Baillie of Stirlingshire and Keeper of Stirling Castle in February 1501. He was also given a tack of lands at Inveralloun and the West part of Tillicoultry.
From 1497 to 1508 he was master of building work at Stirling Castle, receiving £1,180 Scots in March 1505, and £445 in August 1506 with another £60 for hauling timber in October. The "King's Old Building" at Stirling Castle was completed by Walter Merlioun. The fore-work or gateway was also built at this time, by master masons John Lockhart and John Yorkstone, who managed their own budgets. Lockhart was a valued servant of James IV and had a royal pension of £20 in 1508.