The town was named after the Very Rev James MacGregor by the Canadian Pacific Railway who named a railway station after him, during his visit with the Marquis of Lorne, around which the town grew. The Post office opened on July 1, 1883,