Ocean City, MD ZIP codes
Ocean City, Maryland has 2 ZIP codes, including 1 PO Box ZIP. They are in Worcester County.
- Population in these ZIPs
- 11,226
- Avg. median income
- $79,900population-weighted
- Typical home value
- $444,800population-weighted
- Metro area
- Ocean Pines, MD
Loading map…
Click anywhere on the map to see which ZIP code it's in.
Ocean City, MD ZIP codes list
| ZIP code | County | Population | Median income | Typical home value |
|---|---|---|---|---|
| 21842 | Worcester County | 11,226 | $79,876 | $444,800 |
| 21843 PO Box | Worcester County | — | — | — |
Population and median household income: ACS 2020–2024 5-year estimates. Typical home value: Zillow Home Value Index (September 2026) where available, otherwise the ACS median owner-reported value. "PO Box" marks ZIP codes with no delivery area of their own. Methodology
Cities near Ocean City
- Bishopville 7 mi
- Showell 8 mi
- Berlin 8 mi
- Whaleyville 12 mi
- Newark 14 mi
- Willards 15 mi
- Pittsville 17 mi
- Parsonsburg 20 mi
- Snow Hill 20 mi
- Girdletree 23 mi
- Delmar 26 mi
- Stockton 28 mi
Frequently asked questions
What county is Ocean City, Maryland in?
Ocean City ZIP codes are in Worcester County.
Which Ocean City ZIP codes are PO Boxes?
21843 is a PO Box or single-organization ZIP code; it has no residential delivery area.