City ZIP codes · Maryland

Hagerstown, MD ZIP Codes

6 ZIP codes use the postal name Hagerstown, Maryland (Census 2020 ZCTAs and GeoNames postal codes, October 2026): 3 residential and 3 for PO boxes or a single organization. Median household income runs from $62,873 in 21740 to $86,288 in 21742, 1.4 times as much (Census Bureau, ACS 2020-2024). Hagerstown's most populous ZIP code is 21740, with 64,792 people (ACS 2020-2024); 14% of its land is in the city of Hagerstown.

  • ACS2020-24
  • Census2020
  • GeoNames2026

Where are Hagerstown's ZIP codes?

21740: $63k median household income21742: $86k median household income21746: – median household income217402174221740: $63k median household income21742: $86k median household income21746: – median household income217402174221740: $63k median household income21742: $86k median household income21746: – median household income2174021742
The 3 residential ZIP codes named Hagerstown, shaded by median household income in national fifths (ACS 2020-2024). Select a ZIP to open it. <$54.1k$98.1k+no figure

Source: U.S. Census Bureau, 2020 ZCTA cartographic boundaries; ACS 2020-2024 5-year estimates (B19013).

How different are Hagerstown's ZIP codes?

The highest median household income is in 21742 ($86,288), the lowest in 21740 ($62,873). Home values run from $262,300 in 21740 to $304,800 in 21742.

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates (B19013, B25077, B01003).

All 3 residential ZIP codes of Hagerstown

Residential ZIP codes with the postal name Hagerstown, MD, largest first (ACS 2020-2024); sort by any column
County
21740 Washington County 64,792 914 $63k $262k
21742 Washington County 34,069 733 $86k $305k
21746 Washington County 2,361 8,977 – –

Download the 6 ZIP codes as CSV

Source: U.S. Census Bureau, ACS 2020-2024 5-year estimates; 2023 Gazetteer land areas (2020 ZCTAs); town names from simplemaps US ZIP Codes (CC BY 4.0) and GeoNames (CC BY 4.0).

PO Box and single-organization ZIP codes in Hagerstown

3 ZIP codes named Hagerstown have no residential delivery area: post office boxes, or one organization (a large employer, an agency, a university) with its own code. The Census Bureau publishes no figures for them.

Hagerstown, MD: ZIP codes without a residential area, for PO boxes or one organization (GeoNames postal codes; USPS does not publish openly which is which)
ZIPCounty
21741Washington County
21747Washington County
21749Washington County

Source: GeoNames postal codes (CC BY 4.0); a ZIP code with no Census ZCTA has no residential delivery area.

Which counties do Hagerstown's ZIP codes reach?

Hagerstown's residential ZIP codes lie in Washington County.

Which places do Hagerstown's ZIP codes cover?

A postal name is not a city limit. By the Census Bureau's places, Hagerstown's residential ZIP codes cover Hagerstown itself and 17 other places, each listed with the ZIP codes that have at least 5% of their land in it or hold most of the place:

  • Bagtown census-designated 21740
  • Beaver Creek census-designated 21740
  • Cearfoss census-designated 21740
  • Fairview census-designated 21740
  • Fountainhead-Orchard Hills census-designated 21742
  • Halfway census-designated 21740
  • Jugtown census-designated 21742
  • Kemps Mill census-designated 21740
  • Leitersburg census-designated 21742
  • Maugansville census-designated 21740
  • Middleburg census-designated 21742
  • Mount Aetna census-designated 21742
  • Paramount-Long Meadow census-designated 21742
  • Reid census-designated 21742
  • Robinwood census-designated 21742
  • St. James census-designated 21740
  • Wilson-Conococheague census-designated 21740

Source: U.S. Census Bureau, 2020 ZCTA-to-place relationship file (shares of land).

Which first three digits do Hagerstown's ZIP codes use?

The first three digits of a ZIP code name the sectional center, the mail processing plant that sorts it. Every ZIP code of Hagerstown starts with 217.

Three-digit prefixes of Hagerstown's ZIP codes, the sectional center for each (USPS labeling list L005, effective October 1, 2026) and how many of the prefix's codes are Hagerstown's
PrefixSectional centerHereAll codes
217 Baltimore, MD (SCF 212) 6 66

Source: U.S. Postal Service, labeling list L005 (3-digit ZIP Code prefix groups, SCF sortation), effective October 1, 2026.