Population by year
Census Bureau population estimates, newest first. The last row is the American Community Survey 5-year count.
| Year | Population | Source |
|---|---|---|
| 2025 | 45,342 | Census Population Estimates, vintage 2025 |
| 2024 | 45,054 | Census Population Estimates, vintage 2025 |
| 2023 | 44,974 | Census Population Estimates, vintage 2025 |
| 2022 | 44,859 | Census Population Estimates, vintage 2025 |
| 2021 | 44,845 | Census Population Estimates, vintage 2025 |
| 2020 | 44,789 | Census Population Estimates, vintage 2025 |
| 2020–2024 | 44,938 | ACS 5-year B01003, 2020 to 2024 estimates |
Change since 2020 is the Census Bureau figure from the 2020 estimates base to the latest estimate. It can differ from the gap between the yearly totals, which are the published estimates for those years.
Age, households and education
Only the figures published for York. A row is left out when this release does not have it.
| Measure | York | Source |
|---|---|---|
| Median age | 34.3 | ACS 5-year B01002, 2020 to 2024 estimates |
| Average household size | 2.44 | ACS 5-year B25010, 2020 to 2024 estimates |
| Bachelor's degree or higher | 17.5% | ACS 5-year B15003, 2020 to 2024 estimates |
| High school or higher | 82.3% | ACS 5-year B15003, 2020 to 2024 estimates |
Rank in Pennsylvania
Places in Pennsylvania with a published population, largest first. The latest population estimate is used when the Census Bureau publishes one, and the ACS count otherwise.
York ranks 11th of 1,351 places in Pennsylvania by population, with 45,342 residents in 2025.
Similar-size cities nearby
The 5 places within 400 miles that best match York when straight-line distance and population are weighed together.
- Harrisburg, PA 50,522 23 mi
- Lancaster, PA 58,366 23 mi
- Odenton, MD 45,002 62 mi
- Bel Air South, MD 58,137 39 mi
- Towson, MD 58,679 40 mi
Common questions
What is the population of York?
York, PA had 45,342 residents in 2025, up 1.2% since 2020 (Census Population Estimates, vintage 2025).
Is York growing?
Yes. York is growing. York had 45,342 residents in 2025, up 1.2% since 2020. That is higher than the typical place in Pennsylvania (down 0.3%) and about the same as the typical place in the United States (up 1.2%).
What is the median age in York?
The median age in York, PA is 34.3 years (ACS 5-year B01002, 2020 to 2024 estimates).