Residential delivery area · Virginia

ZIP Code 22840: McGaheysville, VA

ZIP code 22840 uses the postal name McGaheysville, Virginia and lies entirely in Rockingham County (Census 2020 ZIP-county file). About 5,200 people live there (Census Bureau, ACS 2020-2024). Median household income is $95,667 (Census Bureau, ACS 2020-2024). By Census place, its land lies in Massanutten (29%) and McGaheysville (3%); 68% is outside any Census place.

  • ACS2020-24
  • Census2020
  • FHFA2025
  • ZBP2023
  • IRS2022
2national area: Virginia, District of Columbia, Maryland, North Carolina, South Carolina and West Virginia
228sectional center: Dulles, VA (SCF 201)
40delivery area within it
Town
McGaheysville · its only residential ZIP
Census places
Massanutten (29%) census-designated place; McGaheysville (3%) census-designated place
Metro area
Harrisonburg, VA
House district
VA-6 119th Congress
Time zone
Eastern
Land area
31.4 sq mi · 167 people per sq mi

Where is ZIP code 22840?

22840 centers on 38.392°, -78.744° and covers 31.4 square miles of land plus 0.2 of water. It borders 6 ZIP codes: 22846, 22832, 24471, 22827, 22801, 22849.

22801 · Harrisonburg22827 · Elkton22832 · Keezletown22846 · Penn Laird22849 · Shenandoah24471 · Port Republic22840 · McGaheysville (this ZIP)2284022827228492280122832244712284622801 · Harrisonburg22827 · Elkton22832 · Keezletown22846 · Penn Laird22849 · Shenandoah24471 · Port Republic22840 · McGaheysville (this ZIP)2284022827228492280122832244712284622801 · Harrisonburg22827 · Elkton22832 · Keezletown22846 · Penn Laird22849 · Shenandoah24471 · Port Republic22840 · McGaheysville (this ZIP)228402282722849228012283224471
Shaded by median household income, in national fifths (ACS 2020-2024); 22840 outlined. Census 2020 ZCTA boundaries. <$54.1k$98.1k+no figure

The map draws ZIP code areas only. For the streets inside 22840, open its center on OpenStreetMap.

Source: U.S. Census Bureau, 2020 ZCTA cartographic boundaries and the 2023 Gazetteer (2020 ZCTAs); ZIP-to-county shares, Census places and House districts (119th Congress) from the Census 2020 relationship files (shares of land); metro area from the OMB delineation (July 2023); town name and time zone from simplemaps US ZIP Codes (CC BY 4.0).

How does 22840 compare with the rest of Rockingham County?

Rank of 22840 among the residential ZIP codes of its town, county and state (1 = the most; income and home value among ZIP codes of 1,000+ people living in households)
Measure22840In Rockingham CountyIn VA
People (ACS 2020-2024)5,2398th of 22348th of 903
Median household income$96k1st of 12175th of 461
Median home value$383k3rd of 16198th of 552

Its median household income is higher than in 78% of U.S. residential ZIP codes, and it is denser than 61% of all U.S. residential ZIP codes. ZIP codes at the ACS caps ($250,000 or more for household income, $2,000,000 or more for home value) share the top rank.

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01003, B19013, B25077); ranks by PlainZIP over residential ZIP codes (ZCTAs).

How many people live in 22840?

The 2020 Census counted 4,524 people in 22840; the ACS, which samples households over 2020-2024, estimates 5,239. Its boundary changed between the 2010 and 2020 censuses, so the two counts are not compared.

People, ACS 2020-2024
5,239±686 (90% margin)
2020 Census count
4,524
Households
2,098
Median age
47.2

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01003, B01002, B11001); 2020 Census (DHC P1); 2010 Census (SF1 P1).

Who lives in 22840?

Of the 5,239 people the ACS estimates in 22840, 20.6% are under 18 and 21.1% are 65 or older. The largest group by race and Hispanic origin is White (not Hispanic) (70.8%), then Hispanic or Latino (21.7%).

  • Under 1820.6%
  • 18 to 6458.3%
  • 65 and older21.1%
Age of the people of 22840 (ACS 2020-2024, B01001)
  • White, not Hispanic70.8%
  • Hispanic or Latino21.7%
  • Asian, not Hispanic4.3%
  • Other or two or more1.6%
  • Black, not Hispanic1.5%
Race and Hispanic origin in 22840 (ACS 2020-2024, B03002); each person counted once

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B01001 age by sex, B03002 Hispanic or Latino origin by race); shares of the estimated population, small ZIP codes carry wide margins.

What do households in 22840 earn?

Median household income is $95,667 (ACS 2020-2024), the highest of the 12 ranked ZIP codes in Rockingham County.

Median household income
$95,667±$19,197
Income per person
$69,022
Below the poverty line
5.3%
Unemployed (of the labor force)
1.5%
Adults 25+ with a bachelor's degree
49.7%
Adjusted gross income per tax return, 2022
$82,8692,330 returns; wages 67% of AGI (IRS)

Source: U.S. Census Bureau, ACS 2020-2024 and 2015-2019 5-year estimates (B19013, B19301, B17001, B23025, B15003; 2015-2019 dollars converted with the BLS CPI-U, 1.22699); IRS Statistics of Income, ZIP code data, tax year 2022 (adjusted gross income per return, filed under the address on the return).

What are homes worth in 22840?

FHFA's house price index for 22840, built from repeat sales and appraisals of the same homes, rose 76% from 2015 to 2025 and rose 57% from 2020 to 2025, and moved +19.9% in 2025.

Median home value (owners' estimate)
$382,500
Median gross rent
$1,446
Homes owned by their occupants
85.5%
Housing units
3,336
0 100 200 300 1999201020202025 0 100 200 300 1999201020202025 0 100 200 300 1999201020202025
Index = 100 in 1999, the first year FHFA reports for 22840; 2025: 277.8. Annual, not seasonally adjusted; FHFA calls its ZIP-level indexes developmental.

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B25077, B25064, B25003, B25001); FHFA House Price Index, annual five-digit ZIP, updated 2026-03-31.

What businesses are in 22840?

65 business establishments had a location in this ZIP code in 2023, 3 more than in 2018; the most are in construction (ZIP Code Business Patterns).

  • Construction12
  • Accommodation and food services11
  • Other services (except public administration)11
  • Professional, scientific, and technical services7
  • Real estate and rental and leasing6
  • Retail trade5

Source: U.S. Census Bureau, ZIP Code Business Patterns 2023 and 2018 (establishments with paid employees, by the business's ZIP code).

Which ZIP codes are next to 22840?

ZIP codes that share a boundary with 22840, then the nearest by center
ZIPTownPeopleHousehold incomeDistance
22846Penn Laird1,496$116k2.9 mi
22832Keezletown1,136$65k4.6 mi
24471Port Republic1,768$97k5.9 mi
22827Elkton10,529$71k7.0 mi
22801Harrisonburg39,983$72k7.4 mi
22849Shenandoah5,170$67k11.1 mi
22807Harrisonburg5,347–7.4 mi (near)
22841Mount Crawford3,090$93k8.8 mi (near)
22802Harrisonburg30,374$66k9.6 mi (near)

Source: PlainZIP from the Census 2020 ZCTA boundaries (shared edges) and internal points; figures ACS 2020-2024.