Sir Thomas Hanmer, 4th Baronet (24 September 1677 – 7 May 1746) was Speaker of the House of Commons from 1714 to 1715, discharging the duties of the office with conspicuous impartiality. His second marriage was the subject of much gossip as his wife eloped wth his cousin Thomas Hervey and lived openly with him for the rest of her days. He is, however, perhaps best remembered as being one of the early editors of the works of William Shakespeare.
He was the son of William Hanmer (b. c1648 in Angers, France, d. c1678?, the son by his second marriage of Sir Thomas Hanmer, 2nd Baronet), and of Peregrine, daughter and co-heiress of Sir Henry North, 1st Baronet, of Mildenhall, Sussex.
He was born between 10 and 11 p.m. in the house of his grandfather Sir Thomas Hanmer, 2nd Baronet, at Bettisfield Park, near Wrexham, Clwyd, Wales (formerly Flintshire). His father William seems to have died early, and Thomas was educated in Bury St Edmunds, at Westminster School and Christ Church, Oxford, matriculating on 17 October 1693, age 17. His tutor was Robert Freind, D.D., who was later under-master at Westminster in 1699, and headmaster 1711-1733. Hanmer gained his LL.D., however, Com. Reg. from Cambridge University in 1705.
He succeeded as 4th Baronet in 1701 when his uncle, the 3rd Baronet Sir John Hanmer, died in a duel leaving no issue.