Mechanicsburg is a city located in Pennsylvania. With a 2020 population of 8,980, it is the 77th largest city in Pennsylvania and the 3312th largest city in the United States. Mechanicsburg is currently declining at a rate of -0.07% annually and its population has decreased by -0.01% since the most recent census, which recorded a population of 8,981 in 2010. Mechanicsburg reached it's highest population of 9,487 in 1980. Spanning over 2 miles, Mechanicsburg has a population density of 3,725 people per square mile.
The average household income in Mechanicsburg is $69,838 with a poverty rate of 6.94%. The median rental costs in recent years comes to $902 per month, and the median house value is $171,500. The median age in Mechanicsburg is 42.1 years, 41 years for males, and 43 years for females. For every 100 females there are 105.9 males.