Hampden is a town on the Penobscot River estuary in Penobscot County, Maine, United States. The population was 7,257 at the 2010 census. Hampden is part of the Bangor metropolitan statistical area.
The town was originally called Wheelersborough after its original settler, Benjamin Wheeler. It was incorporated on February 24, 1794, and named after the English patriot John Hampden.
During the War of 1812, on September 3, 1814, about 400 local militia under the command of Brigadier General John Blake of nearby Brewer attempted to hold off a superior force of British regulars at Hampden. The American line, however, collapsed before a charge and was quickly routed. The Americans suffered one casualty with eleven wounded, and the British lost two (one an officer). A civilian spectator was also killed. The British fleet, which under command of Sir John Coape Sherbrooke (then lieutenant governor of Nova Scotia) had recently captured Castine, looted Hampden and nearby Bangor. They were trying to capture the USS Adams, a frigate with 750 men which had fled up the Penobscot River and anchored at Hampden.