Joseph A. Foster (born June 10, 1959) is an American politician who served as the 29th Attorney General of New Hampshire from 2013 to 2017. He was formerly a Democratic member of the New Hampshire Senate, representing the 13th district from 2002 until 2008 and served as the State Senate Majority Leader in 2007 and 2008. Previously he was a member of the New Hampshire House of Representatives from 1994 through 1998.