Community in Prince William County, Virginia
Gainesville, Virginia
18,196 residents · 2 ZIP Codes
- County
- Prince William County
- Population
- 18,196
- Rank in state
- 74th largest of 478 places
- Land area
- 10.1 sq mi · 1,799 people/sq mi
- Time zone
- Eastern Time
Median household income
- under $203k
- $203k+
Median home value
- under $730k
- $730k+
People per sq mi
- under 1,471
- 1,471+
Median age
- under 42
- 42+
Bachelor's degree or higher
- under 65%
- 65%+
What county is Gainesville in?
Gainesville is in Prince William County, Virginia.
What stands out in Gainesville
- The poverty rate is 4%, 35% lower than Prince William County (6.2%).
- The share of residents born abroad is 17.3%, 34% lower than Prince William County (26.3%).
- The median home value is $712,600, 34% higher than Prince William County ($530,100).
- The median household income is $174,410, 33% higher than Prince William County ($131,402).
ZIP Codes in Gainesville
| ZIP Code | City | Population | Median income | Home value | Median age | Share in city |
|---|---|---|---|---|---|---|
| 20155 | Gainesville | 37,486 | $164,279 | $659,100 | 40.4 | 31% of ZIP |
| 20169 | Haymarket | 28,089 | $203,051 | $729,600 | 42.0 | 6% of ZIP |
PO Box and unique ZIP Codes
People in Gainesville
Median age37.2
Under 1827%
65 and older9.6%
Born abroad17.3%
Moved here in the last year12.1%
Age and sex
MaleAgeFemale
0.6%80+1.5%
1.8%70–792.8%
4.2%60–693.9%
6.8%50–596.9%
8.6%40–498.8%
6.5%30–396.4%
4.6%20–296.2%
7.4%10–196.7%
8.8%0–97.8%
Race and ethnicity
- White53%
- Asian14.6%
- Black14.2%
- Hispanic or Latino11.6%
- Two or more races5.5%
- Other0.9%
- Pacific Islander0.1%
Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.
Households
5,926 households, 3.05 people per household on average, 77.5% family households, and 20% people living alone.
Income in Gainesville
Median household income$174,410±$13,756
Per-capita income$63,896
Poverty rate4%
Income inequality (Gini)0.380 = equal, 1 = unequal
6%Under $25k
7%$25k–50k
7%$50k–75k
7%$75k–100k
13%$100k–150k
19%$150k–200k
41%$200k+
Housing in Gainesville
Median home value$712,600
Median gross rent$2,283/mo
Housing units6,035
Median year built2007
Vacant1.8%
Owners and renters
- Owner-occupied 83.5%
- Renter-occupied 16.5%
Types of homes
- Single-family homes 88.6%
- 2–9 unit buildings 4.6%
- 10+ unit buildings 6.4%
- Mobile homes, RVs 0.4%
Work, commute and education
Mean commute34 minone way
Unemployment rate2.6%
Labor force participation73%age 16+
Broadband at home99.3%households
How workers get to work
- Drove alone64.3%
- Carpooled7.6%
- Public transit1.3%
- Walked0.4%
- Bicycle0.1%
- Worked from home25.4%
Education, adults 25+
- High school or higher95.9%
- Bachelor's or higher58%
- Graduate or professional degree22.9%
How Gainesville compares
| Gainesville | Prince William County | Virginia | United States | |
|---|---|---|---|---|
| Median household income | $174,410 | $131,402 | $93,170 | $80,734 |
| Per-capita income | $63,896 | $51,802 | $50,666 | $44,673 |
| Median home value | $712,600 | $530,100 | $383,700 | $332,700 |
| Median gross rent | $2,283/mo | $2,067/mo | $1,579/mo | $1,413/mo |
| Homeownership rate | 83.5% | 74.3% | 67.3% | 65.2% |
| Median age | 37.2 | 36.3 | 39.0 | 38.9 |
| Bachelor's degree or higher | 58% | 44.9% | 42.2% | 35.7% |
| Poverty rate | 4% | 6.2% | 9.9% | 12.5% |
| Unemployment rate | 2.6% | 4.8% | 4.3% | 5.2% |
| Mean commute | 34 min | 36 min | 27 min | 26 min |
| Worked from home | 25.4% | 19.1% | 18.3% | 15.1% |
| Broadband at home | 99.3% | 96.4% | 91% | 91% |
| Foreign-born residents | 17.3% | 26.3% | 13.1% | 14.1% |
Places near Gainesville
Gainesville, VA: questions and answers
What county is Gainesville, VA in?
Gainesville is in Prince William County, Virginia.
What ZIP Codes are in Gainesville?
Gainesville is served by 2 residential ZIP Codes: 20155 and 20169. PO Box ZIP Codes: 20156.
What is the population of Gainesville?
About 18,196 people live in Gainesville (2020–2024 American Community Survey).
What time zone is Gainesville in?
Gainesville is in the Eastern Time zone (America/New_York).
Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.