York is located at 34°59'39" North, 81°14'31" West (34.994167, -81.242222).
According to the United States Census Bureau, the city has a total area of 7.94 mi2 (20.56 km2). 7.87 mi2 (20.38 km2) of it is land and 0.07 mi2 (0.17 km2) of it is covered by water. The total area is 0.84% water.
York is located in the Eastern Standard Time (EST) timezone, GMT-05:00. It observes Daylight Saving Time (DST).