James Hannay (c.1595 – 1661) was a Scottish clergyman who served as Dean of St Giles Cathedral. He is best remembered as the unfortunate clergyman struck on the head by a stool thrown by Jenny Geddes after reading from the English Book of Common Prayer.