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/VA/MIDDLEBURG

Middleburg ZIP codes, Virginia

Updated

Checked against GeoNames US postal codes: Middleburg, VA has 2 ZIP codes, main ZIP 20117. They are 20117 and 20118. Its area codes are 540 and 826.

USPS city name
2 ZIP codes
Largest ZIP code
20117
Time zone
Eastern time
Population
774
Area codes
540, 826

Middleburg in numbers

About 774 people live in Middleburg, in 398 households. The median household income is $104,545 a year, 12% above the Virginia median of $93,170 (US: $80,734). The median owner-occupied home is valued at $777,000 (2.0 times the Virginia median), and median gross rent is $1,517 a month. The median age is 54.1; 60.4% of adults 25 and over hold a bachelor's degree or higher (42.2% across Virginia); the average commute takes 28 minutes.

Population774Middleburg774
Households398Middleburg398
Median age54.1Middleburg54.1Virginia39.0US 38.9
Median household income$104,545Middleburg$104,545Virginia$93,170US $80,734
Median home value$777,000Middleburg$777,000Virginia$383,700US $332,700
Median gross rent$1,517Middleburg$1,517Virginia$1,579US $1,413
Bachelor's degree or higher60.4%Middleburg60.4%Virginia42.2%US 35.7%
Mean commute28.3 minMiddleburg28.3 minVirginia27.3 minUS 26.4 min
Population density746 / sq miMiddleburg746 / sq mi

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

Quick answers

How many ZIP codes does Middleburg have?

Middleburg has 2 ZIP codes addressed as Middleburg.

What is the main ZIP code for Middleburg?

The largest ZIP code addressed as Middleburg by population is 20117, with 2,790 residents.

What area code is Middleburg?

Middleburg uses area codes 540 and 826.

What county is Middleburg in?

Middleburg is in Loudoun County, Virginia.

What time zone is Middleburg in?

Middleburg is in Eastern time.

ZIP codes addressed as Middleburg

ZIP codes with the USPS city name Middleburg
ZIP City Type Population Median income Median home
20117 Middleburg , VA Standard 2,790 $146,120 $937,100

Plus 1 ZIP code with no one to count: PO boxes, single organisations, post offices and areas of under 100 residents. 20118

Map of Middleburg ZIP codes

The ZIP codes of Middleburg, VA, 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 Bull Run Mountain Estates (1,827 people, 5.8 mi), Marshall (3,219 people, 8.9 mi) and Stone Ridge (16,603 people, 10 mi).

Towns near Middleburg
TownPopulationDistance
Stone Ridge 16,603 10.4 mi
Brambleton 24,537 11.2 mi
Purcellville 8,973 11.7 mi
Broadlands 14,353 12.4 mi
Loudoun Valley Estates 10,271 12.5 mi
South Riding 34,352 12.9 mi
Gainesville 18,196 13.3 mi
Moorefield 6,123 13.5 mi
Leesburg 49,171 13.5 mi
Belmont 9,729 14.6 mi
Ashburn 46,026 15.0 mi
New Baltimore 11,919 15.8 mi
Lansdowne 12,328 15.9 mi
Bull Run 7,823 16.2 mi

More nearby: every ZIP code in Loudoun County · Virginia ZIP codes

Cite this page

zipcodes.pro. “Middleburg, VA ZIP codes.” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/city/va/middleburg

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