The 717 area code serves south-central Pennsylvania, covering the state capital of Harrisburg along with Lancaster and York. One of the original 1947 codes, it is now overlaid by area code 223. If a 717 number has appeared on your caller ID, this guide explains where it comes from, how to dial it, and how to stay safe from spoofed calls.
Quick Summary: Area Code 717 at a Glance
| Detail | Information |
|---|---|
| Area Code | 717 |
| State | Pennsylvania (PA) |
| Major Cities | Harrisburg, Lancaster, York, Lebanon |
| Time Zone | Eastern Time (ET) |
| Country Code | +1 (USA) |
| Overlay Codes | 223 (co-located) |
Geographic Coverage & Major Cities
Area code 717 covers south-central Pennsylvania, including Dauphin, Lancaster, York, Lebanon, Cumberland, Adams, and Franklin counties. It stretches across the Susquehanna Valley and the historic Pennsylvania Dutch country.
- Harrisburg – the capital of Pennsylvania
- Lancaster – the heart of Pennsylvania Dutch country
- York – a historic city west of the Susquehanna River
- Lebanon, Gettysburg & Chambersburg – established south-central PA communities
From the seat of state government to Amish farm country, a 717 number is closely tied to the identity of south-central Pennsylvania.
A Brief History of Area Code 717
Area code 717 was one of the original area codes established in 1947 and once covered much of central and northeastern Pennsylvania. In 1998, the northeastern counties split off into the new 570 code. The 223 overlay was added over the south-central region in 2018, and 10-digit dialing became mandatory.
Time Zone & Best Time to Call
Numbers in the 717 area code use Eastern Time (ET). The region observes Daylight Saving Time, shifting from EST (UTC-5) to EDT (UTC-4) between March and November each year.
How to Dial Phone Numbers in Area Code 717
Because 717 shares its region under an overlay, the area requires 10-digit dialing on every call.
Calling within the United States or Canada
- 10-digit dialing: Include the area code – 717-XXX-XXXX.
- 11-digit dialing: You can also dial 1-717-XXX-XXXX; the leading 1 is the NANP country code.
Calling from outside the United States
- Format: [exit code] + 1 + 717 + XXX + XXXX
- From the UK, Europe, or most of Asia/Africa: 00 1 717 XXX XXXX
- From any mobile phone worldwide: +1 717 XXX XXXX
Is Area Code 717 a Scam? Safety & Protection Tips
Area code 717 is a legitimate Pennsylvania area code – a call from it is not fraudulent by default. However, scammers frequently spoof local codes like 717, faking the caller ID so their number appears to come from a trusted local line. Neighbor spoofing, which mimics the first six digits of your own number, is especially common.
Common scam tactics linked to this region
| Scam type | What to watch for |
|---|---|
| Government & state-agency impersonation | Callers posing as the IRS, SSA, or a state agency threatening arrest |
| Bank & card fraud alerts | Claims of suspicious activity seeking your account details |
| Utility shut-off threats | Fake PPL Electric or Met-Ed disconnection demands |
| Package delivery scams | Fake texts or calls about a failed delivery with a bad link |
How to report, block, and look up 717 callers
- Never share personal or financial details with an unexpected caller, however urgent they sound.
- Block the number using your phone’s built-in call-blocking feature or a reputable call-screening app.
- Look up the number with a trusted reverse phone lookup before returning any call.
- Report it to the FTC at reportfraud.ftc.gov and register at DoNotCall.gov.
Nearby & Related Area Codes in Pennsylvania
Area code 717 shares and borders several other Pennsylvania codes:
- 223 – the overlay that shares south-central PA with 717 (see our 223 area code guide)
- 570 & 272 – northeastern Pennsylvania to the north (see our 570 area code guide)
- 610, 484 & 835 – southeastern Pennsylvania to the east (see our 610 area code guide)
- 814 – central and western Pennsylvania to the west (see our 814 area code guide)
Explore more codes across the state on our Pennsylvania area codes hub, or browse every prefix in our US area codes directory.
↑ See the complete list of All US Area Codes by State – every area code across all 50 states in one directory.
Explore Neighboring States
Researching area codes just across the state line? Start with these codes in the states that border Pennsylvania:
- New York – area code 212
- New Jersey – area code 201
- Delaware – area code 302
- Maryland – area code 410
- West Virginia – area code 304
- Ohio – area code 216
Frequently Asked Questions About Area Code 717
Where is the 717 area code located?
Area code 717 covers south-central Pennsylvania, including Harrisburg, Lancaster, York, and Lebanon. It operates on Eastern Time and is overlaid by area code 223.
What is the difference between 717 and 223?
There is no geographic difference. 223 is an overlay covering the exact same south-central PA territory as 717; it was added in 2018 simply to supply more phone numbers.
Is 717 a landline or cell phone area code?
Both. Area code 717 serves landlines, mobile phones, and VoIP numbers throughout south-central Pennsylvania.
Should I answer a call from an unknown 717 number?
If you are not expecting the call, let it go to voicemail. Legitimate callers leave a message, while spoofed or robocall numbers usually will not. Verify any unfamiliar number with a reverse lookup before calling back.
Related 717 Guides
- Is a 717 call safe? Read Is area code 717 a scam? Spam & safety guide.
- Local coverage: see the Harrisburg area code guide.
- Worried about spam or robocalls? Browse our Scam Alerts directory.