20117 ZIP Code, Middleburg, VA

20117 is a ZIP code in Middleburg, Virginia — mostly in Loudoun County (89% of its land), with smaller parts in Fauquier County. It covers 49 square miles of land. The closest ZIP codes are 20105, 20184 and 20198. 2,790 people live here in 1,263 households. It is rural, with fewer than 100 people per square mile, and most homes are owner-occupied (73%). Median household income is $146,120, well above the Virginia median of $93,170; the median age is 53.4, older than most ZIP codes.

Quick facts

Key figures

MeasureValue
Residents2,790
Households1,263
Median household income$146,120
Income per person$109,558
Median age53.4
Homeowners73.4%
Median home value$937,100
Median rent$1,843
Bachelor's degree or higher58.7%
Average commute (minutes)32.8
Households with kids under 1816.4%
Moved in the past year11.5%
Below the poverty line14.9%
Broadband internet88.8%
Speak a non-English language at home10.3%

Household income

% of householdsValue
<$10K1.7%
$10–15K1.7%
$15–25K5.8%
$25–35K1.7%
$35–50K4.7%
$50–75K10.0%
$75–100K9.8%
$100–150K16.8%
$150–200K7.0%
$200K+40.9%

Age

% of all residentsValue
<1013.2%
10–199.0%
20–241.2%
25–345.9%
35–4412.3%
45–5412.9%
55–6418.9%
65–7414.8%
75+11.7%

Tenure

% of housing unitsValue
Owned, with mortgage42.2%
Owned outright23.3%
Rented23.7%
Vacant10.8%

Type of building

% of housing unitsValue
Detached house81.6%
Townhome11.8%
2–4 units0.8%
5–19 units0.9%
20+ units1.7%
Mobile / other3.2%

Businesses in 20117

194 business establishments with 1,633 employees (ZIP Codes Business Patterns 2023).

EDDM carrier routes

20117 has 2 USPS carrier routes with 1,164 residential and 33 business mailboxes. Open the EDDM route map.

Carrier routes in 20117

20117 has 2 USPS carrier routes (2 rural (R)) with 1,164 residential and 33 business mailboxes. Routes range from 505 homes (R001) to 659 homes (R002); the median route has 582 homes. The Census counted 1,263 households in 20117 (2020–2024 average); USPS counts current mailboxes, including new and vacant homes.

Homes per routeRoutes
1–2490
250–4990
500–7492
750–9990
1,000–1,4990
1,500+0

Best routes in 20117 for…

Most businesses

For B2B offers: office supplies, cleaning, IT, catering and commercial services.

  1. Route R001 — USPS business mailboxes 20, 505 homes
  2. Route R002 — USPS business mailboxes 13, 659 homes

Select these 2 routes on the route map

Every carrier route in 20117

RouteTypeHomesBusinessesEst. median incomeEst. ownersEst. families with kidsEst. moved in past year
R001Rural50520$116,792———
R002Rural65913$116,792———

Income, owners, families and movers are estimates for each route (how we estimate them); mailbox counts are current USPS figures. Open 20117 on the EDDM route map.

How route demographics are estimated

Mailbox counts come from USPS; demographics are estimates

The number of homes and businesses on each carrier route is the current USPS EDDM count. The Census Bureau does not publish figures for carrier routes, so income, homeownership, ages, families, movers and housing age on a route are EDDM2GO estimates built from Census block groups (neighborhood areas of roughly 600 to 3,000 people).

How a route gets its figures: the block-group length-share method

We trace each route's streets every 25 meters and record which block group each stretch falls in. The route's homes are spread along its streets in proportion to length, so a route with 60% of its street length in one block group is assumed to have 60% of its homes there. Each block group then contributes its Census counts in proportion to the share of its housing units that sit on the route (capped at the whole block group). Medians are recalculated from the combined income, home-value and age brackets, the way the Census Bureau computes them, not averaged.

Margins of error

Census survey figures carry a margin of error at 90% confidence; we carry it through the calculation and show it as ±. Our margins treat the route-to-block-group split as exact, so the real uncertainty is larger. Routes with fewer than 100 estimated households, large margins, or streets we could not place are flagged.

Different years

USPS mailbox counts are current. Census figures are 5-year averages for 2020–2024, so a new subdivision may have more homes on the route today than the Census counted. Use the route figures to compare routes with each other, not as an exact head count.

Why some routes show identical figures

Two routes that run through the same block group get the same percentages and medians, because the Census publishes one set of figures for the whole block group. Their mailbox counts still differ, and those are exact.

Route and mailbox counts: USPS EDDM route data. Route demographics: EDDM2GO estimates from U.S. Census Bureau American Community Survey 5-year block-group data (2020–2024) and 2024 cartographic block-group boundaries. This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.

Nearby ZIP codes

Areas that include 20117

Where it ranks

Mail every home in 20117

Route counts on this page price as Full Service 6.5 × 9 postcards: we print, bundle by carrier route and hand the mailing to USPS. Prefer to take it to the Post Office yourself? Print only costs less and you pay postage at drop-off.

EDDM guides

ZIP code statistics describe the Census ZIP Code Tabulation Area (ZCTA) 20117, which approximates the USPS ZIP code area. Census figures: American Community Survey 5-year estimates, 2020–2024.

Frequently asked questions

What city is 20117 in?
20117 is a Middleburg, VA mailing address. By land area, 2% lies inside Middleburg; the rest is outside any Census-defined city or community.
What county is 20117 in?
20117 is mostly in Loudoun County (89% of its land), with smaller parts in Fauquier County.
What is the population of 20117?
About 2,790 people (±629), according to the Census Bureau's American Community Survey 5-year estimates for 2020–2024. The 2020 Census counted 2,746.
What is the median household income in 20117?
$146,120 (±$49,330), compared with $93,170 for Virginia as a whole. Half the households in the ZIP code earn more and half earn less.
How many carrier routes and mailboxes are in 20117?
2 USPS carrier routes with 1,164 residential and 33 business mailboxes (1,198 in all), from the route data stored by EDDM2GO. An EDDM mailing can target any combination of these routes.
What ZIP codes are near 20117?
The closest, measured center to center: 20105 (7.7 mi, Stone Ridge), 20184 (7.8 mi, Upperville), 20198 (7.9 mi, Marshall), 20175 (8.3 mi, Leesburg), 20141 (9 mi, Round Hill) and 20169 (10.1 mi, Gainesville).

This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.