James Gordon MacGregor, FRS FRSE LLD (31 March 1852 in Halifax, Colony of Nova Scotia, British North America – 21 May 1913 in Edinburgh) was a Canadian physicist. He was described as "brilliant, energetic, nervous, impatient", and not suffering fools gladly.