Community in Fairfax County, Virginia

McNair, Virginia

22,655 residents · 2 ZIP Codes

Population
22,655
Rank in state
54th largest of 478 places
Land area
2.0 sq mi · 11,095 people/sq mi
Time zone
Eastern Time
ZIP Codes
20170 and 20171
77.43°W77.42°W77.41°W77.40°W77.39°W38.94°N38.95°N38.96°N20171201700.5 miN
Median household income
  • under $171k
  • $171k+
McNair city limits (outlined) over the ZIP Codes that serve it.

What county is McNair in?

McNair is in Fairfax County, Virginia.

What stands out in McNair

  • The homeownership rate is 25.4%, 63% lower than Fairfax County (68.6%).
  • The share of residents born abroad is 43.8%, 42% higher than Fairfax County (30.8%).
  • The median household income is $122,778, 20% lower than Fairfax County ($153,637).
  • The median home value is $595,800, 19% lower than Fairfax County ($732,800).

ZIP Codes in McNair

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
20170Herndon43,866$159,466$647,20035.20% of ZIP
20171Herndon51,286$171,372$797,20036.217% of ZIP

People in McNair

Median age31.9
Under 1820.4%
65 and older6%
Born abroad43.8%
Moved here in the last year26.4%

Age and sex

MaleAgeFemale
0.7%80+0.9%
1.7%70–790.8%
2.7%60–692.6%
4.5%50–593.9%
5.8%40–497.0%
14.2%30–3911.6%
11.5%20–2910.3%
4.8%10–195.0%
6.3%0–95.8%
Share of all residents in each age group

Race and ethnicity

  • Asian35.3%
  • White31%
  • Black14.9%
  • Hispanic or Latino11.2%
  • Two or more races6%
  • Other1.3%
  • Pacific Islander0.2%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

9,412 households, 2.41 people per household on average, 57.8% family households, and 30.4% people living alone.

Income in McNair

Median household income$122,778±$10,631
Per-capita income$61,894
Poverty rate6.1%
Income inequality (Gini)0.390 = equal, 1 = unequal
6%Under $25k
6%$25k–50k
16%$50k–75k
9%$75k–100k
24%$100k–150k
16%$150k–200k
22%$200k+
Households by annual income

Housing in McNair

Median home value$595,800
Median gross rent$2,287/mo
Housing units9,840
Median year built2003
Vacant4.3%

Owners and renters

  • Owner-occupied 25.4%
  • Renter-occupied 74.6%

Types of homes

  • Single-family homes 31.2%
  • 2–9 unit buildings 8.4%
  • 10+ unit buildings 60.4%

Work, commute and education

Mean commute25 minone way
Unemployment rate2.3%
Labor force participation78.9%age 16+
Broadband at home95.3%households

How workers get to work

  • Drove alone51.4%
  • Carpooled8.7%
  • Public transit4%
  • Walked2.3%
  • Bicycle0.8%
  • Worked from home30.8%

Education, adults 25+

  • High school or higher96%
  • Bachelor's or higher68.8%
  • Graduate or professional degree33.5%

How McNair compares

McNairFairfax CountyVirginiaUnited States
Median household income$122,778$153,637$93,170$80,734
Per-capita income$61,894$71,828$50,666$44,673
Median home value$595,800$732,800$383,700$332,700
Median gross rent$2,287/mo$2,276/mo$1,579/mo$1,413/mo
Homeownership rate25.4%68.6%67.3%65.2%
Median age31.939.139.038.9
Bachelor's degree or higher68.8%65%42.2%35.7%
Poverty rate6.1%5.9%9.9%12.5%
Unemployment rate2.3%4.2%4.3%5.2%
Mean commute25 min29 min27 min26 min
Worked from home30.8%28.7%18.3%15.1%
Broadband at home95.3%96.4%91%91%
Foreign-born residents43.8%30.8%13.1%14.1%

Places near McNair

McNair, VA: questions and answers

What county is McNair, VA in?
McNair is in Fairfax County, Virginia.
What ZIP Codes are in McNair?
McNair is served by 2 residential ZIP Codes: 20170 and 20171.
What is the population of McNair?
About 22,655 people live in McNair (2020–2024 American Community Survey).
What time zone is McNair in?
McNair 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.