 David Murray was educated at Beverley School, and then at Christ Church, Oxford and Lincoln's Inn, where he was called to the bar in 1773.In 1783 he married Elizabeth Harley, daughter and co-heir of Thomas Harley, a younger son of the 3rd Earl of Oxford.They had three daughters – Elizabeth, Maria-Clara, Louisa – and one son, David Rodney.