Pennsylvania · Census place 4287048
York, Pennsylvania
York is a city in York County, Pennsylvania with an estimated 45,241 residents on July 1, 2024. It is the 10th largest of 597 incorporated places of 1,000+ people in the state.
- Population 2024
- 45,241
- #10 of 597 in Pennsylvania
- Change since 2020
- +1.0%
- +456 people
- Land area
- 5.3 sq mi
- + 0.05 sq mi water
- Density
- 8,552 / sq mi
- State median 3,911
Measure from here
Tools and pages that start from York
York population, 2020 to 2024
York added 456 residents from July 2020 to July 2024, a change of +1.0%. In the latest year it moved by +232. Among 193 Pennsylvania places of 5,000 or more, that growth ranks 66th; the median place changed by +0.2%. The median place of 5,000+ in Pennsylvania has 8,364 people, so York is 5.4 times that size.
York covers 5.29 square miles of land and 0.05 of water, for 8,552 people per square mile of land. The median Pennsylvania place of 5,000+ has 3,911, so York is denser than the typical town.
What county York is in
All of York's residents live in York County, which had 471,240 residents in 2024. York holds 9.6% of the county's population. The shaded shape is on the map above; dots mark the eight nearest places.
ZIP codes in York
3 ZIP Code Tabulation Areas (ZCTAs) overlap York by at least 10% of the ZCTA's or the city's land: 17401, 17403, 17404. ZCTAs are Census approximations of USPS ZIP code delivery areas. The list comes from the 2020 ZCTA to place relationship file, so a city that annexed land after 2020 may reach into ZIP codes not listed here.
Where York is
The Census internal point of York is at 39.964800, -76.731800. Harrisburg, the capital, is 22.2 miles NNW in a straight line. The nearest larger place is Harrisburg, PA (50,649 people), 23.0 miles away. The nearest city of 100,000 or more is Baltimore, MD, 46.4 miles away.
Internal point
- Decimal
- 39.964800, -76.731800
- DMS
- 39°57'53.28"N 76°43'54.48"W
- UTM
- 18N 352094.2E 4425286.4N
- Geohash
- dr17mgmeg
- Plus code
- 87F5X779+W7
Daylight in York
At 39.96° N, York gets about 15 h 01 min of daylight around the June solstice and 9 h 20 min around the December solstice, a swing of 5 h 41 min. Figures are sunrise to sunset from the SunCalc model for June 21 and December 21, 2026.
Places near York
The eight nearest incorporated places of 1,000+ in Pennsylvania, measured between internal points. The closest is North York, 0.9 miles away, with 2,268 people.
Questions people ask
What is the population of York, PA?
45,241 on July 1, 2024, in the Census Vintage 2024 estimates. That is up 456 (1.0%) from 44,785 in July 2020.
What county is York in?
York County. All of its residents live in that county.
What ZIP codes cover York?
3 ZIP Code Tabulation Areas overlap it by at least 10% of either area: 17401, 17403, 17404.
How far is York from Harrisburg?
22.2 miles (35.7 km) in a straight line, heading NNW from York.
What is the nearest larger city to York?
Harrisburg, PA, with 50,649 residents, 23.0 miles away between internal points.
Sources and data as of
Data as of: Census Vintage 2024 subcounty estimates (July 1, 2024), 2024 Gazetteer places, 2020 ZCTA to place relationship file.
- 01Census Vintage 2024 subcounty population estimates
- 02Census 2024 Gazetteer, places
- 03Census 2020 ZCTA to place relationship file
- 04Census 2024 cartographic boundary file, counties (1:5,000,000)
How every number is computed: methodology. Spotted a wrong figure? Report an error.