Pennsylvania · Eastern Time
717 Area Code
The 717 area code is a telephone area code in Pennsylvania, covering Harrisburg and the surrounding area. It lies in the Eastern Time zone.
Last updated June 5, 2026
Where is the 717 area code?
717 serves Harrisburg and nearby communities in Pennsylvania. In the wider directory it sits in the Northeast region.
Dialing 717
Harrisburg is currently served by the single area code 717. Ten-digit dialing (area code + seven-digit number) always works and is increasingly the norm nationwide; some local calls may still connect with seven digits. If a future overlay is added, 10-digit dialing would become mandatory.
History of the 717 area code
717 is one of the original area codes assigned in 1947, when AT&T and Bell Laboratories created the North American Numbering Plan and divided the country into the first 86 numbering plan areas. It has served the Harrisburg area ever since.
Is 717 a scam or spam risk?
717 is a legitimate geographic area code, not a premium or toll line, so a call from it costs you nothing extra. That said, scammers frequently spoof real local area codes to look familiar on caller ID. A genuine 717 number on your screen is no guarantee the caller is local or trustworthy. See spam & scam-risk area codes for how spoofing works and how to respond.
Other Pennsylvania area codes
Explore more
See every code in Pennsylvania, compare codes across the Northeast region, or view all Eastern Time codes. You can also browse the 7XX block or the complete numeric list of US area codes.
New to how this all works? Start with how area codes work, then read up on overlays, 10-digit dialing, and spam & scam-risk codes. To check another number, use the area code lookup tool.
Quick answers
717 area code FAQ
Where is the 717 area code?
The 717 area code is in Pennsylvania, serving Harrisburg and the surrounding area in the Northeast region.
What time zone is 717 in?
717 is in the Eastern Time zone.
Do I have to dial 10 digits for 717?
Ten-digit dialing always works, and many areas now require it; some local calls in this area may still connect with seven digits.
Is 717 a toll-free or premium code?
No. 717 is a standard geographic area code, so calling it costs the same as any local or long-distance call on your plan. Toll-free calls use 800, 888, 877, 866, 855, 844 or 833.