717 Area Code — Pennsylvania
717 is a North American Numbering Plan area code for Pennsylvania, the United States. It covers about 2,073,092 people in 223 towns and 277 ZIP codes, including York, Harrisburg and Lancaster.
| Field | Value |
|---|---|
| Area code | 717 |
| Country | United States (+1) |
| State / province | Pennsylvania |
| Type | Shares its towns with 223 |
| Time zone | Eastern |
| Population covered | 2,073,092 |
| Towns covered | 223 |
| ZIP codes | 277 |
| Approx. centre | 40.125, -76.858 |
Where area code 717 is used
Area code 717 is assigned to Pennsylvania, the United States, inside the North American Numbering Plan. Numbers in the code are written (717) NXX-XXXX at home and +1 717 NXX-XXXX when dialled from outside Canada and the United States. Since the NANP moved to 10-digit dialling you must always include the area code, even for a local call.
Other area codes in this footprint: 223. They serve towns in the same territory, so a single street can contain numbers from more than one code. That is normal in the NANP and does not change how you dial.
Towns and cities in area code 717
The 223 towns below are the largest in the 717 footprint, ranked by population. Every one of them links to its own page with the full list of area codes and ZIP codes for that town.
| Town | County | Population | ZIP codes |
|---|---|---|---|
| York | York County | 187,437 | 8 |
| Harrisburg | Dauphin County | 184,296 | 26 |
| Lancaster | Lancaster County | 176,574 | 11 |
| Mechanicsburg | Cumberland County | 85,577 | 2 |
| Lebanon | Lebanon County | 71,996 | 2 |
| Carlisle | Cumberland County | 62,898 | 2 |
| Chambersburg | Franklin County | 61,120 | 2 |
| Hanover | York County | 56,443 | 5 |
| Lititz | Lancaster County | 45,912 | 1 |
| Camp Hill | Cumberland County | 39,664 | 4 |
| Ephrata | Lancaster County | 33,852 | 1 |
| Elizabethtown | Lancaster County | 31,908 | 1 |
Counties covered
| County | ZIP codes |
|---|---|
| Lancaster County | 69 |
| York County | 50 |
| Dauphin County | 40 |
| Franklin County | 26 |
| Cumberland County | 21 |
| Lebanon County | 17 |
| Adams County | 17 |
| Perry County | 14 |
| Juniata County | 9 |
| Mifflin County | 8 |
| Fulton County | 4 |
| Huntingdon County | 1 |
Other area codes serving the same towns
Nearby area codes
How to dial area code 717
- Within North America: 717 + 7-digit number (717-NXX-XXXX). The leading 1 is optional on a mobile phone and required on most landlines for long-distance.
- From abroad: your country's international prefix, then 1, then 717, then the 7-digit number — for example 00 1 717 NXX-XXXX from most of Europe.
Frequently asked questions
What area code is 717?
717 is a North American Numbering Plan area code assigned to Pennsylvania, the United States. It covers about 2,073,092 people in 223 towns.
Is 717 a US or Canadian area code?
717 is a United States area code. Canada and the United States share the +1 country code, so both are part of the same numbering plan.
What time zone is area code 717 in?
Area code 717 is in the Eastern time zone.
Do I have to dial 10 digits?
Yes. Every NANP call now requires the area code plus the seven-digit number, even for a local call.