20117
Updated
ZIP 20117 is in Middleburg, Virginia, mostly in Loudoun County; area codes 540 and 826; Eastern time. Middleburg has 2 ZIP codes; the other is 20118.
- Type
- Standard
- Time zone
- America/New_York
- County
- Loudoun +1 more
- Metro area
- Washington-Arlington-Alexandria, DC-VA-MD-WV
- Population
- 2,790
- Coordinates
- 38.9988, -77.7339
Weather right now
Asking the National Weather Service…
Where 20117 is
Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.
People and housing
| Population | 2,790This ZIP2,790 |
|---|---|
| Households | 1,263This ZIP1,263 |
| Housing units | 1,416This ZIP1,416 |
| Median age | 53.4This ZIP53.4Virginia39.0US 38.9 |
| Median household income | $146,120This ZIP$146,120Virginia$93,170US $80,734 |
| Median home value | $937,100This ZIP$937,100Virginia$383,700US $332,700 |
| Median gross rent | $1,843This ZIP$1,843Virginia$1,579US $1,413 |
| Bachelor's degree or higher | 58.7%This ZIP58.7% |
| Mean commute | 32.8 minThis ZIP32.8 min |
| Population density | 57.4 / sq miThis ZIP57.4 / sq mi |
How 20117 compares
20117 has the oldest population in Loudoun County: 53.4, against 34.0 in 20184 at the other end, among 17 ZIP codes ranked.
Its median household income, $146,120, is higher than in 91% of Virginia's 782 ZIP codes where people live.
Its median home value, $937,100, is higher than in 97% of Virginia's 771 ZIP codes where people live.
| Measure | 20117 | Rank in county | Above, in VA |
|---|---|---|---|
| Median household income | $146,120 | 14th of 17 | 91% |
| Median home value | $937,100 | 3rd of 16 | 97% |
| Median gross rent | $1,843 | 13th of 14 | 82% |
| Population | 2,790 | 14th of 17 | 48% |
| Median age | 53.4 | 1st of 17 | 82% |
| Bachelor's degree or higher | 58.7% | 13th of 17 | 89% |
| People per square mile | 57 | 16th of 17 | 39% |
Rank in county is among the ZIP codes of Loudoun County, 1 being the highest; "Above, in VA" is the share of Virginia's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 194This ZIP194 |
|---|---|
| Employees | 1,633This ZIP1,633 |
| Annual payroll | $102,734,000This ZIP$102,734,000 |
| Tax returns filed | 1,030This ZIP1,030 |
| Total adjusted gross income | $241,708,000This ZIP$241,708,000 |
Land area
| Land area | 48.61 sq miThis ZIP48.61 sq mi |
|---|---|
| Water area | 0.54 sq miThis ZIP0.54 sq mi |
Counties 20117 spans
A ZIP code is a mail route and ignores county lines. Shares are by overlapping land area.
| County | Share of this ZIP |
|---|---|
| Loudoun County | 89.4% |
| Fauquier County | 10.6% |
Other place names in 20117
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
20117 | Middleburg, VA (this ZIP) | — | 2,790 | $146,120 | $937,100 |
20105 | Aldie, VA | 7.7 mi | 37,639 | $219,123 | $858,900 |
20184 | Upperville, VA | 7.8 mi | 635 | $50,278 | — |
20198 | The Plains, VA | 7.9 mi | 2,251 | $106,518 | $933,000 |
20175 | Leesburg, VA | 8.3 mi | 34,733 | $174,854 | $780,600 |
20141 | Round Hill, VA | 9.0 mi | 8,359 | $210,563 | $736,700 |
20169 | Haymarket, VA | 10.1 mi | 28,089 | $203,051 | $729,600 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
Find every ZIP code within 10 miles of 20117 →
- 🔢 Type 20117 into a pocket calculator and turn it upside down: LIIOZ — not quite a word, sorry.
- 🏠 Its numerical neighbours: 20116 (Marshall, VA, 12 mi away) and 20118 (Middleburg, VA, 2 mi away).
- 🧭 Farther south than 50% of all ZIP codes, and farther east than 79%.
- 🎯1,112 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 14h 54m of daylight. Shortest: 9h 26m.
- 📏 At 48.6 square miles of land, 20117 is bigger than 59% of ZIP codes — room for about 37 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 20117?
20117 is in Middleburg, Virginia, in Loudoun County, part of the Washington-Arlington-Alexandria, DC-VA-MD-WV metropolitan area. Its published point location is 38.9988, -77.7339.
What county is 20117 in?
20117 spans 2 counties: Loudoun County and Fauquier County. Most of it falls in Loudoun County, measured by overlapping land area — the county holding the most land in a ZIP code is not always the one holding the most residents.
What area code is 20117?
Middleburg uses area codes 540 and 826, from NANPA's telephone records.
What time zone is 20117 in?
20117 uses America/New_York.
How many people live in 20117?
About 2,790 people live in ZIP code 20117, in 1,263 households, at 57.4 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.
What is the median household income in 20117?
$146,120 a year, against $93,170 across Virginia.
What ZIP codes are near 20117?
The closest where people live are 20105 (7.7 mi), 20184 (7.8 mi), 20198 (7.9 mi), 20175 (8.3 mi) and 20141 (9.0 mi).
Is 20117 a PO Box ZIP code?
20117 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “20117 ZIP Code: Middleburg, Virginia (Loudoun County).” Data release 2026-11-18. Retrieved 2026-12-04. https://zipcodes.pro/zip/20117
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/20117.json Underlying data is public domain or openly licensed — sources, vintages and licences.