US Census Data

Harrisburg vs Hershey

A side-by-side comparison of Harrisburg and Hershey: population, income, housing, and more.

Harrisburg and Hershey are places in Pennsylvania. This page compares them across population, income, housing, education, commuting, and how each has changed since 2019.

Harrisburg has the higher population (50,092 vs 14,334 in Hershey). Hershey has the higher median household income ($78,750 vs $47,783 in Harrisburg). Hershey has the higher median home value ($339,300 vs $121,000 in Harrisburg).

Population, income & housing

HarrisburgHershey
Population50,09214,334
Median age32.8 yrs45.2 yrs
Median household income$47,783$78,750
Median home value$121,000$339,300
Median gross rent$996$1,241
Housing units24,4965,791
Homeownership rate36.5%54.9%
Bachelor's degree or higher26.3%49.1%
Unemployment rate9.4%4.4%

Trends (ACS 5-year, 2019–2023)

HarrisburgHershey
Population49,209 → 50,092 (+1.8%)14,654 → 14,334 (-2.2%)
Median household income$39,685 → $47,783 (+20.4%)$69,688 → $78,750 (+13.0%)
Median home value$80,800 → $121,000 (+49.8%)$272,100 → $339,300 (+24.7%)
Median gross rent$856 → $996 (+16.4%)$1,058 → $1,241 (+17.3%)

Harrisburg

Population
49,20950,092
Median household income
$39,685$47,783
Median home value
$80,800$121,000
Median gross rent
$856$996

Hershey

Population
14,65414,334
Median household income
$69,688$78,750
Median home value
$272,100$339,300
Median gross rent
$1,058$1,241

Age & race/ethnicity

Age distribution (share)

HarrisburgHershey
Under 57.6%3.1%
5 to 1719.9%15.2%
18 to 248.9%10.0%
25 to 3417.6%12.9%
35 to 4412.8%8.7%
45 to 5410.5%16.7%
55 to 6411.0%14.7%
65 to 746.9%10.2%
75 and over4.7%8.6%

Race & ethnicity (share)

HarrisburgHershey
White (non-Hispanic)25.9%71.1%
Black or African American41.5%3.5%
American Indian & Alaska Native0.2%0.0%
Asian2.6%8.2%
Native Hawaiian & Pacific Islander0.1%0.0%
Some other race0.4%2.9%
Two or more races4.3%2.7%
Hispanic or Latino25.0%11.6%

Educational attainment (age 25+)

Share of adults 25+

HarrisburgHershey
No high school diploma14.5%10.5%
High school graduate32.6%16.3%
Some college or associate's26.6%24.1%
Bachelor's degree16.2%29.5%
Graduate or professional degree10.1%19.6%

Commute to work

How workers get to work (share)

HarrisburgHershey
Drove alone58.5%68.1%
Carpooled9.7%3.5%
Public transit5.6%0.5%
Walked9.3%4.6%
Bicycle0.2%0.8%
Worked from home13.8%21.7%
Other means2.8%0.9%

Housing

Units in structure (share)

HarrisburgHershey
1-unit, detached14.5%49.7%
1-unit, attached44.1%14.6%
2 to 4 units13.2%10.5%
5 to 19 units12.8%13.7%
20 or more units14.4%11.5%
Mobile home & other0.9%0.1%

Poverty & households

HarrisburgHershey
Poverty rate29.1%9.0%
Average household size2.232.25
Mean commute (minutes)2117
Median year structure built19471970

Full profiles

2

Related rankings

21