Residential delivery area · Maryland

ZIP Code 21740: Hagerstown, MD

ZIP code 21740 uses the postal name Hagerstown, Maryland and lies entirely in Washington County (Census 2020 ZIP-county file). About 65,000 people live there (Census Bureau, ACS 2020-2024), the most populous of Hagerstown's 3 residential ZIP codes. Median household income is $62,873 (Census Bureau, ACS 2020-2024). By Census place, its land lies in Hagerstown (14%), St. James (6%), Wilson-Conococheague (5%), Halfway (4%), Maugansville (3%), Beaver Creek (1%), Bagtown (under 1%), Kemps Mill (under 1%), Cearfoss (under 1%) and Fairview (under 1%), and under 1% in smaller places; 65% is outside any Census place.

  • ACS2020-24
  • Census2020
  • FHFA2025
  • ZBP2023
  • IRS2022
2national area: Maryland, District of Columbia, North Carolina, South Carolina, Virginia and West Virginia
217sectional center: Baltimore, MD (SCF 212)
40delivery area within it
Town
Hagerstown · 3 residential ZIPs
Census places
Hagerstown (14%); St. James (6%) census-designated place; Wilson-Conococheague (5%) census-designated place; Halfway (4%) census-designated place
Neighborhoods
Doub Meadow, Edgewood Hill, Frederick Manor, Londontowne, Woodcrest Village GeoNames
Metro area
Hagerstown-Martinsburg, MD-WV
House district
MD-6 119th Congress
Time zone
Eastern
Land area
70.9 sq mi · 914 people per sq mi
PO Box ZIPs
21741, 21747, 21749 also use the name Hagerstown

Where is ZIP code 21740?

21740 centers on 39.632°, -77.744° and covers 70.9 square miles of land plus 0.2 of water. It borders 12 ZIP codes: 21734, 21781, 21767, 21746, 21795, 21733, 21742, 21713, 21722, 21783 and more.

17225 · Greencastle21713 · Boonsboro21722 · Clear Spring21733 · Fairplay21734 · Funkstown21742 · Hagerstown21746 · Hagerstown21767 · Maugansville21773 · Myersville21781 · Saint James21783 · Smithsburg21795 · Williamsport21740 · Hagerstown (this ZIP)21740172252172221783217132174221795217732173317225 · Greencastle21713 · Boonsboro21722 · Clear Spring21733 · Fairplay21734 · Funkstown21742 · Hagerstown21746 · Hagerstown21767 · Maugansville21773 · Myersville21781 · Saint James21783 · Smithsburg21795 · Williamsport21740 · Hagerstown (this ZIP)21740172252172221783217132174221795217732173317225 · Greencastle21713 · Boonsboro21722 · Clear Spring21733 · Fairplay21734 · Funkstown21742 · Hagerstown21746 · Hagerstown21767 · Maugansville21773 · Myersville21781 · Saint James21783 · Smithsburg21795 · Williamsport21740 · Hagerstown (this ZIP)217401722521722217832171321742217952177321733
Shaded by median household income, in national fifths (ACS 2020-2024); 21740 outlined. Census 2020 ZCTA boundaries. <$54.1k$98.1k+no figure

The map draws ZIP code areas only. For the streets inside 21740, 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); neighborhoods from the GeoNames gazetteer (CC BY 4.0), placed in this ZIP code by PlainZIP.

How does 21740 compare with the rest of Hagerstown?

Rank of 21740 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)
Measure21740In HagerstownIn Washington CountyIn MD
People (ACS 2020-2024)64,7921st of 31st of 204th of 477
Median household income$63k2nd of 29th of 9272nd of 293
Median home value$262k2nd of 212th of 15278th of 320

Its median household income is higher than in 35% of U.S. residential ZIP codes, and it is denser than 78% 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 21740?

The 2020 Census counted 65,619 people in 21740; the ACS, which samples households over 2020-2024, estimates 64,792. Between the 2010 and 2020 censuses its population grew 6.1% (its boundary stayed at least 90% the same).

People, ACS 2020-2024
64,792
2020 Census count
65,619+6.1% since 2010 (61,859)
Households
25,276
Median age
37.9

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 21740?

Of the 64,792 people the ACS estimates in 21740, 22.8% are under 18 and 16.3% are 65 or older. The largest group by race and Hispanic origin is White (not Hispanic) (61.2%), then Black (not Hispanic) (18.0%).

  • Under 1822.8%
  • 18 to 6461.0%
  • 65 and older16.3%
Age of the people of 21740 (ACS 2020-2024, B01001)
  • White, not Hispanic61.2%
  • Black, not Hispanic18.0%
  • Hispanic or Latino11.6%
  • Other or two or more7.4%
  • Asian, not Hispanic1.8%
Race and Hispanic origin in 21740 (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 21740 earn?

Median household income is $62,873 (ACS 2020-2024), the 9th highest of the 9 ranked ZIP codes in Washington County. It is not measurably different from 2015-2019 ($59,352 in 2024 dollars): the change is within the surveys' margins of error.

Median household income
$62,873
Income per person
$33,461
Below the poverty line
17.3%
Unemployed (of the labor force)
4.7%
Adults 25+ with a bachelor's degree
20.7%
Adjusted gross income per tax return, 2022
$55,21230,400 returns; wages 78% 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 21740?

FHFA's house price index for 21740, built from repeat sales and appraisals of the same homes, rose 90% from 2015 to 2025 and rose 59% from 2020 to 2025, and moved +1.7% in 2025.

Median home value (owners' estimate)
$262,300
Median gross rent
$1,080
Homes owned by their occupants
55.3%
Housing units
27,339
0 200 400 600 800 197819902000201020202025 0 200 400 600 800 197819902000201020202025 0 200 400 600 800 197819902000201020202025
Index = 100 in 1978, the first year FHFA reports for 21740; 2025: 762.4. 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 21740?

1,814 business establishments had a location in this ZIP code in 2023, 21 fewer than in 2018; the most are in retail trade (ZIP Code Business Patterns).

  • Retail trade337
  • Health care and social assistance233
  • Other services (except public administration)213
  • Accommodation and food services209
  • Construction123
  • Professional, scientific, and technical services119

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 21740?

ZIP codes that share a boundary with 21740, then the nearest by center
ZIPTownPeopleHousehold incomeDistance
21734Funkstown1,076$61k2.8 mi
21781Saint James25–4.3 mi
21767Maugansville1,031$58k4.6 mi
21746Hagerstown2,361–4.8 mi
21795Williamsport10,144$88k5.5 mi
21733Fairplay1,275$110k5.7 mi
21742Hagerstown34,069$86k5.8 mi
21713Boonsboro9,846$96k8.4 mi
21722Clear Spring6,721$88k9.3 mi
21783Smithsburg9,910$101k10.3 mi
17225Greencastle, PA20,347$89k10.5 mi
21773Myersville5,826$162k12.0 mi

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