Hamm was born on March 10, 1971 in St. Louis, Missouri. He studied at the University of Missouri. Hamm is partners with Jennifer Westfeldt since 1997 until 2015. Hamm and his partner identify as Democrats.