Pennsylvania · Harrisburg

717 area code

Area code 717 serves South Central Pennsylvania, including Harrisburg, Lancaster, York, Gettysburg and Chambersburg. Eastern Time applies throughout, and its overlay 223 has drawn on those very counties since 2017.

Before 1998, a 717 number could ring anywhere from Gettysburg's battlefield up to Scranton and the New York border. Now the code means Harrisburg's capital region and Pennsylvania Dutch Country, and with Talkroute your 717 line can ring and receive messages on a laptop or a cell.

Updated December 2026 · 7-day free trial · Free number porting

At a glance

717 area code facts

Location
South Central Pennsylvania: Harrisburg, Lancaster, York, Lebanon, Gettysburg and Chambersburg, across all or part of 16 counties
Time zone
Eastern Time (ET)
Local time
—
In service since
1947, one of Pennsylvania’s four original codes
Shares its area with
223 (2017)
Dialing
10 digits (area code + number) for local calls since August 26, 2017
717 area code map highlighting South Central Pennsylvania around Harrisburg, Lancaster and York, with 814 to the west, 570 to the north, 610 to the east and Maryland to the south
Area code 717 covers South Central Pennsylvania. The 223 overlay serves the same area.

Cities and towns in the 717 area code

  • Harrisburg
  • Hershey
  • Camp Hill
  • Mechanicsburg
  • Carlisle
  • Lancaster
  • Lititz
  • Ephrata
  • Elizabethtown
  • York
  • Hanover
  • Lebanon
  • Gettysburg
  • Chambersburg
  • Waynesboro
  • Lewistown

Most 717 lines are concentrated between Harrisburg's West Shore suburbs and the Lancaster and York county seats, with farm country filling the gaps toward Maryland.

History

How 717 became South Central Pennsylvania's area code

  1. 1947

    AT&T assigns 717 to the eastern half of Pennsylvania, minus the Philadelphia-area 215 territory, in the first nationwide plan.

  2. 1998

    570 takes the northern half on December 5. Scranton, Wilkes-Barre and Williamsport leave 717, which keeps the Harrisburg-centered south.

  3. 2016

    Commissioners unanimously back an overlay on October 27 rather than splitting 717 a second time.

  4. 2017

    Callers must include the area code from August 26; a month later, on September 26, 223 goes live.

  5. Today

    Two codes, one sixteen-county footprint. Existing 717 lines kept their numbers; 223 fills new requests once 717 prefixes are used up.

Get a 717 number in minutes.

Pick a new 717 number or bring the one you already have. Calls and texts ring on every device.

1
Choose your 717 number
Search available 717 numbers when you sign up, or keep your current number with free porting.
2
Set up your calls
Add greetings, menus, voicemail, and business hours in your local time.
3
Answer anywhere
Use Talkroute on Mac, Windows, the web, iPhone, and Android.

Every plan includes a local or toll-free number. 7-day free trial. No contracts.

FAQ

717 area code FAQ

Where is area code 717?

717 covers South Central Pennsylvania. Harrisburg, Hershey and Carlisle sit at its northern core, Lancaster and York fill the southeast, and Gettysburg and Chambersburg anchor the west along the Maryland line.

Is 717 the same as 223?

Same territory, different digits. Pennsylvania placed 223 over every 717 county in 2017, so a York shop on 223 is billed and dialed exactly like a 717 neighbor across the street.

What time zone is the 717 area code in?

Eastern Time. The capital switches between Eastern Standard (UTC−5) and Eastern Daylight (UTC−4) on the same dates as Philadelphia and Pittsburgh.

Is Scranton still in 717?

No. On December 5, 1998, the Lackawanna and Wyoming valleys, Williamsport and Pocono towns all moved over to 570. Before that split, 717 stretched up to the New York state line.

When did 717 start?

In 1947, when AT&T’s original plan divided Pennsylvania among 215, 412, 717 and 814.

Can I get a 717 number for my business?

Often, yes. Look up 717 while opening your Talkroute account and choose among whatever lines are free that day. When 717 options look sparse, Harrisburg and York callers treat 223 as equally local.

Do I have to live in Central Pennsylvania to use a 717 number?

No. Answer Dauphin or Lancaster County customers from a hotel room or a home office: the Talkroute apps for Mac, Windows, web browsers, iPhone and Android all carry your 717 line.

Can I move my existing 717 number to Talkroute?

Yes, at no charge. Don’t cancel your existing Harrisburg or Lancaster service before Talkroute completes the port; that way calls keep arriving during the switch.

Put a 717 number to work for your business.

Calling, texting, voicemail, and call routing on a local 717 number. Try Talkroute free for 7 days.

Questions? Give us a call at 800.747.2140.

Paul Howey717 area code number