Ocean City, MD ZIP Codes, Coordinates & Counties
Ocean City, Maryland has 1 ZIP code in Worcester county. The approximate center of Ocean City is 38.372, -75.093. Ocean City has about 146,157 known street addresses.
ZIP codes in Ocean City, MD
| ZIP Code | County | Latitude | Longitude |
|---|---|---|---|
| 21842 | Worcester | 38.372 | -75.093 |
Counties Ocean City spans
Worcester
Most common streets in Ocean City
Coastal, Atlantic, Philadelphia, Ocean, C, Wight, Saint Louis, Baltimore, 142nd, Sunset
Frequently asked questions
What ZIP codes are in Ocean City, MD?
Ocean City, Maryland has 1 ZIP code, ranging from 21842 to 21842. The full list, with each ZIP's county and coordinates, is in the table on this page.
What county is Ocean City, MD in?
Ocean City is in Worcester county.
What are the latitude and longitude of Ocean City, MD?
The approximate center of Ocean City, Maryland is latitude 38.372, longitude -75.093. Coordinates for each ZIP code are listed in the table above.
How many ZIP codes does Ocean City, MD have?
Ocean City has 1 ZIP code.
How many addresses are in Ocean City, MD?
Ocean City, Maryland has about 146,157 known street addresses in the sthan.io US address database.
What are the most common streets in Ocean City, MD?
Some of the most common street names in Ocean City are Coastal, Atlantic, Philadelphia, Ocean, C, Wight.
What cities are near Ocean City, MD?
Cities near Ocean City include Bishopville (5 mi), Fenwick Island (7 mi), Showell (7 mi), Selbyville (8 mi), Berlin (8 mi).
Cities near Ocean City
Bishopville, MD (5 mi) Fenwick Island, DE (7 mi) Showell, MD (7 mi) Selbyville, DE (8 mi) Berlin, MD (8 mi) Whaleyville, MD (11 mi) Bethany Beach, DE (12 mi) Frankford, DE (12 mi)
Need this for any US address, in code?
Get the ZIP code, county, and coordinates for any US address through the sthan.io API. Free 100 requests/month, no credit card required.
View the API →Last updated: June 2026 · Data: sthan.io US address database