Area codes in York, Pennsylvania

York, Pennsylvania uses 2 area codes — 717 and 223. The main York area code is 717.

Area codes serving York

Phone numbers in York are written as ten digits — for example (717) 555-0190 — and fall in the Eastern Time zone.

How York came to have 2 area codes

The original York area code is 717, in service since 1947. As the area ran low on available numbers, an overlay code was added over the same region for new phone lines: 223 (2017). Existing numbers kept their original code — an overlay never forces anyone to change their number — which is why York now uses all 2 codes and every local call is dialed with ten digits.

All Pennsylvania area codes · Is a York call a scam?

Nearby cities

More cities in Pennsylvania

Frequently asked questions

What is the area code for York?

The main area code for York, Pennsylvania is 717. York is now served by 2 area codes in total: 717, 223.

How many area codes does York have?

York has 2 area codes: 717, 223.

Why does York have more than one area code?

As York used up the numbers available in its original area code (717, in service since 1947), additional "overlay" codes were added over the same area so new phone numbers could keep being assigned.

How do you dial a York number?

Dial all 10 digits — the area code (717 or 223) followed by the 7-digit local number. From abroad, dial +1, then the area code and number.

Sourced from the official NANPA (North American Numbering Plan Administrator) numbering database, current as of August 2, 2026. Refreshed monthly.