Hamilton ZIP Codes — Loudoun County, VA

There are 2 unique ZIP codes in Hamilton, Virginia. Area code: 540.
2
ZIP codes
13.25
sq mi land
0.07
sq mi water
540
area code
Hamilton, VA ZIP code map

About Hamilton, VA

Hamilton, Virginia is a charming small town located in Loudoun County. Known for its rich history and picturesque landscapes, Hamilton offers a serene escape from the hustle and bustle of larger cities. With a welcoming community spirit and convenient access to nearby urban areas, it serves as an attractive place to live and visit.

Location & geography

Hamilton is situated approximately 30 miles northwest of Washington, D.C., nestled in the scenic Loudoun County. The town is surrounded by several other towns and cities, including Purcellville, which is about 6 miles away, and Middleburg, located roughly 8 miles to the south. Covering a land area of 13.25 square miles and a water area of 0.07 square miles, Hamilton features a mix of verdant fields and quaint residential neighborhoods.

Community & economy

The character of Hamilton is defined by its friendly residents and a strong sense of community. The local economy primarily revolves around agriculture and small businesses, contributing to a rural yet vibrant atmosphere. Daily life in Hamilton often includes community events, outdoor activities, and the enjoyment of the area's natural beauty.

Transportation

Hamilton is easily accessible via major highways, including Virginia Route 7, which connects the town to larger metropolitan areas. The nearest airport is Washington Dulles International Airport, located about 22 miles southeast, providing convenient travel options. Public transit options are limited, making personal vehicles the most common means of transportation for residents.

History

Founded in the mid-19th century, Hamilton has a rich heritage closely tied to the agricultural development of Loudoun County. The town played a significant role in the expansion of the region, with farming and trade being key industries historically. Over the years, Hamilton has seen growth while maintaining its quaint charm, with several well-preserved historical buildings that attract visitors.

Did you know?

A little-known fact about Hamilton is that it was once a notable stop along the historic Washington and Old Dominion Railroad. Today, remnants of this history can still be observed in the town's architecture and layout.

ZIP codes for Hamilton, VA (2)
ZIP code City County Map
20158 Hamilton Loudoun View map
20159 Hamilton Loudoun View map

Demographics & statistics

4,886
Population
40.6
Median age
$198,027
Median household income
$64,059
Per capita income
$689,700
Median home value
$0
Median monthly rent
83.3%
Home ownership
0.6%
Poverty rate
9.6%
Unemployment
1,288
Housing units
57.8%
Bachelor's or higher

Age distribution

Male Female
173
Under 5
130
157
5–9
117
299
10–14
223
190
15–19
143
275
20–24
205
92
25–34
68
503
35–44
377
298
45–54
223
95
55–59
71
221
60–64
165
230
65–74
173
186
75–84
140
75
85+
57
← Male
Female →

Age summary

GroupCount%
Under 181,21524.9%
18 and over3,67175.1%
65 and over86117.6%
Median age40.6 years

Race & ethnicity

White 85.2%
Two or more races 7.8%
Hispanic or Latino 2.4%
Asian 2%
Black or African American 1.9%
American Indian / Alaska Native 0.4%
Native Hawaiian / Pacific Islander 0.2%
Other race 0.1%
GroupCount%
White4,26685.2%
Two or more races3907.8%
Hispanic or Latino1192.4%
Asian982%
Black or African American961.9%
American Indian / Alaska Native220.4%
Native Hawaiian / Pacific Islander110.2%
Other race30.1%

Household income

$10k–$15k 1.7%
$15k–$25k 1.6%
$25k–$35k 2.5%
$35k–$50k 2.1%
$50k–$75k 6.5%
$75k–$100k 9.6%
$100k–$150k 16.9%
$150k–$200k 15.4%
$200k+ 43.6%
Range% of households
$10k–$15k1.7%
$15k–$25k1.6%
$25k–$35k2.5%
$35k–$50k2.1%
$50k–$75k6.5%
$75k–$100k9.6%
$100k–$150k16.9%
$150k–$200k15.4%
$200k+43.6%
Median income$198,027

Housing

Home values

Under $50k 1.5%
$50k–$100k 0.2%
$100k–$150k 1.6%
$150k–$200k 0.2%
$200k–$300k 5.3%
$300k–$500k 13.6%
$500k–$1M 59.0%
$1M+ 18.6%

Housing overview

MetricValue
Median home value$689,700
Median rent / month$0
Owner occupied83.3%
Renter occupied16.7%
Vacant2.5%
Single-family detached89.0%
Large apartment buildings0.0%
Mobile homes4.4%
Median rooms10.0
Avg household size (owned)3.10

Year built

Era%
2020 or later0.0%
2010–201913.6%
2000–200920.7%
1990–199911.0%
1980–198913.7%
1970–197920.6%
1960–19695.6%
1950–19594.4%
1940–19492.3%
1939 or earlier8.1%

Bedrooms

Size% of units
No bedroom (studio)0.0%
1 bedroom2.3%
2 bedrooms2.9%
3 bedrooms34.4%
4 bedrooms45.1%
5+ bedrooms15.3%

Vehicles per household

Vehicles% of households
No vehicle0.7%
1 vehicle11.3%
2 vehicles30.0%
3 or more58.0%

Heating fuel

Fuel type%
Utility gas3.3%
Electricity50.5%
Propane / LP gas28.2%
Fuel oil17.7%
Wood0.1%
Solar0.2%

Households & families

Household typeCount%
Married-couple family1,06370.8%
Cohabiting couple342.3%
Male householder, no spouse1439.5%
Female householder, no spouse26117.4%
Households with children under 1853735.8%
Households with seniors (65+)51634.4%
Average household size3.26

Marital status

StatusMaleFemale
Never married32.2%20.7%
Married57.4%60.8%
Separated0.4%3.2%
Widowed2.7%6.9%
Divorced7.3%8.5%

Education

Less than 9th grade 0.5%
Some HS, no diploma 2.4%
HS graduate 12.9%
Some college, no degree 20.9%
Associate's degree 5.4%
Bachelor's degree 34.4%
Graduate / professional 23.4%
Metric%
HS diploma or higher97.1%
Bachelor's or higher57.8%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool996.3%
Kindergarten785.0%
Elementary school52933.6%
High school35822.7%
College / grad school51032.4%

Employment

Industry of employment

Professional & management 36.6%
Education & healthcare 18.8%
Construction 9.5%
Arts, food & hospitality 8.5%
Retail trade 6.7%
Public administration 4.8%
Finance & real estate 4.0%
Manufacturing 3.3%
Other services 3.3%
Transportation & utilities 2.3%
Information 1.6%
Wholesale trade 0.5%
Agriculture & mining 0.1%

Occupation

Category%
Management, business & arts58.1%
Service15.3%
Sales & office18.2%
Natural resources & construction3.8%
Production & transportation4.5%

Employment type

Type%
Private sector75.7%
Government17.9%
Self-employed6.4%
Unpaid family workers0.0%

Commute

Method%
Drive alone71.4%
Carpool3.3%
Public transit1.8%
Walk0.4%
Other means0.0%
Avg commute (minutes)36.2

Poverty

All people 0.6%
Under 18 years 0.0%
18 and over 0.8%
Married-couple families 0.0%
Female-led households 0.0%

Income support

Source% of households
Social Security33.2%
Retirement income31.0%
Supplemental Security3.6%
Cash public assistance1.1%
Food stamps / SNAP1.7%

Health indicators

Condition%
High blood pressure29.2%
High cholesterol33.5%
Heart disease4.7%
Stroke2.1%
Asthma8.7%
Arthritis23.3%
Kidney disease2.2%
Pulmonary disease4.5%
Cancer6.9%
Behavior / access%
Binge drinking15.8%
No physical activity14.4%
Less than 7 hrs sleep30.2%
Fair or poor health9.0%
Poor mental health11.1%
Poor physical health7.0%
No health insurance8.0%
Visited doctor (checkup)74.8%
Visited dentist77.7%
Cholesterol screening94.2%
Teeth loss6.0%

Veterans & disability

VeteransCount%
Civilian veterans61017.2%
Disability%
Any disability9.0%
Under 184.1%
18–64 years5.5%
65 and over26.6%

Health insurance coverage

Type%
Private insurance89.9%
Public insurance20.1%
Uninsured under 190.5%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only4,58393.8%
Spanish541.2%
Other Indo-European330.7%
Asian & Pacific Islander20.0%
Other languages190.4%

Place of birth & citizenship

OriginCount%
Native born (US)4,71696.5%
Born in same state4,57993.7%
Born in different state1,84337.7%
Foreign born1372.8%
Naturalized citizen1703.5%
Not a US citizen14283.5%

Ancestry

AncestryCount%
Italian88218.1%
French77315.8%
Arab61612.6%
Polish1503.1%
English230.5%
AncestryCount%
Irish210.4%
German150.3%
Norwegian80.2%
Dutch30.1%

Technology access

Metric% of households
Computer access30.7%
Internet access97.8%

Source: U.S. Census Bureau, American Community Survey 2025 estimates.

Frequently asked questions
What ZIP codes does Hamilton, VA have?
Hamilton, VA has one ZIP code: 20158. Each ZIP code serves a distinct delivery area within the city and surrounding region.
Need the complete Virginia ZIP code database? Download all VA ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →