Loudoun County · Virginia

ZIP Code 20117

Middleburg, VA · 2,790 residents

County
Loudoun County +1 more
City (USPS)
Middleburg
Time zone
Eastern Time
Coordinates
38.9988° N, 77.7339° W
Land area
48.6 sq mi · 57 people/sq mi
77.9°W77.8°W77.7°W77.6°W77.5°W38.9°N39.0°N39.1°NZIP 20105ZIP 20115ZIP 20130ZIP 20132ZIP 20135ZIP 20141ZIP 20143ZIP 20144ZIP 20147ZIP 20148ZIP 20152ZIP 20158ZIP 20166ZIP 20169ZIP 20175ZIP 20176ZIP 20184ZIP 20198ZIP 22611ZIP 22620ZIP 22639201982017520135201842014420105201482013020152201175 miN
ZIP Code 20117 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 20117 in?

ZIP Code 20117 is mainly in Loudoun County, Virginia, which covers 89% of its land. It also extends into Fauquier County (11%).

The Postal Service's default place name for 20117 is Middleburg. By Census boundaries it covers Middleburg (town, 2% of the land). The remaining 98% is unincorporated.

Population2,790±629
Median household income$146,120
Median home value$937,100
Median rent$1,843/mo
Median age53.4
Households1,263

What stands out in ZIP 20117

  • The share of residents born abroad is 5.8%, 79% lower than Loudoun County (27.4%).
  • The poverty rate is 14.9%, 3.5× the Loudoun County (4.2%).
  • The median age is 53.4 years, 40% higher than Loudoun County (38.2 years).
  • The average household size is 2.19 people, 27% lower than Loudoun County (3.02 people).

People in ZIP 20117

Median age53.4
Under 1817.6%
65 and older26.6%
Born abroad5.8%
Moved here in the last year11.5%

Age and sex

MaleAgeFemale
1.4%80+1.8%
8.0%70–797.4%
9.7%60–6910.7%
5.5%50–599.7%
5.9%40–493.7%
5.3%30–397.3%
0.5%20–290.7%
6.3%10–192.7%
4.3%0–98.9%
Share of all residents in each age group

Race and ethnicity

  • White83.4%
  • Hispanic or Latino10.1%
  • Black5.2%
  • Two or more races1.3%
  • Asian0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

1,263 households, 2.19 people per household on average, 64.4% family households, and 33% people living alone.

Income in ZIP 20117

Median household income$146,120±$49,330
Per-capita income$109,558
Poverty rate14.9%
Income inequality (Gini)0.530 = equal, 1 = unequal

Median household income ranks 67th of 779 ZIP Codes in Virginia. Richest ZIP Codes in Virginia

9%Under $25k
6%$25k–50k
10%$50k–75k
10%$75k–100k
17%$100k–150k
7%$150k–200k
41%$200k+
Households by annual income

Housing in ZIP 20117

Median home value$937,100
Median gross rent$1,843/mo
Housing units1,416
Median year built1981
Vacant10.8%

Owners and renters

  • Owner-occupied 73.4%
  • Renter-occupied 26.6%

Types of homes

  • Single-family homes 93.4%
  • 2–9 unit buildings 0.8%
  • 10+ unit buildings 2.6%
  • Mobile homes, RVs 3.2%

Work, commute and education

Mean commute33 minone way
Unemployment rate3.3%
Labor force participation63%age 16+
Broadband at home88.8%households

How workers get to work

  • Drove alone65.4%
  • Carpooled2.5%
  • Public transit0%
  • Walked3.3%
  • Bicycle0%
  • Worked from home27.9%

Education, adults 25+

  • High school or higher96.5%
  • Bachelor's or higher58.7%
  • Graduate or professional degree30.7%

How ZIP 20117 compares

ZIP 20117Loudoun CountyVirginiaUnited States
Median household income$146,120$181,765$93,170$80,734
Per-capita income$109,558$71,986$50,666$44,673
Median home value$937,100$743,800$383,700$332,700
Median gross rent$1,843/mo$2,386/mo$1,579/mo$1,413/mo
Homeownership rate73.4%77.9%67.3%65.2%
Median age53.438.239.038.9
Bachelor's degree or higher58.7%64.6%42.2%35.7%
Poverty rate14.9%4.2%9.9%12.5%
Unemployment rate3.3%3.3%4.3%5.2%
Mean commute33 min30 min27 min26 min
Worked from home27.9%31.2%18.3%15.1%
Broadband at home88.8%97%91%91%
Foreign-born residents5.8%27.4%13.1%14.1%

ZIP Codes bordering 20117

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
20105Aldie37,639$219,123$858,90036.2SE · 7.7 mi
20184Upperville635$50,278–34.0W · 7.8 mi
20198The Plains2,251$106,518$933,00044.8S · 7.9 mi
20175Leesburg34,733$174,854$780,60038.1NE · 8.3 mi
20141Round Hill8,359$210,563$736,70037.0N · 9.0 mi
20135Bluemont3,585$114,219$573,50047.3NW · 10.2 mi
20132Purcellville19,817$181,875$776,30040.6N · 11.5 mi
20115Marshall8,173$142,981$657,30043.7SW · 15.1 mi

Cities and communities in 20117

ZIP Code 20117: questions and answers

What county is ZIP Code 20117 in?
ZIP Code 20117 is mainly in Loudoun County, Virginia, which covers 89% of its land. It also extends into Fauquier County (11%).
What city is ZIP Code 20117 in?
The Postal Service's default place name for 20117 is Middleburg. By Census boundaries it covers Middleburg (town, 2% of the land). The remaining 98% is unincorporated.
What is the population of ZIP Code 20117?
About 2,790 people live in ZIP Code 20117, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 20117 in?
ZIP Code 20117 is in the Eastern Time zone (America/New_York).
What is the median household income in 20117?
The median household income in ZIP Code 20117 is $146,120 (2020–2024 ACS), compared with $181,765 in Loudoun County and $93,170 in Virginia.
Which ZIP Codes border 20117?
20105 (Aldie), 20184 (Upperville), 20198 (The Plains), 20175 (Leesburg), 20141 (Round Hill), 20135 (Bluemont), 20132 (Purcellville), and 20115 (Marshall).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.