City in Washington County, Maryland

Hagerstown, Maryland

44,228 residents · 2 ZIP Codes

Population
44,228 ▲ 1.5% since 2020 (2025 est.)
Rank in state
22nd largest of 383 places
Land area
12.9 sq mi · 3,423 people/sq mi
Time zone
Eastern Time
ZIP Codes
21740 and 21742
Area code
227, 240, and 301
77.75°W77.70°W39.60°N39.65°N21740217421 miN
Median household income
  • under $86k
  • $86k+
Hagerstown city limits (outlined) over the ZIP Codes that serve it.

What county is Hagerstown in?

Hagerstown is in Washington County, Maryland.

What stands out in Hagerstown

  • The poverty rate is 21.9%, 77% higher than Washington County (12.4%).
  • The homeownership rate is 43.3%, 35% lower than Washington County (66.8%).
  • The median household income is $52,221, 33% lower than Washington County ($77,747).
  • The median home value is $224,500, 24% lower than Washington County ($296,100).

ZIP Codes in Hagerstown

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
21740Hagerstown64,792$62,873$262,30037.914% of ZIP
21742Hagerstown34,069$86,288$304,80041.75% of ZIP

PO Box and unique ZIP Codes

People in Hagerstown

Median age35.8
Under 1825.8%
65 and older14.6%
Born abroad8.4%
Moved here in the last year16.5%

Age and sex

MaleAgeFemale
1.0%80+2.2%
2.5%70–793.6%
5.0%60–696.0%
5.4%50–596.1%
5.8%40–496.1%
7.4%30–397.9%
6.7%20–297.1%
5.9%10–195.7%
7.8%0–97.7%
Share of all residents in each age group

Race and ethnicity

  • White56.6%
  • Black21%
  • Hispanic or Latino12.2%
  • Two or more races8.5%
  • Asian1.4%
  • Pacific Islander0.2%
  • Other0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

18,144 households, 2.36 people per household on average, 52.1% family households, and 38.5% people living alone.

Income in Hagerstown

Median household income$52,221±$3,236
Per-capita income$30,461
Poverty rate21.9%
Income inequality (Gini)0.470 = equal, 1 = unequal
25%Under $25k
22%$25k–50k
17%$50k–75k
12%$75k–100k
14%$100k–150k
6%$150k–200k
3%$200k+
Households by annual income

Housing in Hagerstown

Median home value$224,500
Median gross rent$1,114/mo
Housing units19,679
Median year built1962
Vacant7.8%

Owners and renters

  • Owner-occupied 43.3%
  • Renter-occupied 56.7%

Types of homes

  • Single-family homes 63%
  • 2–9 unit buildings 21.6%
  • 10+ unit buildings 14.8%
  • Mobile homes, RVs 0.6%

Work, commute and education

Mean commute26 minone way
Unemployment rate7.2%
Labor force participation62.2%age 16+
Broadband at home86.1%households

How workers get to work

  • Drove alone68%
  • Carpooled12.4%
  • Public transit2.1%
  • Walked2.1%
  • Bicycle0.1%
  • Worked from home11.5%

Education, adults 25+

  • High school or higher84.8%
  • Bachelor's or higher20.5%
  • Graduate or professional degree7.4%

How Hagerstown compares

HagerstownWashington CountyMarylandUnited States
Median household income$52,221$77,747$103,678$80,734
Per-capita income$30,461$39,035$52,979$44,673
Median home value$224,500$296,100$419,900$332,700
Median gross rent$1,114/mo$1,147/mo$1,705/mo$1,413/mo
Homeownership rate43.3%66.8%67.6%65.2%
Median age35.840.739.438.9
Bachelor's degree or higher20.5%24.1%43.4%35.7%
Poverty rate21.9%12.4%9.4%12.5%
Unemployment rate7.2%4.2%4.9%5.2%
Mean commute26 min29 min31 min26 min
Worked from home11.5%12.4%19.3%15.1%
Broadband at home86.1%88.5%92.4%91%
Foreign-born residents8.4%6.6%16.6%14.1%

Places near Hagerstown

Area codes in Hagerstown

Hagerstown phone numbers use area codes 227, 240, and 301. See every phone prefix, carrier and the local time on Hagerstown area codes at AreaCodeExplorer.

Hagerstown, MD: questions and answers

What county is Hagerstown, MD in?
Hagerstown is in Washington County, Maryland.
What ZIP Codes are in Hagerstown?
Hagerstown is served by 2 residential ZIP Codes: 21740 and 21742. PO Box ZIP Codes: 21741, 21747, and 21749.
What is the population of Hagerstown?
The Census Bureau estimates 44,228 residents in Hagerstown in 2025.
What time zone is Hagerstown in?
Hagerstown is in the Eastern Time zone (America/New_York).
What is the area code for Hagerstown?
Hagerstown uses area codes 227, 240, and 301.

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.