Allenstown is a town in Merrimack County, New Hampshire, United States. The population was 4,707 at the 2020 census, up from 4,322 at the 2010 census. Allenstown includes a portion of the village of Suncook. Just over one-half of the town's area is covered by Bear Brook State Park.