Thomas Hastings (15 October 1784 – 15 May 1872) was an American composer, primarily an author of hymn tunes of which the best known is "Toplady" for the hymn Rock of Ages. He was born to Dr. Seth and Eunice (Parmele) Hastings in Washington, Connecticut. He was a 3rd great-grandson of Thomas Hastings who came from the East Anglia region of England to the Massachusetts Bay Colony in 1634.