Hampden Township is the largest municipality by population in Cumberland County, Pennsylvania, United States. The population was 28,044 at the 2010 census, up from 24,135 at the 2000 census. The Johannes Eberly House was added to the National Register of Historic Places in 1973.