He was the father to
James Hamilton, the physician, and the uncle to
Robert Hamilton, the economist. In March 1745 he married Jean Hay (1714–1801) daughter of John Hay of Haystoun. Their daughter, Grizel Hamilton, married the eminent Edinburgh surgeon,
Benjamin Bell. Their son Gavin Hamilton
FRSE (1755–1829) was a surgeon who spent many years in
India. A second son Robert Hamilton (1749–1835) was also a surgeon and was also present at the founding of the
Royal Society of Edinburgh in 1783, and serving as President of the
Royal College of Physicians of Edinburgh from 1792 to 1794. ==References==