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
- Town
- McGaheysville · its only residential ZIP
- County
- Rockingham County
- Census places
- Massanutten (29%) census-designated place; McGaheysville (3%) census-designated place
- Metro area
- Harrisonburg, VA
- House district
- VA-6 119th Congress
- State
- Virginia
- 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.
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?
| Measure | 22840 | In Rockingham County | In VA |
|---|---|---|---|
| People (ACS 2020-2024) | 5,239 | 8th of 22 | 348th of 903 |
| Median household income | $96k | 1st of 12 | 175th of 461 |
| Median home value | $383k | 3rd of 16 | 198th 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%
- White, not Hispanic70.8%
- Hispanic or Latino21.7%
- Asian, not Hispanic4.3%
- Other or two or more1.6%
- Black, not Hispanic1.5%
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
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 | Town | People | Household income | Distance |
|---|---|---|---|---|
| 22846 | Penn Laird | 1,496 | $116k | 2.9 mi |
| 22832 | Keezletown | 1,136 | $65k | 4.6 mi |
| 24471 | Port Republic | 1,768 | $97k | 5.9 mi |
| 22827 | Elkton | 10,529 | $71k | 7.0 mi |
| 22801 | Harrisonburg | 39,983 | $72k | 7.4 mi |
| 22849 | Shenandoah | 5,170 | $67k | 11.1 mi |
| 22807 | Harrisonburg | 5,347 | – | 7.4 mi (near) |
| 22841 | Mount Crawford | 3,090 | $93k | 8.8 mi (near) |
| 22802 | Harrisonburg | 30,374 | $66k | 9.6 mi (near) |
Source: PlainZIP from the Census 2020 ZCTA boundaries (shared edges) and internal points; figures ACS 2020-2024.