Taking his seat on January 27, 1797, Hunter served in the U.S. Senate until November 26, 1798, when he resigned and returned to his agriculture pursuits. He served as a presidential elector for the George Washington–John Adams ticket in 1792 and for the Thomas Jefferson–Aaron Burr ticket in 1800.