William Peter MacGregor (1853 – 24 February 1899) was a Scottish-born Australian politician.
His parents were Andrew MacGregor and Mary Dove, and he arrived in New South Wales around 1878, settling in Broken Hill.
He ran a station near Silverton, and became involved in local mining as a shareholder and businessman.
He was chairman of directors of The Broken Hill Proprietary Company Limited at the time of the 1892 Broken Hill miners' strike.
[1] In 1885 he was elected to the New South Wales Legislative Assembly as the member for Wentworth.