 He was educated at the High School in Edinburgh.In 1731 he began his medical studies as an apprentice of George Langlands, a fellow of the Incorporation of Surgeons which preceded the Royal College of Surgeons of Edinburgh.In 1739, he entered the Navy as a surgeon's mate, serving in the Mediterranean, off the coast of West Africa and in the West Indies.