City in York County, Pennsylvania

York, Pennsylvania

45,342 residents · 3 ZIP Codes

Population
45,342 ▲ 1.2% since 2020 (2025 est.)
Rank in state
11th largest of 1,352 places
Land area
5.3 sq mi · 8,568 people/sq mi
Time zone
Eastern Time
ZIP Codes
17401, 17403, and 17404
Area code
223 and 717
76.76°W76.74°W76.72°W76.70°W39.94°N39.96°N39.98°N1740417403174010.5 miN
Median household income
  • under $75k
  • $75k–$79k
  • $79k+
York city limits (outlined) over the ZIP Codes that serve it.

What county is York in?

York is in York County, Pennsylvania.

What stands out in York

  • The share of residents born abroad is 11.1%, 2.7× the York County (4.1%).
  • The poverty rate is 21.1%, 2.5× the York County (8.4%).
  • The median home value is $119,700, 52% lower than York County ($248,600).
  • The median household income is $48,420, 43% lower than York County ($84,829).

ZIP Codes in York

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
17401York18,570$42,826$104,40031.498% of ZIP
17403York40,287$75,384$220,50038.610% of ZIP
17404York39,374$78,506$195,80039.69% of ZIP

PO Box and unique ZIP Codes

People in York

Median age34.3
Under 1823.9%
65 and older13.1%
Born abroad11.1%
Moved here in the last year16.3%

Age and sex

MaleAgeFemale
0.7%80+1.8%
3.0%70–793.0%
4.8%60–695.1%
5.3%50–596.3%
6.3%40–496.7%
6.3%30–396.6%
7.6%20–299.5%
7.5%10–196.3%
8.3%0–94.9%
Share of all residents in each age group

Race and ethnicity

  • Hispanic or Latino36.6%
  • White33.6%
  • Black24.1%
  • Two or more races4.2%
  • Asian1%
  • Other0.6%

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

Households

17,893 households, 2.44 people per household on average, 54.9% family households, and 37.8% people living alone.

Income in York

Median household income$48,420±$4,892
Per-capita income$26,308
Poverty rate21.1%
Income inequality (Gini)0.440 = equal, 1 = unequal
25%Under $25k
27%$25k–50k
17%$50k–75k
14%$75k–100k
12%$100k–150k
4%$150k–200k
2%$200k+
Households by annual income

Housing in York

Median home value$119,700
Median gross rent$1,014/mo
Housing units19,505
Median year built1941
Vacant8.3%

Owners and renters

  • Owner-occupied 43.7%
  • Renter-occupied 56.3%

Types of homes

  • Single-family homes 62.3%
  • 2–9 unit buildings 25%
  • 10+ unit buildings 12.3%
  • Mobile homes, RVs 0.4%

Work, commute and education

Mean commute23 minone way
Unemployment rate10.7%
Labor force participation66%age 16+
Broadband at home85.2%households

How workers get to work

  • Drove alone65.2%
  • Carpooled12.1%
  • Public transit4.4%
  • Walked5.2%
  • Bicycle0.6%
  • Worked from home10.7%

Education, adults 25+

  • High school or higher82.3%
  • Bachelor's or higher17.5%
  • Graduate or professional degree5.8%

How York compares

YorkYork CountyPennsylvaniaUnited States
Median household income$48,420$84,829$77,971$80,734
Per-capita income$26,308$41,601$44,355$44,673
Median home value$119,700$248,600$254,500$332,700
Median gross rent$1,014/mo$1,193/mo$1,209/mo$1,413/mo
Homeownership rate43.7%76.3%69.3%65.2%
Median age34.341.140.938.9
Bachelor's degree or higher17.5%27.6%35.2%35.7%
Poverty rate21.1%8.4%11.7%12.5%
Unemployment rate10.7%4.5%5.3%5.2%
Mean commute23 min26 min26 min26 min
Worked from home10.7%12.4%15.6%15.1%
Broadband at home85.2%90.3%89.7%91%
Foreign-born residents11.1%4.1%7.7%14.1%

Places near York

Area codes in York

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

York, PA: questions and answers

What county is York, PA in?
York is in York County, Pennsylvania.
What ZIP Codes are in York?
York is served by 3 residential ZIP Codes: 17401, 17403, and 17404. PO Box ZIP Codes: 17405.
What is the population of York?
The Census Bureau estimates 45,342 residents in York in 2025.
What time zone is York in?
York is in the Eastern Time zone (America/New_York).
What is the area code for York?
York uses area codes 223 and 717.

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.