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 — CITY/PA/MIDDLEBURG

Middleburg ZIP code, Pennsylvania

The ZIP code for Middleburg, PA is 17842, and its area codes are 570 and 272.

USPS city name
1 ZIP code
Population
1,181
Area codes
570, 272

Middleburg in numbers

About 1,181 people live in Middleburg, in 557 households. The median household income is $58,523 a year, 25% below the Pennsylvania median of $77,971 (US: $80,734). The median owner-occupied home is valued at $163,700 (36% below the Pennsylvania median), and median gross rent is $798 a month. The median age is 38.8; 27.2% of adults 25 and over hold a bachelor's degree or higher (35.2% across Pennsylvania); the average commute takes 21 minutes.

Population1,181Middleburg1,181
Households557Middleburg557
Median age38.8Middleburg38.8Pennsylvania40.9US 38.9
Median household income$58,523Middleburg$58,523Pennsylvania$77,971US $80,734
Median home value$163,700Middleburg$163,700Pennsylvania$254,500US $332,700
Median gross rent$798Middleburg$798Pennsylvania$1,209US $1,413
Bachelor's degree or higher27.2%Middleburg27.2%Pennsylvania35.2%US 35.7%
Mean commute20.9 minMiddleburg20.9 minPennsylvania26.3 minUS 26.4 min
Population density1,337 / sq miMiddleburg1,337 / sq mi

U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, for the census place Middleburg borough. Survey estimates carry margins of error, wider for small places. Sources and methods.

ZIP codes addressed as Middleburg

ZIP codes with the USPS city name Middleburg
ZIP City Type Population Median income Median home
17842 Middleburg , PA Standard 8,266 $62,940 $210,500

Map of Middleburg ZIP codes

The ZIP codes of Middleburg, PA, shaded. Outlines are Census ZIP Code Tabulation Areas (2020), which approximate the mail routes; PO-box and single-address codes have no area and are not drawn. Click any area to open its ZIP code.

Towns near Middleburg

The nearest larger towns are Mifflinburg (3,473 people, 9.0 mi), Selinsgrove (5,593 people, 9.4 mi) and Shamokin Dam (1,708 people, 12 mi).

Towns near Middleburg
TownPopulationDistance
Mifflinburg 3,473 9.0 mi
Selinsgrove 5,593 9.4 mi
Sunbury 9,617 14.4 mi
Lewisburg 5,257 14.5 mi
Northumberland 3,866 15.1 mi
Millersburg 2,531 17.7 mi
Milton 6,534 17.9 mi
Danville 4,217 25.6 mi
Shamokin 6,853 25.6 mi
Kulpmont 2,724 30.0 mi

More nearby: every ZIP code in Snyder County · Pennsylvania ZIP codes

Cite this page

zipcodes.pro. “Middleburg, PA ZIP codes.” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/city/pa/middleburg

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