He was the only son of John Wharton by his wife Elizabeth, daughter of Roger Hodson of Fountains Abbey, and was born at Winston-on-Tees, county Durham, on 31 August 1614. He was admitted at Pembroke College, Cambridge, on 4 July 1638, and matriculated two days later. He afterwards migrated to Trinity College, Oxford, where he acted for some time as tutor to John Scrope, natural son of Emanuel Scrope, 1st Earl of Sunderland. In 1642 he went to Bolton, where he remained three years studying; and then, having decided upon his future profession, removed to London and studied medicine under John Bathurst In 1646 he returned to Oxford, and was created M.D. on 7 May 1647. He was entered as a candidate of the College of Physicians on 25 January 1648, chosen fellow on 23 December 1650, incorporated at Cambridge on his doctor's degree in 1652, and held the post of censor of the Royal College of Physicians in 1658, 1661, 1666, 1667, 1668, and 1673. He obtained the appointment of physician to St. Thomas's Hospital on 20 November 1659, and retained it till his death in 1673. Wharton was one of the very few physicians who remained at his post in London during the whole of the outbreak of the plague of 1665. His services were recognised by a promise of the first vacant appointment of physician in ordinary to the king. When, however, a vacancy occurred and he applied for the fulfilment of the promise, he was put off with a grant of honourable augmentation to his paternal arms, for which he had to pay Sir William Dugdale. Wharton died at his house in Aldersgate Street on 15 November 1673, and was buried on the 20th in the church of St. Michael Bassishaw in Basinghall Street. He married Jane, daughter of William Ashbridge of London, by whom he had three sons: Thomas, father of George Wharton, Charles, and William; the last two died young. His wife predeceased him on 20 July 1669, and was buried at St. Michael Bassishaw on the 23rd.
Work
Wharton described the glands more accurately than had previously been done, and made researches into their nature and use, relying on dissection and experiment. He was the discoverer of the duct of the sub-mandibulary gland for the conveyance of the saliva into the mouth, which bears his name. He made a special study of the minute anatomy of the pancreas. William Oughtred, in the epistle to his Clavis Mathematicae, speaks of Wharton's proficiency; and Izaak Walton, in his Compleat Angler, expresses indebtedness to Wharton, and calls him a friend. He wrote four English verses under a fanciful engraving prefixed to a translation by Elias Ashmole, entitled Arcanum, or the Grand Secret of Hermetic Philosophy, and published in his Theatrum Chemicum Britannicum. Wharton and Bathurst had visited Arthur Dee for Ashmole. Ashmole and Wharton worked together on the catalogue of the Musaeum Tradescantianum, printed in 1650, stemming from a visit they paid John Tradescant the younger in 1650. Their friendship was troubled, but reconciliation took place before Wharton's death. Wharton published Adenographia; sive glandularum totius corporis descriptio, London, 1656 ; Amsterdam, 1659; Oberwesel, 1664, 1671,1675; Düsseldorf, 1730. Large portions of the work were printed in Le Clerc and Mangot's Bibliotheca Anatomica, Geneva, 1699. Hieronymus Barbatus in his Dissertatio Elegantissima de Sanguine, Paris, 1667, makes use of Wharton's work.