New Hampshire voted for the Democratic candidate, Martin Van Buren, over Whig candidate William Henry Harrison. Van Buren won New Hampshire by a margin of 50.02%. As of 2020, this remains the strongest ever performance by any presidential candidate in New Hampshire since the creation of the modern Democratic party in 1828.