Hampden is a town in Hampden County, Massachusetts, United States. The population was 5,139 at the 2010 census. It is part of the Springfield, Massachusetts Metropolitan Statistical Area. The namesake of Hampden is John Hampden, an English patriot.