ZipCodesToGo
Virginia ZIP Codes
Loudoun County
Middleburg, VA
20117
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.
20117 ZIP code map
View map of 20117
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.
Nearby ZIP codes
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
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
$128,750
Median household income
$856,100
Median home value
$1,483
Median monthly rent
56.4%
Bachelor's or higher
Age distribution
Age summary
Group Count %
Under 18 583 19.5%
18 and over 2,414 80.5%
65 and over 774 25.8%
Median age 52.2 years
Race & ethnicity
Black or African American
7.1%
American Indian / Alaska Native
0.1%
Group Count %
White 2,665 87%
Black or African American 216 7.1%
Two or more races 89 2.9%
Hispanic or Latino 66 2.2%
Other race 23 0.8%
Asian 2 0.1%
American Indian / Alaska Native 2 0.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%
Range % of households
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%
Median income $128,750
Housing
Housing overview
Metric Value
Median home value $856,100
Median rent / month $1,483
Owner occupied 71.2%
Renter occupied 28.8%
Vacant 14.3%
Single-family detached 79.8%
Large apartment buildings 0.9%
Mobile homes 4.1%
Median rooms 7.0
Avg household size (owned) 2.44
Year built
Era %
2020 or later 0.0%
2010–2019 10.3%
2000–2009 16.4%
1990–1999 6.0%
1980–1989 16.8%
1970–1979 5.2%
1960–1969 10.2%
1950–1959 6.1%
1940–1949 5.1%
1939 or earlier 24.0%
Bedrooms
Size % of units
No bedroom (studio) 0.8%
1 bedroom 12.5%
2 bedrooms 20.2%
3 bedrooms 27.6%
4 bedrooms 25.8%
5+ bedrooms 13.2%
Vehicles per household
Vehicles % of households
No vehicle 4.0%
1 vehicle 25.8%
2 vehicles 38.8%
3 or more 31.4%
Heating fuel
Fuel type %
Utility gas 4.3%
Electricity 51.5%
Propane / LP gas 23.9%
Fuel oil 16.4%
Wood 0.4%
Households & families
Household type Count %
Married-couple family 786 57.2%
Cohabiting couple 32 2.3%
Male householder, no spouse 152 11.1%
Female householder, no spouse 403 29.4%
Households with children under 18 281 20.5%
Households with seniors (65+) 552 40.2%
Average household size 2.16
Marital status
Status Male Female
Never married 11.1% 22.5%
Married 76.9% 57.0%
Separated 0.8% 3.0%
Widowed 0.8% 7.5%
Divorced 10.5% 9.9%
Education
Some college, no degree
25.3%
Graduate / professional
20.3%
Metric %
HS diploma or higher 97.3%
Bachelor's or higher 56.4%
School enrollment (ages 3–17)
Type Count %
Nursery / preschool 71 12.3%
Kindergarten 53 9.2%
Elementary school 245 42.3%
High school 158 27.3%
College / grad school 52 9.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%
Transportation & utilities
2.5%
Agriculture & mining
2.1%
Occupation
Category %
Management, business & arts 56.0%
Service 11.5%
Sales & office 26.6%
Natural resources & construction 2.5%
Production & transportation 3.4%
Employment type
Type %
Private sector 74.0%
Government 17.5%
Self-employed 8.4%
Unpaid family workers 0.0%
Commute
Method %
Drive alone 60.4%
Carpool 3.6%
Public transit 1.4%
Walk 3.9%
Work from home 30.4%
Other means 0.4%
Avg commute (minutes) 34.5
Poverty
Married-couple families
5.1%
Female-led households
18.2%
Income support
Source % of households
Social Security 37.9%
Retirement income 28.9%
Supplemental Security 0.6%
Cash public assistance 0.8%
Food stamps / SNAP 5.9%
Health indicators
Condition %
Obesity 31.9%
High blood pressure 35.4%
High cholesterol 35.6%
Diabetes 11.0%
Heart disease 6.5%
Stroke 3.1%
Asthma 9.2%
Arthritis 27.9%
Kidney disease 3.0%
Pulmonary disease 6.2%
Cancer 8.0%
Behavior / access %
Smoking 12.2%
Binge drinking 13.8%
No physical activity 18.6%
Less than 7 hrs sleep 31.3%
Depression 17.8%
Fair or poor health 12.6%
Poor mental health 11.5%
Poor physical health 8.7%
No health insurance 10.2%
Visited doctor (checkup) 77.2%
Visited dentist 73.0%
Cholesterol screening 94.0%
Teeth loss 9.1%
Veterans & disability
Veterans Count %
Civilian veterans 220 9.2%
Disability %
Any disability 8.3%
Under 18 3.3%
18–64 years 2.2%
65 and over 25.1%
Health insurance coverage
Type %
Private insurance 84.8%
Public insurance 28.6%
No insurance 1.9%
Uninsured under 19 0.0%
Language & origin
Language spoken at home (age 5+)
Language Count %
English only 2,845 94.9%
Spanish 16 0.6%
Other Indo-European 12 0.4%
Asian & Pacific Islander 0 0.0%
Other languages 4 0.1%
Place of birth & citizenship
Origin Count %
Native born (US) 2,858 95.4%
Born in same state 2,831 94.5%
Born in different state 1,316 43.9%
Foreign born 27 0.9%
Naturalized citizen 139 4.6%
Not a US citizen 51 36.7%
Ancestry
Ancestry Count %
French 643 21.5%
Arab 456 15.2%
Italian 348 11.6%
English 30 1%
Ancestry Count %
Dutch 8 0.3%
Norwegian 3 0.1%
German 2 0.1%
Technology access
Metric % of households
Computer access 45.8%
Internet access 97.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 →