Pennsylvania area code

717 area code

South Central Pennsylvania uses area code 717, which takes in Lancaster, Harrisburg and York. 717 dates back to the first North American numbering plan in 1947. 223 was added on top of 717 as an overlay, and both codes reach the same area. Clocks there follow Eastern Time (UTC−5, or UTC−4 in summer).

State
Pennsylvania
Time zone
Eastern Time
In service since
1947
Overlays
223

Where is area code 717?

In short: 717 covers South Central Pennsylvania; places in it include Lancaster, Harrisburg and York.

The 717 map takes in South Central Pennsylvania. Counties in it include Lancaster County, Dauphin County, York County, Cumberland County, Lebanon County and Franklin County.

Places in the 717 area code

  • Lancaster
  • Harrisburg
  • York
  • Lebanon
  • Chambersburg
  • Carlisle
  • Hanover
  • Hershey
  • Ephrata
  • Elizabethtown
  • Waynesboro
  • Columbia
  • Lititz
  • Middletown
  • Mechanicsburg
  • Lewistown
  • Mount Joy
  • Camp Hill
  • Gettysburg
  • Willow Street

Counties: Lancaster County, Dauphin County, York County, Cumberland County, Lebanon County, Franklin County, Adams County, Mifflin County, Perry County, Schuylkill County, Fulton County, Juniata County

717 vs 223: which number should you get?

In short: 717 and 223 serve all or part of the same area, so a number with any of them can be local there.

Area codes that share the 717 area
CodeIn service sinceCoversNotes
7171947South Central PennsylvaniaBase code
223September 26, 2017South Central PennsylvaniaOverlay on 717

Callers in the area dial the same way whichever of these codes a number has. When 717 stock runs low, 223 is the natural fallback.

717 time zone and dialing

In short: 717 is on Eastern Time, UTC−5 in winter and UTC−4 in summer.

How to dial a 717 number
Calling fromWhat to dial
Inside the 717 area10-digit dialing (area code + number) for every local call, because more than one area code serves the same area
Elsewhere in the US or Canada1-717-XXX-XXXX
Outside North America+1 717 XXX XXXX (exit code, then 1 717 and the number)

Good times to call 717

When it is 9 a.m. to 5 p.m. in the 717 area (standard time)
If you are onCall between
Eastern Time9 a.m. and 5 p.m.
Central Time8 a.m. and 4 p.m.
Mountain Time7 a.m. and 3 p.m.
Pacific Time6 a.m. and 2 p.m.

Both sides move their clocks for daylight saving time on the same dates in most of the US and Canada, so these windows usually hold all year; most of Arizona and Saskatchewan don't change their clocks.

Is a call from 717 a scam?

In short: Not by itself. 717 is a regular Pennsylvania area code, and anyone with a number in it, or anyone spoofing one, can call from it.

  • Never read out a one-time code or card number to someone who called you from 717, however official they sound.
  • Hang up and call the bank, agency or company on a number you find yourself, not the 717 number on your screen.
  • Report fraud at reportfraud.ftc.gov.

Running a business on a 717 line? See what CNAM is and why business calls get marked as spam.

History of area code 717

In short: 717 started in 1947 as one of the original area codes, gave up territory in 1998 and gained overlay codes in 2017.

  1. 1947

    Area code 717 entered service

  2. 1998

    Split: area code 570 created for part of the region

  3. 2017

    Overlay code 223 added

Facts about 717

  • 717 is one of the original North American area codes, in use since the 1947 numbering plan.
  • In 1998, part of the 717 area moved to the new area code 570.

Who uses a 717 number?

Phones in Lancaster, Harrisburg, York, Lebanon and Chambersburg, part of Lancaster County, Dauphin County and York County, are numbered under 717 and its overlay. A team based outside Pennsylvania can add a 717 number when it starts selling to or supporting customers in South Central Pennsylvania. Because 223 overlay 717, a number with any of those codes is just as local to the area.

Get a 717 number with DialNext

In short: Pick a 717 number in DialNext, assign who answers it, and call or text from your browser, desktop or phone.

  1. Start a 7-day free trial and open Phone Numbers.
  2. Click Buy phone number and pick the United States under Select country.
  3. Set Type: Local, type 717 in the digits box, choose Match: First part and click Search Numbers.
  4. Click Buy next to the 717 number you want, give it a name under Name this number and confirm.
  5. Open the number’s settings and choose who it rings under Allowed members.

Available 717 numbers vary. If none are free, 223 covers the same area.

  • Calls and texts from any device

    Answer and place calls and texts in the browser, the desktop app or the mobile app. No desk phone needed.

  • Call routing and IVR

    Send callers to the right person or team, with business hours per number.

  • Call recording

    Recordings on published plans, with a compliance announcement you can set per number.

  • CRM logging

    Calls and texts are logged to HubSpot, Salesforce, Pipedrive, Zendesk and the other tools DialNext lists.

  • Shared inbox for texts

    Your team replies from one thread per contact (US and Canadian numbers).

  • AI call summaries (paid add-on)

    A written summary after each call, available as a paid add-on.

Area codes near 717

All Pennsylvania area codesAll US and Canadian area codes

Frequently asked questions about area code 717

What state is area code 717 in?

Pennsylvania. 717 covers South Central Pennsylvania, including Lancaster, Harrisburg and York.

What time zone is area code 717?

Eastern Time. That is UTC−5, moving to UTC−4 during daylight saving time.

Is 717 a toll-free number?

No. Toll-free numbers use 800, 833, 844, 855, 866, 877 and 888; 717 is a regular Pennsylvania code tied to South Central Pennsylvania, and calls to it cost the same as any other number there.

Is 717 a cell phone or landline area code?

It can be either. Carriers hand out 717 numbers to mobiles and landlines alike, so the area code doesn't reveal the line type.

Do I need to dial the area code for local calls in 717?

Yes. With 223 on the same map, every local call needs the full ten digits, area code included.

What area codes overlay 717?

223. It serves all or part of the same area as 717, so numbers with that code sit side by side with 717 numbers.

When did area code 717 start?

1947. It was one of the original area codes. The most recent change came in 2017, when overlay code 223 was added.

Can I get a 717 number for my business?

Usually, if numbers are free. Search 717 under Phone Numbers → Buy phone number in DialNext, with Match: First part selected; if nothing comes up, try 223, which serves the same area.

Is a call from area code 717 a scam?

Not because of the code. 717 numbers belong to ordinary people and businesses in South Central Pennsylvania, though scammers can fake any caller ID. Be wary of requests for money or codes.

What area codes are near 717?

272, 570, 484, 610 and 582. The Pennsylvania codes among them border 717 directly; see each one's page for the places it covers.

Last updated 2026-11-27 · Sources: Wikipedia: List of North American Numbering Plan area codes; Wikipedia: Area codes 717 and 223; Google libphonenumber (geocoding and time-zone data); GeoNames gazetteer (places, counties, population); 47 CFR § 52.19: area code relief (ten-digit dialing in overlays).

Need a 717 number?

Start a 7-day free trial. One seat is enough to begin.