GIS Map

ZIP Code 21842 Map

Census ZIP Code Tabulation Area 21842 in Ocean City, MD (Worcester County). ZCTA boundaries closely approximate USPS delivery areas.

ZIP 21842 Demographics

Source: U.S. Census Bureau, American Community Survey 2020-2024 5-year estimates.

Population

11,226

Households

5,751

Median household income

$79,876

Median age

53.4 years

Median home value

$447,700

Median gross rent

$1,394/mo

Owner-occupied homes

76%

Bachelor's degree or higher

40.7%

Below poverty level

9.4%

Land area

9.1 sq mi

Population density

1,240 / sq mi

Cities served

Climate of Ocean City

30-year averages (1991–2020) from the Ocean City Muni Ap, Md weather station, elevation 12 ft, 2.9 miles from the city center.

Warmest month

Jul · avg high 84°F

Coldest month

Jan · avg low 28°F

Annual precipitation

42.6 in

Average Monthly Temperatures (°F)

JanFebMarAprMayJunJulAugSepOctNovDec
MonthJanFebMarAprMayJunJulAugSepOctNovDec
Avg high °F454752627079848377685850
Avg low °F282935445363686761493932
Precip. in3.392.953.863.003.763.323.773.833.934.043.183.60

Source: NOAA NCEI U.S. Climate Normals, 1991–2020. Conditions at the station may differ from other parts of the city.

Natural Hazard Risk in ZIP 21842

FEMA National Risk Index ratings for Worcester County, compared with all U.S. counties.

Overall risk

Relatively Low

Score 68.2 of 100

Expected annual loss

$25,501,002

Buildings, population & agriculture

Social vulnerability

Relatively Moderate

Susceptibility to hazard impacts

Community resilience

Very High

Ability to prepare & recover

Risk by Hazard

  • HurricaneRelatively Moderate
  • Coastal FloodingRelatively High
  • Winter WeatherRelatively Moderate
  • Cold WaveRelatively Moderate
  • WildfireRelatively Low
  • DroughtRelatively Moderate
  • Ice StormRelatively Low
  • Heat WaveRelatively Low
  • Inland FloodingRelatively Low
  • EarthquakeVery Low
  • LightningRelatively Low
  • Strong WindRelatively Low
  • TornadoVery Low
  • LandslideVery Low
  • HailVery Low

Source: FEMA National Risk Index (December 2025 release). County-level ratings are relative to other U.S. counties and are not a property-specific assessment.