Every ZIP code in the United States, with weather, radar, trivia and the numbers behind it. Five digits since 1963!

ZIP stands for Zone Improvement Plan. The codes went live on July 1, 1963.The lowest ZIP code is 00501 — the IRS in Holtsville, New York.The highest ZIP code is 99950, in Ketchikan, Alaska.Type 07734 into a calculator and turn it upside down: hELLO. It is Keansburg, New Jersey.12345 belongs to one company: General Electric in Schenectady, New York.The first digit is a region: 0 is New England and New Jersey, 9 is the West Coast, Alaska and Hawaii.Mr. ZIP, the cartoon mailman, was the mascot that sold the idea to America.ZIP+4 arrived in 1983 and can narrow a ZIP down to one side of one block.A ZIP code is a mail route, not a place: plenty of them cross county and even state lines.Play ZIP Hunt: guess the secret ZIP code of the day in six tries.
zipcodes.pro: ZIP/17842

17842

Updated

ZIP 17842 is Middleburg, Pennsylvania, in Snyder County; area codes 570 and 272; Eastern time.

Type
Standard
Time zone
America/New_York
County
Snyder
Metro area
Selinsgrove, PA
Population
8,266
Coordinates
40.8013, -77.0435
☼ Live from 17842 — Middleburg, PA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 17842 is

Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.

People and housing

Population8,266This ZIP8,266
Households3,301This ZIP3,301
Housing units3,542This ZIP3,542
Median age41.8This ZIP41.8Pennsylvania40.9US 38.9
Median household income$62,940This ZIP$62,940Pennsylvania$77,971US $80,734
Median home value$210,500This ZIP$210,500Pennsylvania$254,500US $332,700
Median gross rent$878This ZIP$878Pennsylvania$1,209US $1,413
Bachelor's degree or higher17.5%This ZIP17.5%
Mean commute22.8 minThis ZIP22.8 min
Population density104.1 / sq miThis ZIP104.1 / sq mi

How 17842 compares

17842 ranked against the ZIP codes where people live in Snyder County and Pennsylvania
Measure 17842 Rank in county Above, in PA
Median household income $62,940 7th of 11 30%
Median home value $210,500 4th of 11 54%
Median gross rent $878 7th of 10 35%
Population 8,266 2nd of 12 72%
Median age 41.8 6th of 11 37%
Bachelor's degree or higher 17.5% 5th of 11 32%
People per square mile 104 8th of 12 32%

Rank in county is among the ZIP codes of Snyder County, 1 being the highest; "Above, in PA" is the share of Pennsylvania's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.

Business and tax activity

Business establishments147This ZIP147
Employees1,813This ZIP1,813
Annual payroll$81,190,000This ZIP$81,190,000
Tax returns filed4,120This ZIP4,120
Total adjusted gross income$242,696,000This ZIP$242,696,000

Land area

Land area79.37 sq miThis ZIP79.37 sq mi
Water area0.51 sq miThis ZIP0.51 sq mi

Other place names in 17842

Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.

Neighbouring ZIP codes compared

The closest ZIP codes where people live, by distance between their centres.

ZIPTownDistance PopulationMedian income Median home
17842 Middleburg, PA (this ZIP) — 8,266 $62,940 $210,500
17861 Paxtonville, PA 2.5 mi 152 $66,607 $212,900
17862 Penns Creek, PA 4.1 mi 530 $52,868 $181,300
17827 Freeburg, PA 5.2 mi 877 $61,806 $186,100
17855 New Berlin, PA 7.3 mi 1,014 $88,929 $216,700
17813 Beavertown, PA 7.4 mi 2,028 $64,792 $189,300
17853 Mount Pleasant Mills, PA 8.0 mi 2,993 $63,787 $225,900

Other ZIP codes nearby

These serve PO boxes, a single organisation or a post office, so they have no residents to compare.

Find every ZIP code within 10 miles of 17842 →

★ Weird and wonderful facts about 17842
  • 🔢 Type 17842 into a pocket calculator and turn it upside down: ZhBLI — not quite a word, sorry.
  • 🏠 Its numerical neighbours: 17841 (McClure, PA, 18 mi away) and 17843 (Beaver Springs, PA, 9 mi away).
  • 🧭 Farther north than 65% of all ZIP codes, and farther east than 81%.
  • 🎯1,134 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • ☀Longest day of the year: 15h 06m of daylight. Shortest: 9h 14m.
  • 📏 At 79.4 square miles of land, 17842 is bigger than 72% of ZIP codes — room for about 60 Central Parks.
🌙 The sky over 17842 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

Questions about this ZIP code

Where is ZIP code 17842?

17842 is in Middleburg, Pennsylvania, in Snyder County, part of the Selinsgrove, PA micropolitan area. Its published point location is 40.8013, -77.0435.

What county is 17842 in?

17842 lies in Snyder County.

What area code is 17842?

Middleburg uses area codes 570 and 272, from NANPA's telephone records.

What time zone is 17842 in?

17842 uses America/New_York.

How many people live in 17842?

About 8,266 people live in ZIP code 17842, in 3,301 households, at 104.1 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.

What is the median household income in 17842?

$62,940 a year, against $77,971 across Pennsylvania.

What ZIP codes are near 17842?

The closest where people live are 17861 (2.5 mi), 17862 (4.1 mi), 17827 (5.2 mi), 17855 (7.3 mi) and 17813 (7.4 mi).

Is 17842 a PO Box ZIP code?

17842 is a standard ZIP code. A normal ZIP code with street delivery.

Download or cite

Cite this page

zipcodes.pro. “17842 ZIP Code: Middleburg, Pennsylvania (Snyder County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/17842

Machine-readable version of these facts:

curl https://zipcodes.pro/zip/17842.json

Underlying data is public domain or openly licensed — sources, vintages and licences.