William Guild (1586–1657) was a Scottish minister, academic and theological writer.
The son of Matthew Guild, a wealthy armourer of Aberdeen, he was born at Aberdeen, and was educated at Marischal College. He received licence to preach in 1605, and in 1608 was ordained minister of the parish of King Edward in his native county. Two years later his wealth was increased by his marriage with Katherine Rolland or Rowen of Disblair, Aberdeenshire. In 1617, during the visit of James I to his ancestral kingdom, Guild was in Edinburgh, and was a member of the assembly which met in the music school of that city, and protested for the liberties of the kirk; the temper of the king was thought to make it dangerous to sign the protestation, but Guild was one of the fifty-five who subscribed. While in Edinburgh he made the acquaintance of Bishop Lancelot Andrewes, then with the king, and to him (in 1620) he dedicated his best-known work, Moses Unvailed.
He was made a chaplain to Charles I. Soon afterwards he received the degree of D.D., then almost unknown in Scotland. He was translated to the second charge at Aberdeen in 1631, where he joined the clergy in supporting episcopacy, and in 1635 he was one of the preachers at the funeral of Bishop Patrick Forbes, his diocesan. The National Covenant was viewed at Aberdeen with disfavour, and the commissioners sent to press its acceptance on the city were met by the Aberdeen Doctors for the university, and the town ministers, with a series of questions disputing its lawfulness. Guild signed these questions, but soon subscribed the Covenant, though with three limitations: he would not condemn the Articles of Perth, though agreeing for the peace of the church to forbear the practice of them; he would not condemn episcopal government absolutely; and he reserved his duty to the king.
Guild went as commissioner to the Glasgow assembly of 1638, which deposed the Scottish bishops. In March 1640 an army approached Aberdeen to enforce unconditional subscription of the Covenant. Guild for a time took refuge in Holland, but soon returned, and administered the communion according to the presbyterian form on 3 November. In August 1640 the covenanters expelled Dr. William Leslie, and appointed Guild principal of King's College, Aberdeen, in preference to Robert Baillie. He retired from his position as minister, preaching for the last time on 27 June 1641. He helped in the dismantling of the bishop's palace at Old Aberdeen and the purging of the cathedral and the college chapel of ornaments; but Andrew Cant, then all-powerful at Aberdeen, thought him lukewarm, and at the visitation of King's College by Oliver Cromwell's military commissioners in 1651 he was deprived.