The 717 area code covers Harrisburg, Lancaster and 100 more places in Pennsylvania.
Area code 717 is in Pennsylvania, on Eastern Time. In the 717 area, phone numbers are given out most in Dauphin County, then Lancaster and York counties. It has been in service since 1947. 223 covers the same area, so two neighbours can have different area codes.
- Where
- 8 counties in Pennsylvania, mostly Dauphin County, Lancaster County and York County
- Time zone
- Eastern Time
- In service since
- 1947, one of the original area codes
- Shares its area with
- 223 (since 2017)
- Prefixes in use
- 784
- How to dial
- Local calls need all 10 digits: 717-555-0142.
Find out who called you from a 717 number.
Enter the full 10-digit number to see who it is listed to and the city and state on the listing. It is the same free check as our who called me lookup. To see only the caller ID name on the number, use our free CNAM lookup. To see whether it is a mobile, a landline or a VoIP line, use our free VoIP checker. To see which carrier a (717) number is on today, use our free carrier lookup.
Works for US & Canada numbers. Enter a 10-digit number, e.g. (415) 555-0132.
Free & rate-limited. No signup required to try.
Harrisburg holds 21% of the phone prefixes in area code 717.
A prefix is the three digits after the area code, and NANPA assigns each one to a town. Counting the 784 prefixes in use shows where 717 numbers are actually given out.
- Harrisburg166 prefixes, 21%
- Lancaster101 prefixes, 13%
- York75 prefixes, 10%
- Lebanon29 prefixes, 4%
- Chambersburg28 prefixes, 4%
- Carlisle24 prefixes, 3%
- Mechanicsburg18 prefixes, 2%
- Hanover15 prefixes, 2%
Also served: Lewistown, Hershey, Gettysburg and Middletown and 90 smaller places.
Of the carriers named here, Brightspeed holds the most phone number prefixes in area code 717: 80 of 784.
NANPA, which runs the North American numbering plan, assigns each prefix (the three digits after the area code) to one carrier. Here is how the 784 prefixes in use in 717 divide between carriers; holders this page does not name are grouped as other carriers.
| Carrier | Prefixes | Share |
|---|---|---|
| BrightspeedLandline company | 80 | 10% |
| AT&T MobilityMobile network | 77 | 10% |
| Level 3 (Lumen)Lumen's business and wholesale network | 65 | 8% |
| PCS One | 52 | 7% |
| WindstreamLandline company | 34 | 4% |
| Comcast (Xfinity)Cable company's phone service | 27 | 3% |
| 32 other carriers | 449 | 57% |
71% of these prefixes are pooled, which means the blocks of 1,000 numbers inside them can belong to other carriers. Any number can also have been moved to another carrier since, so this shows who holds the prefixes, not who serves a given number.
Want the carrier of one exact number? Our free carrier lookup checks it, because numbers move between carriers.
Source: NANPA central office code assignments, October 1, 2026.
717 has been split once and overlaid once since 1947.
1947
717 is one of the original North American area codes.
1998
On December 5, 1998, 570 splits off and takes part of the 717 area.
2017
On September 26, 2017, 223 is added on top of 717, so new numbers here can get either code.
A 717 number on your screen can still be a scam, because caller ID is easy to fake.
- Let an unknown call go to voicemail. A real caller leaves a message; a robocaller usually does not.
- Look the number up with the box above before you call back, because calling back tells a robocaller your line is live.
- Hang up on anyone who wants gift cards, crypto or a wire transfer, or asks you to read out a code that was just texted to you.
- Report unwanted robocalls at reportfraud.ftc.gov, or paste a suspicious message into our free scam checker.
The area codes closest to 717 are 610, 301 and 202.
This list measures the distance between the centres of each area, across state lines, and shows codes that share one area together.
These are the questions people ask most about area code 717.
Where is area code 717?
717 covers Harrisburg, Lancaster, York and Lebanon and 98 more places in Pennsylvania. In the 717 area, phone numbers are given out most in Dauphin County, then Lancaster and York counties.
What state is area code 717 in?
Pennsylvania. 717 is a Pennsylvania area code on Eastern Time.
What cities use area code 717?
The places holding the most 717 prefixes are Harrisburg, Lancaster, York, Lebanon, Chambersburg, Carlisle, Mechanicsburg and Hanover, out of 102 places in all. The count comes from NANPA's prefix assignments as of October 1, 2026.
Which phone company owns area code 717?
No single phone company owns 717. NANPA's records list its 784 prefixes across many carriers, and the ones named on this page include Brightspeed, AT&T Mobility and Level 3 (Lumen). Numbers move between carriers, so check one exact number with a carrier lookup.
What time zone is area code 717 in?
717 is on Eastern Time.
When did area code 717 start?
717 is one of the original North American area codes, in service since 1947.
Is 717 the same area as 223?
Yes. 223 (since 2017) covers the same ground as 717. Nobody's number changed when it was added; new lines simply get whichever code has numbers left, so two neighbours can have different codes.
How do I dial a 717 number?
Local calls need all 10 digits: 717-555-0142.
Is 717 a toll-free number?
No. 717 is a regular area code for Harrisburg and Lancaster in Pennsylvania, not a toll-free one. The toll-free codes in North America are 800, 833, 844, 855, 866, 877 and 888.
What area codes are near 717?
The closest are 610/484/835 (Philadelphia suburbs, Pennsylvania), 301/240/227 (Washington, D.C. suburbs, Maryland), 202/771 (Washington, D.C.) and 570/272 (Scranton, Pennsylvania), measured between the centres of each area.
Who called me from a 717 number?
Enter the full 10-digit number in the lookup above. It returns the listed owner where there is a public record, where the number is registered, and whether it is a mobile, a landline or a VoIP line.
Is area code 717 a scam?
717 is a real Pennsylvania area code, so the code itself is not a warning sign. Scam callers fake local-looking numbers on purpose, so judge the call by what the caller asks for, and look the number up before calling back.
Put this lookup on your site: our free area code widget takes two lines of code and shows any US area code's state, time zone and local time.
Source: NANPA, the North American Numbering Plan Administrator: its area code database and prefix assignments, as of October 1, 2026.