The township is in eastern Cumberland County, bordered by the borough of Mechanicsburg to the north and York County to the south. Interstate 76, the Pennsylvania Turnpike, crosses the northern part of the township from east to west, while the U.S. Route 15 freeway crosses the township from northeast to southwest. Three highway interchanges provide access from US 15 to the township, while a fourth connects to Exit 236 on the Pennsylvania Turnpike. From the US 15/I-76 interchange it is northeast to Harrisburg, the state capital, and southwest to Gettysburg, both via US 15, while it is east to Philadelphia and west to Pittsburgh via the Turnpike.