20117 ZIP Code — Middleburg, VA

Loudoun County, Virginia

ZIP code 20117 is located in Middleburg, Virginia, within Loudoun County. It covers approximately 48.61 square miles and serves a population of 2,997 residents. This is a standard ZIP code in the Eastern (ET) timezone, served by area code 540.

About ZIP code 20117

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 $856,100. Owner-occupancy sits near the national average at 71%.

The gap between median ($128,750) and mean household income suggests income inequality — a small number of higher earners pull the average up. 38% of households receive Social Security income, suggesting a notable retiree or disability population.

The dominant occupation class is management, business, and professional, with professional and management as the leading industry. The average commute of 35 minutes is near the national average. Remote work is prevalent — 30% of workers work from home.

Educational attainment is high — 56% of residents hold a bachelor's degree or higher, well above the national average of 33%.

Overall, ZIP code 20117 reflects a community defined by a highly educated population, a high rate of remote workers, and a significant Social Security-dependent population.

2,997
population
48.61
sq mi land
Standard
ZIP type
Eastern (ET)
timezone
20117 ZIP code map
Cities in ZIP code 20117

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

City Status
Middleburg Preferred
Nearby ZIP codes
20184 Upperville (7.3 mi) 20105 Aldie (7.5 mi) 20198 The Plains (8.1 mi) 20175 Leesburg (8.2 mi) 20141 Round Hill (8.2 mi) 20169 Haymarket (10.1 mi) 20135 Bluemont (10.5 mi) 20158 Hamilton (10.9 mi) 20144 Delaplane (11.8 mi) 20148 Ashburn (11.9 mi) 20132 Purcellville (12.4 mi) 20137 Broad Run (12.9 mi)
Demographics updated 05/2026
Population
Total population 2,997
Population density 62 / sq mi
State FIPS 51
County FIPS 107
Geography
Land area 48.61 sq mi
Water area 0.54 sq mi
Latitude 38.9950
Longitude -77.7370
Timezone Eastern (ET)
Area code 540
Total population by age
Gender
Race & ethnicity
Economics updated 05/2026
Household income
Income range This ZIP County avg State avg
Under $50k 27.7% 12.4% 32.9%
$50k – $100k 19.0% 18.8% 29.2%
$100k – $200k 25.3% 37.1% 26.3%
Over $200k 28.0% 31.8% 11.6%

Demographics & statistics

2,997
Population
62
People per sq mi
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

Income range This ZIP County avg State avg
Under $50k 27.7% 12.4% 32.9%
$50k – $100k 19.0% 18.8% 29.2%
$100k – $200k 25.3% 37.1% 26.3%
Over $200k 28.0% 31.8% 11.6%
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%
Work from home30.4%
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%
Obesity31.9%
High blood pressure35.4%
High cholesterol35.6%
Diabetes11.0%
Heart disease6.5%
Stroke3.1%
Asthma9.2%
Arthritis27.9%
Kidney disease3.0%
Pulmonary disease6.2%
Cancer8.0%
Behavior / access%
Smoking12.2%
Binge drinking13.8%
No physical activity18.6%
Less than 7 hrs sleep31.3%
Depression17.8%
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%
No insurance1.9%
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 about ZIP code 20117

What city is ZIP code 20117 in?

ZIP code 20117 is primarily assigned to Middleburg, Virginia.

What county is ZIP code 20117 in?

ZIP code 20117 falls within Loudoun County, Virginia.

Does ZIP code 20117 have an older population?

26% of residents in ZIP code 20117 are 65 or older, above the national average of ~17%.

How educated is the population of ZIP code 20117?

56% of residents hold a bachelor's degree or higher — well above the national average of ~33%, reflecting a highly educated population.

Does ZIP code 20117 have a large retiree population?

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

What is the median household income in ZIP code 20117?

The median household income in ZIP code 20117 is $128,750, above the national median of ~$75,000.

What timezone is ZIP code 20117 in?

ZIP code 20117 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 →