York, Pennsylvania

York, Pennsylvania
Nickname: 
The White Rose City
Interactive map of York, Pennsylvania
York
York
Coordinates: 39°57′46″N 76°43′41″W / 39.96278°N 76.72806°W / 39.96278; -76.72806
Country United States
State Pennsylvania
CountyYork
Laid out1741
 – BoroughSeptember 24, 1787
 – CityJanuary 11, 1887
Government
 • MayorSandie Walker (D)
Area
 • City
5.34 sq mi (13.84 km2)
 • Land5.29 sq mi (13.71 km2)
 • Water0.050 sq mi (0.13 km2)
Elevation
367 ft (112 m)
Population
 (2020)
 • City
44,800
 • Density8,380/sq mi (3,237/km2)
 • Urban
238,549 (US: 168th)
 • Urban density2,109.6/sq mi (814.5/km2)
 • Metro
456,449 (US: 121st)
Time zoneUTC−5 (EST)
 • Summer (DST)UTC−4 (EDT)
ZIP Codes
17401, 17403–17405
Area codes717 and 223
FIPS code42-87048
GNIS feature ID1215771
Websitewww.yorkcity.org

York is a city in York County, Pennsylvania, United States, and its county seat. Located in South Central Pennsylvania, the city's population was 44,800 at the time of the 2020 census, making it the tenth-most populous city in Pennsylvania. The city has an urban area population of 238,549 and has a metropolitan area population of 456,449.

Founded in 1741, York served as the temporary base for the Continental Congress from September 1777 to June 1778, during which the Articles of Confederation were drafted. It is the largest city in the York–Hanover metropolitan area, which is also included in the larger Harrisburg–York–Lebanon combined statistical area of the Susquehanna Valley.