Skip to content
ZIP codes

ZIP codes in Dauphin County, Pennsylvania

Dauphin County has 31 ZIP codes. 23 lie entirely inside it and 8 are shared with neighboring counties, so part of their land and their people are elsewhere. About 290,733 people live in the parts inside it (ACS 2020–2024).

By the All Map Tools Team

ZIP codes
31
With 1% or more of their land inside
Entirely inside
23
99% or more of their land
Shared with other counties
8
Most with Lebanon County (3)
Most populated ZIP
17112
38,502 people · Linglestown
Least populated ZIP
17080
264 people · Pillow; 1 more with nobody living there
Largest ZIP by land
17032
110 sq mi · Halifax

Map of the ZIP codes in Dauphin County

Cumberland County Juniata County Lancaster County Lebanon County Northumberland County Perry County Schuylkill County York County 17005 · Berrysburg · 289 people · 100% in the county 17017 · Dalmatia · 1,509 people · 22% in the county 17018 · Dauphin · 3,902 people · 100% in the county 17020 · Duncannon · 8,826 people · 3.1% in the county 17022 · Elizabethtown · 31,908 people · 29% in the county 17023 · Elizabethville · 3,489 people · 100% in the county 17028 · Fort Indiantown Gap · 3,563 people · 46% in the county 17030 · Gratz · 541 people · 100% in the county 17032 · Halifax · 7,551 people · 100% in the county 17033 · Hershey · 16,481 people · 88% in the county 17034 · Highspire · 3,071 people · 100% in the county 17036 · Hershey · 23,520 people · 100% in the county 17048 · Gratz · 3,870 people · 100% in the county 17057 · Middletown · 23,560 people · 100% in the county 17061 · Millersburg · 6,842 people · 100% in the county 17078 · Campbelltown · 23,840 people · 16% in the county 17080 · Pillow · 264 people · 100% in the county 17097 · Wiconsico · 721 people · 100% in the county 17098 · Williamstown · 2,618 people · 100% in the county 17101 · Harrisburg · 2,722 people · 100% in the county 17102 · Harrisburg · 8,118 people · 100% in the county 17103 · Harrisburg · 13,115 people · 100% in the county 17104 · Harrisburg · 18,541 people · 100% in the county 17109 · Colonial Park · 27,466 people · 100% in the county 17110 · Harrisburg · 27,364 people · 100% in the county 17111 · Lawnton · 36,744 people · 100% in the county 17112 · Linglestown · 38,502 people · 100% in the county 17113 · Steelton · 11,724 people · 100% in the county 17120 · Harrisburg · 0 people · 100% in the county 17978 · 688 people · 60% in the county 17980 · Orwin · 3,342 people · 68% in the county
  • Entirely in the county (99% or more of its land)
  • Shared, mostly in this county
  • Shared, mostly in other counties
  • Neighboring counties
Open in the interactive tool

Each area is a ZIP code with its number where it fits. Hover over one to see its name.

All ZIP codes in Dauphin County

31 ZIP codes in Dauphin County, PA, by number
ZIP code Main city Population Land in the county Residents in the county
17005 Berrysburg 289 100% 289
17017 Dalmatia 1,509 22% ≈ 627
17018 Dauphin 3,902 100% 3,902
17020 Duncannon 8,826 3.1% ≈ 221
17022 Elizabethtown 31,908 29% ≈ 3,383
17023 Elizabethville 3,489 100% 3,489
17028 Fort Indiantown Gap 3,563 46% ≈ 2,171
17030 Gratz 541 100% 541
17032 Halifax 7,551 100% 7,551
17033 Hershey 16,481 88% ≈ 15,242
17034 Highspire 3,071 100% 3,071
17036 Hershey 23,520 100% 23,520
17048 Gratz 3,870 100% 3,870
17057 Middletown 23,560 100% 23,560
17061 Millersburg 6,842 100% 6,842
17078 Campbelltown 23,840 16% ≈ 1,984
17080 Pillow 264 100% 264
17097 Wiconsico 721 100% 721
17098 Williamstown 2,618 100% 2,618
17101 Harrisburg 2,722 100% 2,722
17102 Harrisburg 8,118 100% 8,118
17103 Harrisburg 13,115 100% 13,115
17104 Harrisburg 18,541 100% 18,541
17109 Colonial Park 27,466 100% 27,466
17110 Harrisburg 27,364 100% 27,364
17111 Lawnton 36,744 100% 36,744
17112 Linglestown 38,502 100% 38,502
17113 Steelton 11,724 100% 11,724
17120 Harrisburg 0 100% 0
17978 — 688 60% ≈ 397
17980 Orwin 3,342 68% ≈ 2,174

ZIP codes shared with other counties

These 8 ZIP codes have part of their land in another county. The first figure is the share of their land in Dauphin County; then, where the rest lies.

Cities and prefixes

By main city (the city, town or CDP each ZIP shares the most land with), the ones with the most are Harrisburg (6), Gratz (2), Hershey (2), Berrysburg (1), Campbelltown (1), and Colonial Park (1); 23 places in all.

They start with 3 different three-digit prefixes, one per USPS sorting center: 170, 171, and 179.

Neighboring counties

Each one with its ZIP codes. Those without a page of their own open in the tool.

Tools for this county

Sources

  • U.S. Census Bureau, 2020 ZCTA to County, ZCTA to Place and ZCTA to Census Tract Relationship Files (and the 2022 County Subdivision to ZCTA file for Connecticut). Public domain.
  • U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, table B01003 (population of each ZIP code, census tract and Connecticut town). Public domain.
  • U.S. Census Bureau, Vintage 2025 Population Estimates (county population) and 2025 Gazetteer Files (land area and interior point of each ZIP code). Public domain.
  • U.S. Census Bureau, Cartographic Boundary Files: ZCTAs 2020 and counties 2025, 1:500,000; county adjacency file 2025. Public domain.

How we count. ZIP codes here are the Census Bureau’s ZIP Code Tabulation Areas (ZCTAs), the areas it draws to match USPS ZIP codes; ZIPs with no area of their own (PO boxes, single buildings) aren’t included. A ZIP can cross county lines: “Land in the county” is the exact share of its land inside, from the Census relationship files. “Residents in the county” is the whole ZIP for those entirely inside; for shared ones it’s an estimate, spreading the people of each census tract over the land it shares with the ZIP. Population: ACS 2020–2024. Methodology.

Spotted a mistake? Let us know