Rockingham County · Virginia

ZIP Code 22840

Mc Gaheysville, VA · 5,239 residents

City (USPS)
Mc Gaheysville
Time zone
Eastern Time
Coordinates
38.3924° N, 78.7441° W
Land area
31.4 sq mi · 167 people/sq mi
79.0°W78.8°W78.6°W78.4°W38.4°NZIP 22743ZIP 22801ZIP 22802ZIP 22807ZIP 22812ZIP 22815ZIP 22821ZIP 22827ZIP 22831ZIP 22832ZIP 22841ZIP 22844ZIP 22846ZIP 22849ZIP 22851ZIP 22932ZIP 22935ZIP 22940ZIP 22973ZIP 24441ZIP 244712280222827228512281222973228012284122935228492283224471228405 miN
ZIP Code 22840 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 22840 in?

ZIP Code 22840 is in Rockingham County, Virginia.

The Postal Service's default place name for 22840 is Mc Gaheysville. By Census boundaries it covers Massanutten (community, 29% of the land) and McGaheysville (community, 3% of the land). The remaining 68% is unincorporated.

Population5,239±686
Median household income$95,667
Median home value$382,500
Median rent$1,446/mo
Median age47.2
Households2,098

What stands out in ZIP 22840

  • The share of residents born abroad is 13.9%, 2.2× the Rockingham County (6.2%).
  • The poverty rate is 5.3%, 46% lower than Rockingham County (9.8%).
  • The share of adults with a bachelor's degree is 49.7%, 71% higher than Rockingham County (29%).
  • The median rent is $1,446 a month, 25% higher than Rockingham County ($1,160 a month).

People in ZIP 22840

Median age47.2
Under 1820.6%
65 and older21.1%
Born abroad13.9%
Moved here in the last year13.9%

Age and sex

MaleAgeFemale
1.1%80+2.4%
5.3%70–795.2%
12.3%60–697.6%
5.8%50–597.5%
3.6%40–496.2%
5.4%30–396.9%
2.6%20–296.9%
3.0%10–199.0%
3.9%0–95.2%
Share of all residents in each age group

Race and ethnicity

  • White70.8%
  • Hispanic or Latino21.7%
  • Asian4.3%
  • Black1.5%
  • Two or more races1.5%
  • Other0.1%

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

Households

2,098 households, 2.50 people per household on average, 74% family households, and 21% people living alone.

Income in ZIP 22840

Median household income$95,667±$19,197
Per-capita income$69,022
Poverty rate5.3%
Income inequality (Gini)0.520 = equal, 1 = unequal

Median household income ranks 230th of 779 ZIP Codes in Virginia. Richest ZIP Codes in Virginia

8%Under $25k
8%$25k–50k
20%$50k–75k
16%$75k–100k
22%$100k–150k
7%$150k–200k
20%$200k+
Households by annual income

Housing in ZIP 22840

Median home value$382,500
Median gross rent$1,446/mo
Housing units3,336
Median year built1997
Vacant37.1%

Owners and renters

  • Owner-occupied 85.5%
  • Renter-occupied 14.5%

Types of homes

  • Single-family homes 95.4%
  • 2–9 unit buildings 1%
  • 10+ unit buildings 1.3%
  • Mobile homes, RVs 2.2%

Work, commute and education

Mean commute23 minone way
Unemployment rate1.5%
Labor force participation62.5%age 16+
Broadband at home97.9%households

How workers get to work

  • Drove alone81.8%
  • Carpooled9.8%
  • Public transit0%
  • Walked0.3%
  • Bicycle0%
  • Worked from home7.6%

Education, adults 25+

  • High school or higher93.7%
  • Bachelor's or higher49.7%
  • Graduate or professional degree24.5%

How ZIP 22840 compares

ZIP 22840Rockingham CountyVirginiaUnited States
Median household income$95,667$80,693$93,170$80,734
Per-capita income$69,022$41,361$50,666$44,673
Median home value$382,500$313,000$383,700$332,700
Median gross rent$1,446/mo$1,160/mo$1,579/mo$1,413/mo
Homeownership rate85.5%75.3%67.3%65.2%
Median age47.240.139.038.9
Bachelor's degree or higher49.7%29%42.2%35.7%
Poverty rate5.3%9.8%9.9%12.5%
Unemployment rate1.5%2.7%4.3%5.2%
Mean commute23 min22 min27 min26 min
Worked from home7.6%9.2%18.3%15.1%
Broadband at home97.9%86.8%91%91%
Foreign-born residents13.9%6.2%13.1%14.1%

ZIP Codes bordering 22840

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
22846Penn Laird1,496$115,491$450,00043.4W · 2.9 mi
22832Keezletown1,136$64,766$332,20038.9N · 4.6 mi
24471Port Republic1,768$97,396$395,50038.9S · 5.9 mi
22827Elkton10,529$70,519$252,50045.6E · 7.0 mi
22801Harrisonburg39,983$72,067$364,30028.5W · 7.4 mi
22849Shenandoah5,170$67,261$211,40038.8NE · 11.1 mi

Cities and communities in 22840

ZIP Code 22840: questions and answers

What county is ZIP Code 22840 in?
ZIP Code 22840 is in Rockingham County, Virginia.
What city is ZIP Code 22840 in?
The Postal Service's default place name for 22840 is Mc Gaheysville. By Census boundaries it covers Massanutten (community, 29% of the land) and McGaheysville (community, 3% of the land). The remaining 68% is unincorporated.
What is the population of ZIP Code 22840?
About 5,239 people live in ZIP Code 22840, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 22840 in?
ZIP Code 22840 is in the Eastern Time zone (America/New_York).
What is the median household income in 22840?
The median household income in ZIP Code 22840 is $95,667 (2020–2024 ACS), compared with $80,693 in Rockingham County and $93,170 in Virginia.
Which ZIP Codes border 22840?
22846 (Penn Laird), 22832 (Keezletown), 24471 (Port Republic), 22827 (Elkton), 22801 (Harrisonburg), and 22849 (Shenandoah).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.