Mechanicsburg, Pennsylvania

Mechanicsburg
Motto: 
"A good place to live since 1828"
Location of Mechanicsburg in Cumberland County, Pennsylvania.
Mechanicsburg
Location in Pennsylvania and the United States
Mechanicsburg
Mechanicsburg (the United States)
Coordinates: 40°12′44″N 77°00′22″W / 40.21222°N 77.00611°W / 40.21222; -77.00611
CountryUnited States
StatePennsylvania
CountyCumberland
Settled1806
Incorporated1828
Government
 • TypeBorough Council
 • MayorJack Ritter
 • Council PresidentKyle Miller
 • Council Vice PresidentJohn Anthony
 • Borough ManagerLayne Thompson
 • Borough SolicitorMichael Cassidy
Area
 • Total
2.41 sq mi (6.25 km2)
 • Land2.41 sq mi (6.24 km2)
 • Water0 sq mi (0.00 km2)
Elevation
446 ft (136 m)
Population
 (2020)
 • Total
9,311
 • Density3,862.7/sq mi (1,491.39/km2)
Time zoneUTC-5 (Eastern (EST))
 • Summer (DST)UTC-4 (EDT)
ZIP Codes
17055, 17050
Area code717
FIPS code42-48376
Websitewww.mechanicsburgpa.org

Mechanicsburg is a borough in Cumberland County, Pennsylvania, United States. The borough is eight miles (13 km) west of Harrisburg. It is part of the Harrisburg–Carlisle metropolitan statistical area. As of the 2020 census, the population was 9,311, up from 8,981 recorded at the 2010 census.