William Robinson Pirie (1804–1885) was a Scottish minister who served as Principal of Aberdeen University. He served as Moderator of the General Assembly of the Church of Scotland in 1864, the highest position in the Church of Scotland. He actively campaigned for the cessation of the link between landowners and the church, generally termed “patronage” which officially ceased in UK in 1874.