Snyder County · Pennsylvania

ZIP Code 17842

Middleburg, PA · 8,266 residents

City (USPS)
Middleburg
Time zone
Eastern Time
Area code
272 and 570
Coordinates
40.8013° N, 77.0435° W
Land area
79.4 sq mi · 104 people/sq mi
77.2°W77.0°W76.8°W40.8°NZIP 16872ZIP 16882ZIP 17014ZIP 17045ZIP 17049ZIP 17062ZIP 17063ZIP 17086ZIP 17801ZIP 17812ZIP 17813ZIP 17827ZIP 17829ZIP 17835ZIP 17837ZIP 17841ZIP 17844ZIP 17845ZIP 17847ZIP 17853ZIP 17855ZIP 17857ZIP 17861ZIP 17862ZIP 17864ZIP 17870ZIP 17876ZIP 17880ZIP 17885ZIP 17889178451708617801178571788917870178531788517813178121786417827170141785517876178425 miN
ZIP Code 17842 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 17842 in?

ZIP Code 17842 is in Snyder County, Pennsylvania.

The Postal Service's default place name for 17842 is Middleburg. The ZIP Code lies outside any incorporated city or Census-designated place: it is unincorporated territory.

Population8,266±492
Median household income$62,940
Median home value$210,500
Median rent$878/mo
Median age41.8
Households3,301

What stands out in ZIP 17842

  • The share of residents born abroad is 0.1%, 94% lower than Snyder County (1.7%).
  • The poverty rate is 11.6%, 23% higher than Snyder County (9.4%).
  • The share of adults with a bachelor's degree is 17.5%, 15% lower than Snyder County (20.6%).
  • The median household income is $62,940, 6% lower than Snyder County ($66,876).

People in ZIP 17842

Median age41.8
Under 1821.9%
65 and older17.7%
Born abroad0.1%
Moved here in the last year4.7%

Age and sex

MaleAgeFemale
2.0%80+2.3%
3.1%70–794.7%
6.5%60–696.4%
8.3%50–596.9%
6.6%40–496.1%
4.3%30–395.9%
8.0%20–295.1%
6.4%10–196.1%
5.8%0–95.5%
Share of all residents in each age group

Race and ethnicity

  • White95.9%
  • Hispanic or Latino2.3%
  • Two or more races1.4%
  • Other0.3%
  • Asian0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

3,301 households, 2.50 people per household on average, 68.8% family households, and 25% people living alone.

Income in ZIP 17842

Median household income$62,940±$4,321
Per-capita income$32,917
Poverty rate11.6%
Income inequality (Gini)0.430 = equal, 1 = unequal

Median household income ranks 1,064th of 1,529 ZIP Codes in Pennsylvania. Richest ZIP Codes in Pennsylvania

17%Under $25k
21%$25k–50k
21%$50k–75k
12%$75k–100k
16%$100k–150k
9%$150k–200k
4%$200k+
Households by annual income

Housing in ZIP 17842

Median home value$210,500
Median gross rent$878/mo
Housing units3,542
Median year built1978
Vacant6.8%

Owners and renters

  • Owner-occupied 74.1%
  • Renter-occupied 25.9%

Types of homes

  • Single-family homes 79.4%
  • 2–9 unit buildings 8.2%
  • 10+ unit buildings 0.5%
  • Mobile homes, RVs 11.8%

Work, commute and education

Mean commute23 minone way
Unemployment rate2.1%
Labor force participation63.9%age 16+
Broadband at home82.7%households

How workers get to work

  • Drove alone81.7%
  • Carpooled7.5%
  • Public transit0.5%
  • Walked2.2%
  • Bicycle0.5%
  • Worked from home7.4%

Education, adults 25+

  • High school or higher84.2%
  • Bachelor's or higher17.5%
  • Graduate or professional degree5%

How ZIP 17842 compares

ZIP 17842Snyder CountyPennsylvaniaUnited States
Median household income$62,940$66,876$77,971$80,734
Per-capita income$32,917$32,232$44,355$44,673
Median home value$210,500$215,300$254,500$332,700
Median gross rent$878/mo$929/mo$1,209/mo$1,413/mo
Homeownership rate74.1%75.6%69.3%65.2%
Median age41.840.640.938.9
Bachelor's degree or higher17.5%20.6%35.2%35.7%
Poverty rate11.6%9.4%11.7%12.5%
Unemployment rate2.1%2.4%5.3%5.2%
Mean commute23 min23 min26 min26 min
Worked from home7.4%9%15.6%15.1%
Broadband at home82.7%83%89.7%91%
Foreign-born residents0.1%1.7%7.7%14.1%

ZIP Codes bordering 17842

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
17861Paxtonville152$66,607$212,90035.6SW · 2.5 mi
17862Penns Creek530$52,868$181,30028.3N · 4.1 mi
17827Freeburg877$61,806$186,10050.2SE · 5.2 mi
17813Beavertown2,028$64,792$189,30038.0W · 7.4 mi
17853Mount Pleasant Mills2,993$63,787$225,90042.0S · 8.0 mi
17870Selinsgrove14,490$70,339$236,80041.7E · 8.2 mi
17889Winfield3,039$89,063$288,90043.9NE · 8.3 mi
17086Richfield1,982$61,875$194,20048.5SW · 8.7 mi
17845Millmont2,058$66,510$197,20046.2NW · 10.5 mi
17844Mifflinburg10,291$68,314$235,00040.1N · 11.2 mi

Cities and communities in 17842

Area codes for 17842

Middleburg phone numbers use area codes 272 and 570. See every phone prefix, carrier and the local time on Middleburg area codes at AreaCodeExplorer.

ZIP Code 17842: questions and answers

What county is ZIP Code 17842 in?
ZIP Code 17842 is in Snyder County, Pennsylvania.
What city is ZIP Code 17842 in?
The Postal Service's default place name for 17842 is Middleburg. The ZIP Code lies outside any incorporated city or Census-designated place: it is unincorporated territory.
What is the population of ZIP Code 17842?
About 8,266 people live in ZIP Code 17842, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 17842 in?
ZIP Code 17842 is in the Eastern Time zone (America/New_York).
What is the median household income in 17842?
The median household income in ZIP Code 17842 is $62,940 (2020–2024 ACS), compared with $66,876 in Snyder County and $77,971 in Pennsylvania.
Which ZIP Codes border 17842?
17861 (Paxtonville), 17862 (Penns Creek), 17827 (Freeburg), 17813 (Beavertown), 17853 (Mount Pleasant Mills), 17870 (Selinsgrove), 17889 (Winfield), 17086 (Richfield), 17845 (Millmont), and 17844 (Mifflinburg).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.