Ocean City

Town in Worcester County, Maryland

View of Ocean City, Maryland
Photo: User:Dough4872 · CC BY-SA 3.0

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.

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…

Hourly forecast & alerts ›

Source: National Weather Service (NOAA).

Live webcams in Ocean City

All 24 webcams near 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
Cost of living and demographics of Ocean City ›

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

Loading 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 Census6,844
Density1,546 per sq mi (597 per km²)

Source: U.S. Census Bureau, Decennial Census.

Ocean City at a glance

StateMaryland (MD)
CountyWorcester County
TypeTown
Population6,844 (2020)
Land area4.43 sq mi (11.5 km²)
Water area5.11 sq mi (13.23 km²)
Elevation7 ft (2 m)
Coordinates38.4107° N, 75.0714° W
ZIP code21842
Official websiteoceancitymd.gov
Census code (GEOID)2458225

Sources: U.S. Census Bureau (Gazetteer, ZCTA), USGS GNIS, Wikidata.

Towns near Ocean City

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: