Known as the “White Rose City” and briefly the capital of the fledgling United States during the Continental Congress, York is a historic manufacturing hub in south-central Pennsylvania. It shares its area codes with Harrisburg and Lancaster. This guide covers York’s 717 and 223 codes, the required 10-digit dialing, major ZIP codes, and the scam calls residents should watch for.

York Area Codes at a Glance

DetailInformation
Primary Area Code(s)717
Overlay Area Code(s)223
Time ZoneEastern Time (ET) – EST / EDT
Major CountyYork County
Dialing Format10-digit dialing required

Area Code Breakdown & District Mapping

717 – South-Central PA Code

Area code 717 is one of the original 1947 codes, covering south-central Pennsylvania including York, Harrisburg, and Lancaster. It anchors York County and the surrounding region along the Susquehanna.

223 – South-Central PA Overlay

Area code 223 is the 2018 overlay for the 717 region, sharing the same south-central-Pennsylvania geography. New York lines may be issued a 223 number, fully local to existing 717 numbers.

Neighborhoods & Local Coverage

York’s 717/223 codes cover a walkable historic city centered on Continental Square downtown, where the Central Market House has anchored the city’s commerce since the 1880s. The surrounding downtown blends a growing arts district with Colonial-era landmarks from York’s brief turn as the nation’s capital in 1777.

Beyond the center, the same codes reach the residential neighborhoods of Avenues and Fireside, the industrial corridors that earned York its manufacturing reputation, and out to suburban York County communities like West York, Spring Garden, and Red Lion. The 717/223 codes connect York to Harrisburg and Lancaster across the region.

Local Dialing Rules & International Format

York and the entire 717 region have required 10-digit dialing since the 223 overlay launched — always dial the area code plus the 7-digit number. There is no need to dial a leading 1 for local calls within the region.

To call York from outside the United States, dial your country’s exit code, then the U.S. country code +1, followed by the 10-digit number (for example, +1 717 XXX-XXXX). From inside the U.S. and Canada, simply dial 1 before the 10-digit number for long-distance calls.

Major ZIP Codes Covered

The 717 service area spans many of York’s core ZIP codes, including 17401, 17402, 17403, 17404, and 17408.

Spam & Scam Call Warnings in York

York residents report spoofed 717 robocalls impersonating utilities like Met-Ed and the IRS. Fake-jury-duty and grandparent-emergency scams also frequently target the area’s older population.

Scam TypeWhat to Watch For
Neighbor SpoofingCalls that mimic a local 717 prefix to look familiar.
Utility / Toll ScamsThreats to shut off power or demand toll payment via gift cards.
IRS / GovernmentRobocalls claiming legal action — agencies never call to demand instant payment.

Red flag: Any caller who pressures you to pay immediately with gift cards, wire transfers, or cryptocurrency is almost certainly running a scam. Hang up and verify through an official number.

↑ See the complete list of All US Area Codes by State for every code across the country.

Nearby & Related Pennsylvania Cities

Frequently Asked Questions

What area code is York, PA?

York uses area code 717 and its overlay 223, shared across south-central Pennsylvania.

Does York have the same area code as Harrisburg?

Yes. York, Harrisburg, and Lancaster all use 717/223 across south-central PA.

Is 223 a real Pennsylvania area code?

Yes. 223 is the FCC-approved overlay for the 717 region, layered over York and south-central PA in 2018.

Do I need to dial 10 digits in York?

Yes. With the 223 overlay active, all local calls in the 717 region require 10-digit dialing.

What time zone is York in?

York observes Eastern Time (EST/EDT), like all of Pennsylvania.

Stay Safe & Explore More