
The Murray, later MacGregor of MacGregor Baronetcy, of Lanrick in the County of Perth, is a title in the Baronetage of Great Britain. It was created on 3 July 1795 for John Murray, an army officer of the East India Company. He was a member of the Scottish MacGregor clan, and since his time the MacGregors of MacGregor have been the Chiefs of Clan Gregor.
The 2nd Baronet was a colonial administrator who served as Governor of Dominica, Antigua, Barbados and Trinidad. The 6th Baronet was a Brigadier in the Scots Guards.
This branch of the family had been forbidden to bear their own surname by James VI; the ban was revoked in 1661 by King Charles II but restored in 1693, during the reign of William and Mary. It was repealed in 1774. It was not, however, until 1822 that the family obtained a Royal licence to use the family surname.

The heir presumptive is his brother, Ninian Hubert Alexander MacGregor (b. 1961).