On 20 June 1771, Farquhar was married to Anne ( Stevenson) Harvie, a daughter of Thomas Stevenson and widow of Dr. Thomas Harvie. Together, they were the parents of: Farquhar died in London in March 1819 and was buried at
St Martin-in-the-Fields in
Westminster. His baronetcy passed to his eldest son, Sir Thomas Harvie Farquhar, 2nd Baronet, although it was his second son
Robert Townsend Farquhar who was most successful, becoming the governor of
Penang and
Mauritius and, subsequently, a Member of Parliament. In 1821 he was awarded a baronetcy separate to that of his father. Although Sir Walter Farquhar was a very successful physician of his day, he did not publish or develop any medical knowledge and thus he had no lasting impact on British medicine.
Descendants Through is eldest son, he was a grandfather of
Sir Walter Farquhar, 3rd Baronet,
High Sheriff of Surrey who married Lady Mary Octavia Somerset (daughter of
Henry Somerset, 6th Duke of Beaufort and
Lady Charlotte Leveson-Gower). Through his second son Robert, he was a grandfather of
Sir Walter Townsend-Farquhar, 2nd Baronet, MP for
Hertford. Through his daughter Charity, he was a grandfather of
Walter Kerr Hamilton and
Edward William Terrick Hamilton. ==References==