Area code 717 — South-central Pennsylvania
One of Pennsylvania’s four original 1947 codes, covering the state capital at Harrisburg alongside Lancaster County’s farmland and the Gettysburg battlefield. It has been reduced once, in 1998, and overlaid once, in 2017 — a quiet history compared with the state’s eastern and western codes.
New numbers available in 717Area code 717 covers south-central Pennsylvania: Harrisburg, Lancaster, York, Hershey, Gettysburg, Carlisle and Chambersburg.
It shares that territory with the 223 overlay, added in 2017. The northern part of its original 1947 area — Scranton, Wilkes-Barre and Williamsport — left in 1998.
Area code 717 at a glance
- State
- Pennsylvania
- Region
- South-central Pennsylvania
- Time zone
- Eastern Time (ET)
- In service since
- 1947
- Type
- Geographic code
How a 717 number is built
Every North American number has four parts. Knowing where the seams fall answers most of what people ask about 717.
Cities and areas served by 717
- Harrisburg
- Lancaster
- York
- Hershey
- Gettysburg
- Carlisle
- Chambersburg
- Lebanon
Codes sharing the same area
One other code covers the same ground as 717.
Nearby area codes
Bordering Pennsylvania and the surrounding region. A number in one of these is close to 717 but not in it.
How 717 came about
One of four codes given to Pennsylvania in 1947, split once and overlaid once in seventy-eight years.
- 1947Four codes for the statePennsylvania is divided into four original numbering areas: 215 for the south-east and Philadelphia, 412 for the west and Pittsburgh, 814 for the north-west and centre, and 717 for the eastern half excluding the Delaware and Lehigh Valleys.
- December 5, 1998The north-east separatesScranton, Wilkes-Barre and Williamsport split away as 570, taking the northern portion of the original territory. What remains is south-central Pennsylvania — the capital region and the counties around it.
- 2017An overlay rather than a second split223 is overlaid across the remaining 717 territory. Nobody changes a number, and ten-digit dialling becomes required for local calls.
Which code should you choose?
Two codes cover south-central Pennsylvania, and they cover it identically.
| Code | Since | How it reads |
|---|---|---|
| 717 | 1947 | The established code for Harrisburg, Lancaster and York |
| 223 | 2017 | Same ground, newer, with far more numbers available |
| 570 | 1998 | North-east PA — Scranton and Wilkes-Barre |
| 610 | 1994 | The Lehigh Valley and eastern suburbs |
Either code is equally local. 717 is the one people in the region recognise; 223 is the one with capacity if a memorable ending matters.
What people get wrong about 717
Is 717 used for spam calls?
717 is spoofed as a plausible small-city and rural Pennsylvania prefix, which suits calls impersonating local utilities, contractors or county offices rather than national institutions. Its association with the state capital adds a second angle: a caller claiming to represent a state agency benefits from a Harrisburg-area number appearing on screen. Caller ID is a display field rather than proof of origin, so a 717 establishes nothing about where a call began. Treat unexpected requests for payment or personal details as suspect — so confirm any unexpected demand on a number from the agency’s own website.
Area code 717 FAQ
What area code is 717?
717 covers south-central Pennsylvania, including Harrisburg, Lancaster, York, Hershey, Gettysburg, Carlisle, Chambersburg and Lebanon. It shares that territory with the 223 overlay.
What is the difference between 717 and 223?
Nothing geographic. 223 was overlaid on the whole 717 territory in 2017, so both cover the same ground. 717 is the older and more recognisable; 223 has considerably more unassigned numbers.
Is Harrisburg in the 717 area code?
Yes. Pennsylvania’s state capital sits in 717, along with the legislature and the state agencies based there.
Does 717 cover Lancaster and Amish country?
Yes. Lancaster County, including the Pennsylvania Dutch region, is inside 717, as are York, Hershey and Gettysburg.
What happened to the northern part of 717?
It split away as 570 on 5 December 1998, taking Scranton, Wilkes-Barre and Williamsport. That area now also has 272 as an overlay.
Can I still get a 717 number?
Yes, though after seventy-eight years the pool is thinner than 223’s. Both cover identical territory, so 223 is the better bet if you want a say in the digits.
What time zone is the 717 area code in?
Eastern — UTC−5 in winter and UTC−4 in summer.
How do I get a 717 business number?
Search 717 for the familiar south-central Pennsylvania number, or 223 for a wider choice. Neither requires a Harrisburg address.
Why do I have to dial ten digits in the 717 area?
Because 223 overlays the same territory. Once two codes share the same streets, a seven-digit local number no longer identifies which one you mean.
How many area codes does Pennsylvania have?
Far more than the four it started with in 1947. The original 215, 412, 717 and 814 have been split and overlaid repeatedly, though 814 is the one that has kept its original boundaries.
Getting a 717 business number
717 numbers are still being issued, so a business anywhere can hold one and route it to wherever its team actually works — you do not need an address in Pennsylvania.
- STIR/SHAKENAttested, so calls are less likely to show as spam
- AI receptionistCover for the hours nobody is at a desk
- Free portingIf you already hold a 717 number
- Recording & SMSOn the same line, no add-on
