Loudoun County · Virginia
ZIP Code 20117
Middleburg, VA · 2,790 residents
- County
- Loudoun County +1 more
- City (USPS)
- Middleburg
- State
- Virginia
- Time zone
- Eastern Time
- Coordinates
- 38.9988° N, 77.7339° W
- Land area
- 48.6 sq mi · 57 people/sq mi
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.
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
Age and sex
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 ranks 67th of 779 ZIP Codes in Virginia. Richest ZIP Codes in Virginia
Housing in ZIP 20117
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
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 20117 | Loudoun County | Virginia | United 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 rate | 73.4% | 77.9% | 67.3% | 65.2% |
| Median age | 53.4 | 38.2 | 39.0 | 38.9 |
| Bachelor's degree or higher | 58.7% | 64.6% | 42.2% | 35.7% |
| Poverty rate | 14.9% | 4.2% | 9.9% | 12.5% |
| Unemployment rate | 3.3% | 3.3% | 4.3% | 5.2% |
| Mean commute | 33 min | 30 min | 27 min | 26 min |
| Worked from home | 27.9% | 31.2% | 18.3% | 15.1% |
| Broadband at home | 88.8% | 97% | 91% | 91% |
| Foreign-born residents | 5.8% | 27.4% | 13.1% | 14.1% |
ZIP Codes bordering 20117
| ZIP Code | City | Population | Median income | Home value | Median age | Direction |
|---|---|---|---|---|---|---|
| 20105 | Aldie | 37,639 | $219,123 | $858,900 | 36.2 | SE · 7.7 mi |
| 20184 | Upperville | 635 | $50,278 | – | 34.0 | W · 7.8 mi |
| 20198 | The Plains | 2,251 | $106,518 | $933,000 | 44.8 | S · 7.9 mi |
| 20175 | Leesburg | 34,733 | $174,854 | $780,600 | 38.1 | NE · 8.3 mi |
| 20141 | Round Hill | 8,359 | $210,563 | $736,700 | 37.0 | N · 9.0 mi |
| 20135 | Bluemont | 3,585 | $114,219 | $573,500 | 47.3 | NW · 10.2 mi |
| 20132 | Purcellville | 19,817 | $181,875 | $776,300 | 40.6 | N · 11.5 mi |
| 20115 | Marshall | 8,173 | $142,981 | $657,300 | 43.7 | SW · 15.1 mi |
Cities and communities in 20117
ZIP Code 20117: questions and answers
What county is ZIP Code 20117 in?
What city is ZIP Code 20117 in?
What is the population of ZIP Code 20117?
What time zone is 20117 in?
What is the median household income in 20117?
Which ZIP Codes border 20117?
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.