 According to the United States Census Bureau, the township has a total area of , all of it land.It is located along the northern boundary of York County in south-central Pennsylvania and surrounds the borough of Dillsburg.At the 2000 census there were 4,715 people, 1,686 households, and 1,414 families living in the township.