Pennsylvania · Eastern Time

717 Area Code

Area code 717 is in Pennsylvania, serving south-central Pennsylvania including Harrisburg, Lancaster, York and Chambersburg. It is in the Eastern Time zone. It shares its territory with overlay code 223, so 10-digit dialing is required.

Last updated October 1, 2026 · Source: NANPA

Area code
717
Main city
Harrisburg
Time zone
Type
Geographic
In service since
January 1, 1947
Overlay codes
Dialing
10-digit required
Local time now
Eastern Time

Where is the 717 area code?

717 is a Pennsylvania area code covering south-central Pennsylvania including Harrisburg, Lancaster, York and Chambersburg. In the wider directory it sits in the Northeast region.

Cities in the 717 area code

  • Harrisburg
  • Lancaster
  • York
  • Chambersburg
  • Lebanon
  • Carlisle
  • Hershey
  • Mechanicsburg
  • Hanover
  • Gettysburg
  • Ephrata
  • Waynesboro
  • Lewistown

Counties served by 717

Dauphin County, Cumberland County, Lancaster County, York County, Lebanon County, Adams County, Franklin County, Perry County, Juniata County and Mifflin County.

See 717 on the area code map →

717 overlay codes and dialing

The 717 territory is covered by an overlay of 2 area codes: 223, 717. All of them serve the same geographic area, and the original code is 717. Because more than one code covers the same ground, 10-digit dialing is mandatory — you must dial the area code for every local call. New phone lines may be assigned any of these codes.

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, with 223 later added as an overlay to supply more numbers.

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 in Harrisburg, PA or trustworthy. See spam & scam-risk area codes for how spoofing works and how to respond.

Other Pennsylvania area codes

See all 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, covering south-central Pennsylvania including Harrisburg, Lancaster, York and Chambersburg, in the Northeast region.

What cities are in the 717 area code?

Cities in the 717 area code include Harrisburg, Lancaster, York, Chambersburg, Lebanon, Carlisle, Hershey, Mechanicsburg, Hanover and Gettysburg.

What time zone is 717 in?

717 is in the Eastern Time zone.

What is the overlay for the 717 area code?

717 shares its territory with 223. Both codes (223, 717) serve the same area, so 10-digit dialing is required for every call.

When did the 717 area code start?

717 went into service on January 1, 1947 as one of the original 1947 North American area codes.

Do I have to dial 10 digits for 717?

Yes. Because 717 is an overlay area, you must dial the full 10-digit number (area code + 7 digits) for every call.

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.