21740
Updated
ZIP 21740 is in Hagerstown, Maryland, in Washington County; area codes 240, 301 and 227; Eastern time. Hagerstown has 6 ZIP codes; the others are 21741, 21742, 21746, 21747 and 21749.
- Type
- Standard
- Time zone
- America/New_York
- County
- Washington
- Metro area
- Hagerstown-Martinsburg, MD-WV
- Population
- 64,792
- Coordinates
- 39.6319, -77.7439
Weather right now
Asking the National Weather Service…
Where 21740 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.
People and housing
| Population | 64,792This ZIP64,792 |
|---|---|
| Households | 25,276This ZIP25,276 |
| Housing units | 27,339This ZIP27,339 |
| Median age | 37.9This ZIP37.9Maryland39.4US 38.9 |
| Median household income | $62,873This ZIP$62,873Maryland$103,678US $80,734 |
| Median home value | $262,300This ZIP$262,300Maryland$419,900US $332,700 |
| Median gross rent | $1,080This ZIP$1,080Maryland$1,705US $1,413 |
| Bachelor's degree or higher | 20.7%This ZIP20.7% |
| Mean commute | 26.6 minThis ZIP26.6 min |
| Population density | 914.1 / sq miThis ZIP914.1 / sq mi |
How 21740 compares
21740 has the most residents in Washington County: 64,792, against 929 in 21711 at the other end, among 16 ZIP codes ranked.
21740 has the youngest population in Washington County: 37.9, against 52.4 in 21734 at the top, among 16 ZIP codes ranked.
Its median household income, $62,873, is lower than in 91% of Maryland's 401 ZIP codes where people live.
| Measure | 21740 | Rank in county | Above, in MD |
|---|---|---|---|
| Median household income | $62,873 | 11th of 14 | 9% |
| Median home value | $262,300 | 12th of 15 | 16% |
| Median gross rent | $1,080 | 8th of 13 | 13% |
| Population | 64,792 | 1st of 16 | 99% |
| Median age | 37.9 | 16th of 16 | 27% |
| Bachelor's degree or higher | 20.7% | 11th of 16 | 16% |
| People per square mile | 914 | 4th of 16 | 62% |
Rank in county is among the ZIP codes of Washington County, 1 being the highest; "Above, in MD" is the share of Maryland's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 1,814This ZIP1,814 |
|---|---|
| Employees | 36,427This ZIP36,427 |
| Annual payroll | $1,657,896,000This ZIP$1,657,896,000 |
| Tax returns filed | 30,400This ZIP30,400 |
| Total adjusted gross income | $1,678,435,000This ZIP$1,678,435,000 |
Land area
| Land area | 70.88 sq miThis ZIP70.88 sq mi |
|---|---|
| Water area | 0.17 sq miThis ZIP0.17 sq mi |
Other place names in 21740
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
- Hagerstown
- St. James
- Wilson-Conococheague
- Halfway
- Maugansville
- Beaver Creek
- Bagtown
- Mount Aetna
- Kemps Mill
- Cearfoss
- Robinwood
- Fairview
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
21740 | Hagerstown, MD (this ZIP) | — | 64,792 | $62,873 | $262,300 |
21734 | Funkstown, MD | 2.8 mi | 1,076 | $61,392 | $277,800 |
21767 | Maugansville, MD | 4.6 mi | 1,031 | $57,940 | $258,700 |
21746 | Hagerstown, MD | 4.8 mi | 2,361 | — | — |
21795 | Williamsport, MD | 5.5 mi | 10,144 | $87,864 | $295,800 |
21733 | Fairplay, MD | 5.7 mi | 1,275 | $109,896 | $291,800 |
21742 | Hagerstown, MD | 5.8 mi | 34,069 | $86,288 | $304,800 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
Find every ZIP code within 10 miles of 21740 →
- 🔢 Type 21740 into a pocket calculator and turn it upside down: OhLIZ — not quite a word, sorry.
- 🏠 Its numerical neighbours: 21738 (Glenwood, MD, 45 mi away) and 21741 (Hagerstown, MD, 1 mi away).
- 🧭 Farther north than 53% of all ZIP codes, and farther east than 79%.
- 🎯1,105 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 14h 59m of daylight. Shortest: 9h 22m.
- 📏 At 70.9 square miles of land, 21740 is bigger than 69% of ZIP codes — room for about 54 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 21740?
21740 is in Hagerstown, Maryland, in Washington County, part of the Hagerstown-Martinsburg, MD-WV metropolitan area. Its published point location is 39.6319, -77.7439.
What county is 21740 in?
21740 lies in Washington County.
What area code is 21740?
Hagerstown uses area codes 240, 301 and 227, from NANPA's telephone records.
What time zone is 21740 in?
21740 uses America/New_York.
How many people live in 21740?
About 64,792 people live in ZIP code 21740, in 25,276 households, at 914.1 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 21740?
$62,873 a year, against $103,678 across Maryland.
What ZIP codes are near 21740?
The closest where people live are 21734 (2.8 mi), 21767 (4.6 mi), 21746 (4.8 mi), 21795 (5.5 mi) and 21733 (5.7 mi).
Is 21740 a PO Box ZIP code?
21740 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “21740 ZIP Code: Hagerstown, Maryland (Washington County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/21740
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/21740.json Underlying data is public domain or openly licensed — sources, vintages and licences.