The following is a list of notable former pupils of the Royal High School of Edinburgh, Scotland. Although the Royal High School long enjoyed a near monopoly on boys' education among the Edinburgh burgesses and county gentry, roll lists before the mid eighteenth century are incomplete. Consequently, attendance by the mathematician John Napier (1550–1617) and the philosopher David Hume (1711–1776) is unconfirmed and may be legend.