Ocean City
Town in Worcester County, Maryland

Ocean City is a town in Worcester County, Maryland, with 6,844 residents (2020 Census). It sits at 7 ft (2 m) above sea level. The nearest town is Fenwick Island, 3.6 miles N.
- 6,844residents (2020 Census)
- 7 ftelevation · 2 m
- 4.4 sq miland area · 11.5 km²
- 1,546 / sq mipopulation density
- 21842ZIP code
About Ocean City
Ocean City is a resort city in Worcester County, Maryland, United States, along the Atlantic coast of the United States. The population was 6,844 in the 2020 U.S. census, although during summer weekends the city hosts between 320,000 and 345,000 vacationers, and up to eight million visitors annually. During the summer, Ocean City becomes the second most populated municipality in Maryland, after Baltimore. It is part of the Salisbury metropolitan area as defined by the United States Census Bureau.
During peak vacation season, the city gains over 1,000 seasonal police officers, along with additional firefighters and other workers. Numerous events take place within the town during the shoulder-season, including Sunfest, Springfest, Bike Week, Cruisin' Weekend, Winterfest of Lights, and Reach the Beach, which take place on the Boardwalk and at the Roland E. Powell Convention Center.
Text: Wikipedia · CC BY-SA 4.0
Ocean City weather: 7-day forecast
Loading the National Weather Service forecast…
Source: National Weather Service (NOAA).
Live webcams in Ocean City
Webcams: Windy.com
Living in Ocean City
- Median household income
- $77,750
- Median home value
- $429,000
- Median rent
- $1,353/mo
- Median age
- 55.6
Do you know Ocean City? Tell us about it
Help other travelers: share what makes Ocean City special. We review every message before publishing it.
Map of Ocean City
Tap any street on the map to see it in Street View below. Map: © OpenStreetMap contributors.
Ocean City Street View
Drag the image to look around and tap the arrows on the ground to move. If it says there is no imagery, tap a nearby street on the map above.
Open in Google Maps ›Ocean City, MD population
Ocean City had 6,844 residents in the 2020 Census.
| 2020 Census | 6,844 |
|---|---|
| Density | 1,546 per sq mi (597 per km²) |
Source: U.S. Census Bureau, Decennial Census.
Ocean City at a glance
| State | Maryland (MD) |
|---|---|
| County | Worcester County |
| Type | Town |
| Population | 6,844 (2020) |
| Land area | 4.43 sq mi (11.5 km²) |
| Water area | 5.11 sq mi (13.23 km²) |
| Elevation | 7 ft (2 m) |
| Coordinates | 38.4107° N, 75.0714° W |
| ZIP code | 21842 |
| Official website | oceancitymd.gov |
| Census code (GEOID) | 2458225 |
Sources: U.S. Census Bureau (Gazetteer, ZCTA), USGS GNIS, Wikidata.
Towns near Ocean City
- Fenwick Island, DE3.6 mi N
- Ocean Pines4.5 mi SW
- West Ocean City4.9 mi SW
- South Bethany, DE7.3 mi N
- Bishopville7.7 mi W
- Selbyville, DE8.1 mi NW
- Bethany Beach, DE8.8 mi N
- Ocean View, DE8.8 mi N
- Millville, DE9.2 mi N
- Berlin9.5 mi SW
- Frankford, DE11.6 mi NW
- Whaleyville12.4 mi W
Straight-line distance between town centers.
Frequently asked questions about Ocean City
What county is Ocean City in?
Ocean City is in Worcester County, Maryland.
What is the population of Ocean City, MD?
6,844 people lived in Ocean City at the 2020 Census.
What is the ZIP code of Ocean City, MD?
The ZIP code of Ocean City is 21842.
What is the elevation of Ocean City?
7 feet (2 m) above sea level.
What towns are near Ocean City?
Fenwick Island (3.6 mi), Ocean Pines (4.5 mi), West Ocean City (4.9 mi), South Bethany (7.3 mi), Bishopville (7.7 mi).
Last updated: