Every ZIP code in the United States, with weather, radar, trivia and the numbers behind it. Five digits since 1963!

ZIP stands for Zone Improvement Plan. The codes went live on July 1, 1963.The lowest ZIP code is 00501 — the IRS in Holtsville, New York.The highest ZIP code is 99950, in Ketchikan, Alaska.Type 07734 into a calculator and turn it upside down: hELLO. It is Keansburg, New Jersey.12345 belongs to one company: General Electric in Schenectady, New York.The first digit is a region: 0 is New England and New Jersey, 9 is the West Coast, Alaska and Hawaii.Mr. ZIP, the cartoon mailman, was the mascot that sold the idea to America.ZIP+4 arrived in 1983 and can narrow a ZIP down to one side of one block.A ZIP code is a mail route, not a place: plenty of them cross county and even state lines.Play ZIP Hunt: guess the secret ZIP code of the day in six tries.
zipcodes.pro — ZIP/22840

22840

ZIP 22840 is Mc Gaheysville, Virginia, in Rockingham County; area codes 540 and 826; Eastern time.

Type
Standard
Time zone
America/New_York
County
Rockingham
Metro area
Harrisonburg, VA
Population
5,239
Coordinates
38.3924, -78.7441
☼ Live from 22840 — Mc Gaheysville, VA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

Where 22840 is

Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.

★ Weird and wonderful facts about 22840
  • 🔢 Type 22840 into a pocket calculator and turn it upside down: OhBZZ — not quite a word, sorry.
  • ➕ As a number, 22,840 = 2 × 2 × 2 × 5 × 571. Its digits add up to 16, a total 1,922 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 101100100111000
  • 🏠 Its numerical neighbours: 22835 (Luray, VA, 25 mi away) and 22841 (Mount Crawford, VA, 9 mi away).
  • 🔄 Backwards, 22840 becomes 04822, which is not a ZIP code at all.
  • 👥 34 other ZIP codes are made of exactly the same digits (02284, 02482, 02824, 02842, 04228, 04282, …). The farthest-flung twin is 84022 in Dugway, UT, 1,804 miles away.
  • 🧭 Farther south than 56% of all ZIP codes, and farther east than 77%.
  • 🎯1,066 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
  • 🌏 Dig straight through the Earth from 22840 and you would come out at 38.39°S, 101.26°E — 936 miles from Perth, Australia, the nearest big city to that spot.
  • ☀Longest day of the year: 14h 51m of daylight. Shortest: 9h 29m.
  • 📏 At 31.4 square miles of land, 22840 is bigger than 47% of ZIP codes — room for about 24 Central Parks.
🌙 The sky over 22840 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population5,239This ZIP5,239
Households2,098This ZIP2,098
Housing units3,336This ZIP3,336
Median age47.2This ZIP47.2Virginia39.0US 38.9
Median household income$95,667This ZIP$95,667Virginia$93,170US $80,734
Median home value$382,500This ZIP$382,500Virginia$383,700US $332,700
Median gross rent$1,446This ZIP$1,446Virginia$1,579US $1,413
Bachelor's degree or higher49.7%This ZIP49.7%
Mean commute23.3 minThis ZIP23.3 min
Population density166.8 / sq miThis ZIP166.8 / sq mi

Business and tax activity

Business establishments65This ZIP65
Employees1,943This ZIP1,943
Annual payroll$70,445,000This ZIP$70,445,000
Tax returns filed2,330This ZIP2,330
Total adjusted gross income$193,084,000This ZIP$193,084,000

Land area

Land area31.41 sq miThis ZIP31.41 sq mi
Water area0.20 sq miThis ZIP0.20 sq mi

Other place names in 22840

Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.

ZIP codes near 22840

ZIPCityDistance
22846 Penn Laird, VA 2.9 mi
22832 Keezletown, VA 4.6 mi
24471 Port Republic, VA 5.9 mi
22827 Elkton, VA 7.0 mi
22807 Harrisonburg, VA 7.4 mi
22801 Harrisonburg, VA 7.4 mi
22803 Harrisonburg, VA 7.8 mi
22848 Pleasant Valley, VA 8.0 mi
22841 Mount Crawford, VA 8.8 mi
22802 Harrisonburg, VA 9.6 mi

Find every ZIP code within 10 miles of 22840 →

Questions about this ZIP code

Where is ZIP code 22840?

22840 is in Mc Gaheysville, Virginia, in Rockingham County, part of the Harrisonburg, VA metropolitan area. Its published point location is 38.3924, -78.7441.

What county is 22840 in?

22840 lies in Rockingham County.

What area code is 22840?

Mc Gaheysville uses area codes 540 and 826, from NANPA's telephone records.

What time zone is 22840 in?

22840 uses America/New_York.

How many people live in 22840?

About 5,239 people live in ZIP code 22840, in 2,098 households, at 166.8 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.

What is the median household income in 22840?

$95,667 a year, against $93,170 across Virginia.

What ZIP codes are near 22840?

The closest are 22846 (2.9 mi), 22832 (4.6 mi), 24471 (5.9 mi), 22827 (7 mi) and 22807 (7.4 mi).

Is 22840 a PO Box ZIP code?

22840 is a standard ZIP code. A normal ZIP code with street delivery.

Download or cite

Cite this page

zipcodes.pro. “22840 ZIP Code — Mc Gaheysville, Virginia (Rockingham County).” Data release 2026-10-12. Retrieved 2026-10-20. https://zipcodes.pro/zip/22840

Machine-readable version of these facts:

curl https://zipcodes.pro/zip/22840.json

Underlying data is public domain or openly licensed — sources, vintages and licences.