William Schaw (c. 1550–1602) was Master of Works to James VI of Scotland for building castles and palaces, and is claimed to have been an important figure in the development of Freemasonry in Scotland.