William Burton MacDiarmid (23 May 1875 – 13 May 1947) was a Liberal party member of the House of Commons of Canada.
MacDiarmid graduated from McGill University where he received his medical degree (MDCM).
He became a Health Officer in the communities of Maxville and Roxborough Township.
MacDiarmid resigned on 22 June 1945 to allow William Lyon Mackenzie King to campaign for and hold the riding in a by-election after King had suffered personal defeat in the general election in his riding of Prince Albert.
MacDiarmid died unexpectedly on 13 May 1947 at his residence in Maxville due to heart failure.