Thomas was the second son of Gabriel Hesketh of Aughton in the county of Lancashire, and Jane, daughter of Sir Henry Halsall. He was educated at Cambridge and became a lawyer and Member of Parliament.