17842 ZIP Code — Middleburg, PA

Snyder County, Pennsylvania

ZIP code 17842 is located in Middleburg, Pennsylvania, within Snyder County. It covers approximately 79.37 square miles and serves a population of 8,174 residents. This is a standard ZIP code in the Eastern (ET) timezone, served by area code 570.

About ZIP code 17842

The housing stock consists of predominantly single-family detached homes. Most homes were built in the pre-1940, giving the area an established character. Median home value is $185,000. Owner-occupancy is high at 77%, well above the national average.

Median household income is $60,338. 38% of households receive Social Security income, suggesting a notable retiree or disability population.

The dominant occupation class is management, business, and professional, with education and healthcare as the leading industry. The average commute of 23 minutes is near the national average.

College attainment at 17% is below the national average, consistent with a trades and production-oriented local economy.

Health indicators show elevated rates of smoking (23%) compared to national benchmarks.

Overall, ZIP code 17842 reflects a community defined by a trades-oriented workforce, high homeownership, and a significant Social Security-dependent population.

8,174
population
79.37
sq mi land
Standard
ZIP type
Eastern (ET)
timezone
17842 ZIP code map
Cities in ZIP code 17842

Below are the cities the US Postal Service accepts for ZIP code 17842. Using any city not on this list may result in mail delivery delays.

City Status
Middleburg Acceptable
Middleburg Preferred
Nearby ZIP codes
17843 Beaver Springs (3.2 mi) 17827 Freeburg (4.2 mi) 17870 Selinsgrove (6 mi) 17853 Mount Pleasant Mills (6.3 mi) 17855 New Berlin (7.3 mi) 17864 Port Trevorton (7.7 mi) 17813 Beavertown (8.4 mi) 17086 Richfield (8.8 mi) 17889 Winfield (9.8 mi) 17014 Cocolamus (10.1 mi) 17876 Shamokin Dam (11.3 mi) 17017 Dalmatia (11.9 mi)
Demographics updated 05/2026
Population
Total population 8,174
Population density 103 / sq mi
State FIPS 42
County FIPS 109
Geography
Land area 79.37 sq mi
Water area 0.51 sq mi
Latitude 40.7878
Longitude -77.0181
Timezone Eastern (ET)
Area code 570
Total population by age
Gender
Race & ethnicity
Economics updated 05/2026
Household income
Income range This ZIP County avg State avg
Under $50k 42.6% 41.8% 39.8%
$50k – $100k 39.0% 36.9% 30.8%
$100k – $200k 14.0% 17.3% 22.4%
Over $200k 4.4% 4.1% 7.1%

Demographics & statistics

8,174
Population
103
People per sq mi
44.4
Median age
$60,338
Median household income
$33,856
Per capita income
$185,000
Median home value
$809
Median monthly rent
76.6%
Home ownership
10.9%
Poverty rate
1.7%
Unemployment
2,758
Housing units
17.1%
Bachelor's or higher

Age distribution

Male Female
198
Under 5
191
203
5–9
196
268
10–14
260
283
15–19
274
256
20–24
247
412
25–34
398
486
35–44
471
622
45–54
602
277
55–59
269
319
60–64
308
454
65–74
440
273
75–84
265
103
85+
99
← Male
Female →

Age summary

GroupCount%
Under 181,67820.5%
18 and over6,49679.5%
65 and over1,63420.0%
Median age44.4 years

Race & ethnicity

White 96.7%
Two or more races 1.6%
Hispanic or Latino 0.9%
Other race 0.3%
Black or African American 0.2%
Asian 0.2%
GroupCount%
White7,97496.7%
Two or more races1341.6%
Hispanic or Latino740.9%
Other race230.3%
Black or African American200.2%
Asian200.2%

Household income

Income range This ZIP County avg State avg
Under $50k 42.6% 41.8% 39.8%
$50k – $100k 39.0% 36.9% 30.8%
$100k – $200k 14.0% 17.3% 22.4%
Over $200k 4.4% 4.1% 7.1%
Under $10k 3.9%
$10k–$15k 6.6%
$15k–$25k 6.5%
$25k–$35k 9.3%
$35k–$50k 12.9%
$50k–$75k 19.7%
$75k–$100k 17.0%
$100k–$150k 13.0%
$150k–$200k 6.4%
$200k+ 4.7%
Range% of households
Under $10k3.9%
$10k–$15k6.6%
$15k–$25k6.5%
$25k–$35k9.3%
$35k–$50k12.9%
$50k–$75k19.7%
$75k–$100k17.0%
$100k–$150k13.0%
$150k–$200k6.4%
$200k+4.7%
Median income$60,338

Housing

Home values

Under $50k 7.4%
$50k–$100k 8.3%
$100k–$150k 16.6%
$150k–$200k 25.6%
$200k–$300k 23.7%
$300k–$500k 12.1%
$500k–$1M 4.8%
$1M+ 1.4%

Housing overview

MetricValue
Median home value$185,000
Median rent / month$809
Owner occupied76.6%
Renter occupied23.4%
Vacant6.9%
Single-family detached76.9%
Large apartment buildings0.5%
Mobile homes12.0%
Median rooms6.2
Avg household size (owned)2.49

Year built

Era%
2020 or later0.7%
2010–20194.2%
2000–200912.5%
1990–199915.7%
1980–198913.4%
1970–197915.8%
1960–19699.2%
1950–19595.7%
1940–19493.9%
1939 or earlier18.8%

Bedrooms

Size% of units
No bedroom (studio)0.1%
1 bedroom6.3%
2 bedrooms18.5%
3 bedrooms56.8%
4 bedrooms15.7%
5+ bedrooms2.5%

Vehicles per household

Vehicles% of households
No vehicle3.9%
1 vehicle29.3%
2 vehicles35.9%
3 or more30.9%

Heating fuel

Fuel type%
Utility gas6.7%
Electricity28.1%
Propane / LP gas7.4%
Fuel oil41.6%
Wood11.5%
Solar0.4%
No fuel used0.2%

Households & families

Household typeCount%
Married-couple family1,79654.7%
Cohabiting couple2778.4%
Male householder, no spouse57417.5%
Female householder, no spouse63519.3%
Households with children under 1883325.4%
Households with seniors (65+)1,15135.1%
Average household size2.49

Marital status

StatusMaleFemale
Never married27.3%22.7%
Married54.1%53.6%
Separated2.4%2.4%
Widowed5.2%10.1%
Divorced11.1%11.3%

Education

Less than 9th grade 4.8%
Some HS, no diploma 11.0%
HS graduate 47.3%
Some college, no degree 13.1%
Associate's degree 6.7%
Bachelor's degree 12.5%
Graduate / professional 4.6%
Metric%
HS diploma or higher84.2%
Bachelor's or higher17.1%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool885.0%
Kindergarten925.2%
Elementary school66838.0%
High school63636.2%
College / grad school27415.6%

Employment

Industry of employment

Education & healthcare 24.4%
Manufacturing 17.1%
Retail trade 13.5%
Construction 11.1%
Arts, food & hospitality 5.9%
Professional & management 5.5%
Agriculture & mining 4.9%
Transportation & utilities 4.5%
Other services 4.1%
Public administration 4.1%
Wholesale trade 2.2%
Finance & real estate 2.1%
Information 0.6%

Occupation

Category%
Management, business & arts28.3%
Service15.2%
Sales & office20.7%
Natural resources & construction14.3%
Production & transportation21.5%

Employment type

Type%
Private sector79.6%
Government11.5%
Self-employed8.6%
Unpaid family workers0.2%

Commute

Method%
Drive alone82.4%
Carpool8.1%
Public transit0.6%
Walk1.4%
Work from home6.7%
Other means0.8%
Avg commute (minutes)23.4

Poverty

All people 10.9%
Under 18 years 14.8%
18 and over 9.9%
Married-couple families 3.8%
Female-led households 24.1%

Income support

Source% of households
Social Security38.4%
Retirement income24.3%
Supplemental Security4.7%
Cash public assistance2.1%
Food stamps / SNAP11.5%

Health indicators

Condition%
Obesity39.4%
High blood pressure33.3%
High cholesterol33.0%
Diabetes10.6%
Heart disease7.1%
Stroke3.2%
Asthma10.5%
Arthritis28.9%
Kidney disease3.0%
Pulmonary disease8.7%
Cancer6.8%
Behavior / access%
Smoking22.8%
Binge drinking18.8%
No physical activity26.3%
Less than 7 hrs sleep37.1%
Depression23.6%
Fair or poor health15.9%
Poor mental health16.6%
Poor physical health11.8%
No health insurance11.7%
Visited doctor (checkup)76.4%
Visited dentist61.4%
Cholesterol screening88.2%
Teeth loss16.9%

Veterans & disability

VeteransCount%
Civilian veterans3455.3%
Disability%
Any disability13.4%
Under 183.6%
18–64 years9.0%
65 and over36.5%

Health insurance coverage

Type%
Private insurance67.5%
Public insurance38.1%
No insurance9.6%
Uninsured under 199.4%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only7,78595.2%
Spanish470.6%
Other Indo-European210.3%
Asian & Pacific Islander140.2%
Other languages120.2%

Place of birth & citizenship

OriginCount%
Native born (US)8,13299.5%
Born in same state8,06998.7%
Born in different state7,34289.8%
Foreign born630.8%
Naturalized citizen420.5%
Not a US citizen2661.9%

Ancestry

AncestryCount%
Italian6287.7%
Arab6277.7%
French5266.4%
English1872.3%
AncestryCount%
German120.1%
Irish70.1%
Norwegian40%
Dutch40%

Technology access

Metric% of households
Computer access40.2%
Internet access86.4%

Source: U.S. Census Bureau, American Community Survey 2025 estimates.

Frequently asked questions about ZIP code 17842

What city is ZIP code 17842 in?

ZIP code 17842 is primarily assigned to Middleburg, Pennsylvania.

What county is ZIP code 17842 in?

ZIP code 17842 falls within Snyder County, Pennsylvania.

Does ZIP code 17842 have a large retiree population?

38% of households in ZIP code 17842 receive Social Security income, suggesting a significant retiree or disability population.

What is the typical home value in ZIP code 17842?

The median home value in ZIP code 17842 is $185,000.

What is the population of ZIP code 17842?

ZIP code 17842 has an estimated population of 8,174 residents, with a density of 103 people per square mile.

What is the median household income in ZIP code 17842?

The median household income in ZIP code 17842 is $60,338, below the national median of ~$75,000.

What timezone is ZIP code 17842 in?

ZIP code 17842 observes the EST timezone.

Need the complete ZIP code database? Download all 42,000+ US ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →