Sir Stair Agnew KCB FRSE (6 December 1831 – 12 July 1916) was a Scottish public official. He served as Registrar General for Scotland.