Middleburg ZIP Codes — Loudoun County, VA

There are 2 unique ZIP codes in Middleburg, Virginia. Area code: 540.
2
ZIP codes
48.61
sq mi land
0.54
sq mi water
540
area code
Middleburg, VA ZIP code map

About Middleburg, VA

Middleburg, Virginia, is a charming town located in Loudoun County. Known for its rich history and picturesque landscapes, it attracts visitors with its quaint shops and historic architecture. The town’s appeal is enhanced by its equestrian culture and proximity to the scenic Virginia countryside.

Location & geography

Middleburg is situated in the northern part of Virginia, approximately 25 miles from Washington, D.C. It is surrounded by several neighboring cities, including Leesburg to the north, which is about 16 miles away, and Warrenton to the south, roughly 18 miles distant. The town encompasses a land area of 48.61 square miles, with a small water area of 0.54 square miles.

Community & economy

The character of Middleburg is defined by its strong sense of community and a commitment to preserving its historical integrity. The town is primarily supported by industries such as tourism, agriculture, and equestrian-related businesses, making it a unique blend of rural and suburban life. Daily life in Middleburg revolves around local events, equestrian activities, and community gatherings that strengthen the bonds among residents.

Transportation

Middleburg is accessible via several major highways, including VA-50, which connects it to the broader regions of Virginia and beyond. The nearest airport is Washington Dulles International Airport, located about 30 miles away, providing convenient air travel options. Public transit options are limited, emphasizing the town’s rural charm and community-oriented lifestyle.

History

Middleburg was founded in 1787 and has since been a significant center for the equestrian community in Virginia. Historically, it played an important role during the Civil War, serving as a strategic location due to its position along key supply routes. Notable events, such as the annual hunt season and local festivals, continue to highlight the town's cultural heritage.

Did you know?

One surprising fact about Middleburg is that it is often referred to as the 'Horse and Hunt Capital of the World.' Despite its small size, the town hosts numerous equestrian events throughout the year, attracting visitors from all over the country.

ZIP codes for Middleburg, VA (2)
ZIP code City County Map
20117 Middleburg Loudoun View map
20118 Middleburg Loudoun View map

Demographics & statistics

2,997
Population
52.2
Median age
$128,750
Median household income
$89,746
Per capita income
$856,100
Median home value
$1,483
Median monthly rent
71.2%
Home ownership
8.7%
Poverty rate
3.0%
Unemployment
1,208
Housing units
56.4%
Bachelor's or higher

Age distribution

Male Female
61
Under 5
91
66
5–9
97
59
10–14
87
85
15–19
127
25
20–24
36
89
25–34
133
116
35–44
172
180
45–54
269
62
55–59
92
151
60–64
225
170
65–74
252
122
75–84
181
20
85+
29
← Male
Female →

Age summary

GroupCount%
Under 1858319.5%
18 and over2,41480.5%
65 and over77425.8%
Median age52.2 years

Race & ethnicity

White 87%
Black or African American 7.1%
Two or more races 2.9%
Hispanic or Latino 2.2%
Other race 0.8%
Asian 0.1%
American Indian / Alaska Native 0.1%
GroupCount%
White2,66587%
Black or African American2167.1%
Two or more races892.9%
Hispanic or Latino662.2%
Other race230.8%
Asian20.1%
American Indian / Alaska Native20.1%

Household income

Under $10k 2.3%
$10k–$15k 1.0%
$15k–$25k 11.1%
$25k–$35k 1.2%
$35k–$50k 10.4%
$50k–$75k 9.1%
$75k–$100k 6.0%
$100k–$150k 13.0%
$150k–$200k 9.2%
$200k+ 36.6%
Range% of households
Under $10k2.3%
$10k–$15k1.0%
$15k–$25k11.1%
$25k–$35k1.2%
$35k–$50k10.4%
$50k–$75k9.1%
$75k–$100k6.0%
$100k–$150k13.0%
$150k–$200k9.2%
$200k+36.6%
Median income$128,750

Housing

Home values

$150k–$200k 1.6%
$200k–$300k 2.8%
$300k–$500k 14.0%
$500k–$1M 48.0%
$1M+ 33.6%

Housing overview

MetricValue
Median home value$856,100
Median rent / month$1,483
Owner occupied71.2%
Renter occupied28.8%
Vacant14.3%
Single-family detached79.8%
Large apartment buildings0.9%
Mobile homes4.1%
Median rooms7.0
Avg household size (owned)2.44

Year built

Era%
2020 or later0.0%
2010–201910.3%
2000–200916.4%
1990–19996.0%
1980–198916.8%
1970–19795.2%
1960–196910.2%
1950–19596.1%
1940–19495.1%
1939 or earlier24.0%

Bedrooms

Size% of units
No bedroom (studio)0.8%
1 bedroom12.5%
2 bedrooms20.2%
3 bedrooms27.6%
4 bedrooms25.8%
5+ bedrooms13.2%

Vehicles per household

Vehicles% of households
No vehicle4.0%
1 vehicle25.8%
2 vehicles38.8%
3 or more31.4%

Heating fuel

Fuel type%
Utility gas4.3%
Electricity51.5%
Propane / LP gas23.9%
Fuel oil16.4%
Wood0.4%

Households & families

Household typeCount%
Married-couple family78657.2%
Cohabiting couple322.3%
Male householder, no spouse15211.1%
Female householder, no spouse40329.4%
Households with children under 1828120.5%
Households with seniors (65+)55240.2%
Average household size2.16

Marital status

StatusMaleFemale
Never married11.1%22.5%
Married76.9%57.0%
Separated0.8%3.0%
Widowed0.8%7.5%
Divorced10.5%9.9%

Education

Less than 9th grade 1.5%
Some HS, no diploma 1.1%
HS graduate 12.1%
Some college, no degree 25.3%
Associate's degree 3.5%
Bachelor's degree 36.1%
Graduate / professional 20.3%
Metric%
HS diploma or higher97.3%
Bachelor's or higher56.4%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool7112.3%
Kindergarten539.2%
Elementary school24542.3%
High school15827.3%
College / grad school529.0%

Employment

Industry of employment

Professional & management 18.9%
Finance & real estate 16.3%
Public administration 13.7%
Arts, food & hospitality 8.9%
Education & healthcare 8.3%
Other services 7.9%
Retail trade 6.9%
Construction 5.1%
Manufacturing 4.5%
Transportation & utilities 2.5%
Information 2.5%
Wholesale trade 2.4%
Agriculture & mining 2.1%

Occupation

Category%
Management, business & arts56.0%
Service11.5%
Sales & office26.6%
Natural resources & construction2.5%
Production & transportation3.4%

Employment type

Type%
Private sector74.0%
Government17.5%
Self-employed8.4%
Unpaid family workers0.0%

Commute

Method%
Drive alone60.4%
Carpool3.6%
Public transit1.4%
Walk3.9%
Other means0.4%
Avg commute (minutes)34.5

Poverty

All people 8.7%
Under 18 years 9.7%
18 and over 8.4%
Married-couple families 5.1%
Female-led households 18.2%

Income support

Source% of households
Social Security37.9%
Retirement income28.9%
Supplemental Security0.6%
Cash public assistance0.8%
Food stamps / SNAP5.9%

Health indicators

Condition%
High blood pressure35.4%
High cholesterol35.6%
Heart disease6.5%
Stroke3.1%
Asthma9.2%
Arthritis27.9%
Kidney disease3.0%
Pulmonary disease6.2%
Cancer8.0%
Behavior / access%
Binge drinking13.8%
No physical activity18.6%
Less than 7 hrs sleep31.3%
Fair or poor health12.6%
Poor mental health11.5%
Poor physical health8.7%
No health insurance10.2%
Visited doctor (checkup)77.2%
Visited dentist73.0%
Cholesterol screening94.0%
Teeth loss9.1%

Veterans & disability

VeteransCount%
Civilian veterans2209.2%
Disability%
Any disability8.3%
Under 183.3%
18–64 years2.2%
65 and over25.1%

Health insurance coverage

Type%
Private insurance84.8%
Public insurance28.6%
Uninsured under 190.0%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only2,84594.9%
Spanish160.6%
Other Indo-European120.4%
Asian & Pacific Islander00.0%
Other languages40.1%

Place of birth & citizenship

OriginCount%
Native born (US)2,85895.4%
Born in same state2,83194.5%
Born in different state1,31643.9%
Foreign born270.9%
Naturalized citizen1394.6%
Not a US citizen5136.7%

Ancestry

AncestryCount%
French64321.5%
Arab45615.2%
Italian34811.6%
English301%
AncestryCount%
Dutch80.3%
Norwegian30.1%
German20.1%

Technology access

Metric% of households
Computer access45.8%
Internet access97.2%

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

Frequently asked questions
What ZIP codes does Middleburg, VA have?
Middleburg, VA has one ZIP code: 20117. Each ZIP code serves a distinct delivery area within the city and surrounding region.
Need the complete Virginia ZIP code database? Download all VA ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →