York County · Pennsylvania

ZIP Code 17331

Hanover, PA · 56,443 residents

County
York County +1 more
City (USPS)
Hanover
Time zone
Eastern Time
Area code
223 and 717
Coordinates
39.7912° N, 76.9803° W
Land area
74.4 sq mi · 758 people/sq mi
77.2°W77.0°W76.8°W39.8°NZIP 17301ZIP 17304ZIP 17307ZIP 17311ZIP 17316ZIP 17320ZIP 17325ZIP 17327ZIP 17329ZIP 17340ZIP 17343ZIP 17344ZIP 17350ZIP 17353ZIP 17360ZIP 17362ZIP 17364ZIP 17372ZIP 17408ZIP 21053ZIP 21074ZIP 21102ZIP 21120ZIP 21157ZIP 21158ZIP 21727ZIP 217871732521102173272178717340211581736217360173501736421053173291740817301173315 miN
ZIP Code 17331 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 17331 in?

ZIP Code 17331 is mainly in York County, Pennsylvania, which covers 60% of its land. It also extends into Adams County (40%).

The Postal Service's default place name for 17331 is Hanover. By Census boundaries it covers Hanover (borough, 5% of the land) and Parkville (community, 4% of the land). The remaining 91% is unincorporated.

Population56,443±574
Median household income$79,488
Median home value$240,800
Median rent$1,198/mo
Median age42.0
Households23,100

What stands out in ZIP 17331

  • The share of adults with a bachelor's degree is 23.7%, 14% lower than York County (27.6%).
  • The median household income is $79,488, 6% lower than York County ($84,829).
  • The average commute is 28 minutes, 6% higher than York County (26 minutes).
  • Its average household size (2.43 people) is about the same as in York County.

People in ZIP 17331

Median age42.0
Under 1821.5%
65 and older19.8%
Born abroad4.1%
Moved here in the last year9.4%

Age and sex

MaleAgeFemale
2.2%80+3.3%
3.6%70–794.6%
5.7%60–697.1%
7.8%50–597.3%
5.3%40–495.9%
5.9%30–396.3%
6.2%20–295.6%
7.2%10–194.7%
5.6%0–95.6%
Share of all residents in each age group

Race and ethnicity

  • White84.6%
  • Hispanic or Latino7.5%
  • Two or more races3.4%
  • Black2.9%
  • Asian1.1%
  • Other0.2%
  • American Indian / Alaska Native0.1%
  • Pacific Islander0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

23,100 households, 2.43 people per household on average, 68.1% family households, and 25.7% people living alone.

Income in ZIP 17331

Median household income$79,488±$4,329
Per-capita income$39,956
Poverty rate8.5%
Income inequality (Gini)0.390 = equal, 1 = unequal

Median household income ranks 552nd of 1,529 ZIP Codes in Pennsylvania. Richest ZIP Codes in Pennsylvania

10%Under $25k
20%$25k–50k
17%$50k–75k
16%$75k–100k
21%$100k–150k
10%$150k–200k
7%$200k+
Households by annual income

Housing in ZIP 17331

Median home value$240,800
Median gross rent$1,198/mo
Housing units24,234
Median year built1977
Vacant4.7%

Owners and renters

  • Owner-occupied 76.4%
  • Renter-occupied 23.6%

Types of homes

  • Single-family homes 83.4%
  • 2–9 unit buildings 10.8%
  • 10+ unit buildings 3.7%
  • Mobile homes, RVs 2%

Work, commute and education

Mean commute28 minone way
Unemployment rate5.5%
Labor force participation66.8%age 16+
Broadband at home90.4%households

How workers get to work

  • Drove alone80%
  • Carpooled6.5%
  • Public transit0.1%
  • Walked1.4%
  • Bicycle0.4%
  • Worked from home10.3%

Education, adults 25+

  • High school or higher91.6%
  • Bachelor's or higher23.7%
  • Graduate or professional degree8.8%

How ZIP 17331 compares

ZIP 17331York CountyPennsylvaniaUnited States
Median household income$79,488$84,829$77,971$80,734
Per-capita income$39,956$41,601$44,355$44,673
Median home value$240,800$248,600$254,500$332,700
Median gross rent$1,198/mo$1,193/mo$1,209/mo$1,413/mo
Homeownership rate76.4%76.3%69.3%65.2%
Median age42.041.140.938.9
Bachelor's degree or higher23.7%27.6%35.2%35.7%
Poverty rate8.5%8.4%11.7%12.5%
Unemployment rate5.5%4.5%5.3%5.2%
Mean commute28 min26 min26 min26 min
Worked from home10.3%12.4%15.6%15.1%
Broadband at home90.4%90.3%89.7%91%
Foreign-born residents4.1%4.1%7.7%14.1%

ZIP Codes bordering 17331

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
17344Mc Sherrystown3,719$65,833$193,50033.6NW · 2.3 mi
17362Spring Grove14,730$98,702$292,10045.7NE · 7.1 mi
17329Glenville2,999$121,309$331,00046.0E · 7.1 mi
17301Abbottstown4,133$84,712$250,90042.4N · 7.2 mi
17340Littlestown11,405$90,030$298,00040.6W · 7.7 mi
17350New Oxford13,169$79,401$236,50044.3NW · 8.6 mi
21102Manchester12,162$135,069$392,80044.5SE · 9.8 mi
21158Westminster22,083$109,827$384,70041.6S · 9.9 mi
17325Gettysburg30,373$80,948$287,20042.5W · 13.3 mi

Cities and communities in 17331

Area codes for 17331

Hanover phone numbers use area codes 223 and 717. See every phone prefix, carrier and the local time on Hanover area codes at AreaCodeExplorer.

ZIP Code 17331: questions and answers

What county is ZIP Code 17331 in?
ZIP Code 17331 is mainly in York County, Pennsylvania, which covers 60% of its land. It also extends into Adams County (40%).
What city is ZIP Code 17331 in?
The Postal Service's default place name for 17331 is Hanover. By Census boundaries it covers Hanover (borough, 5% of the land) and Parkville (community, 4% of the land). The remaining 91% is unincorporated.
What is the population of ZIP Code 17331?
About 56,443 people live in ZIP Code 17331, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 17331 in?
ZIP Code 17331 is in the Eastern Time zone (America/New_York).
What is the median household income in 17331?
The median household income in ZIP Code 17331 is $79,488 (2020–2024 ACS), compared with $84,829 in York County and $77,971 in Pennsylvania.
Which ZIP Codes border 17331?
17344 (Mc Sherrystown), 17362 (Spring Grove), 17329 (Glenville), 17301 (Abbottstown), 17340 (Littlestown), 17350 (New Oxford), 21102 (Manchester), 21158 (Westminster), and 17325 (Gettysburg).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.