Independent community site, not affiliated with any government.
OC

Ocean City, Maryland

Town in Worcester County, Maryland · ZIP 21842

  • Worcester County
  • Census data · ACS 2019-2023
  • 6,884 (2024 estimate)Population
  • 3,872Households
  • $69,675Median household income
  • $373,700Median home value
  • 1ZIP codes

About Ocean City

Ocean City is a town in Worcester County, Maryland, in the Ocean Pines, MD metro area with 6,884 residents (2024 Census estimate). [1][2] Its median age is 56.0 (2019-2023), 5.3 years above Worcester County’s 50.7 and 16.7 years above Maryland’s 39.3 and 17.3 years above the national 38.7. Among the 8 towns in Worcester County with the figure it ranks 2nd, and 42nd of 459 in Maryland. [1] Its mean commute to work is 19.3 minutes (2019-2023), 3.4 minutes below Worcester County’s 22.7 minutes and 12.2 minutes below Maryland’s 31.5 minutes and 7.3 minutes below the national 26.6 minutes. Among the 7 towns in Worcester County with the figure it ranks 5th, and 413th of 435 in Maryland. [1] Its median household income is $69,675 (2019-2023), about 14% lower than Worcester County’s $81,455 and about 31% lower than Maryland’s $101,652 and about 11% lower than the national $78,538. Among the 6 towns in Worcester County with the figure it ranks 5th, and 330th of 406 in Maryland. [1] Its median gross rent is $1,187 (2019-2023), about the same as Worcester County’s $1,180 and about 29% lower than Maryland’s $1,662 and about 12% lower than the national $1,348. Among the 6 towns in Worcester County with the figure it ranks 3rd, and 261st of 334 in Maryland. [1] Its share of homes that are owner-occupied is 73.4% (2019-2023), 3 points below Worcester County’s 76.7% and 6 points above Maryland’s 67.5% and 8 points above the national 65.0%. Among the 9 towns in Worcester County with the figure it ranks 5th, and 287th of 464 in Maryland. [1] It is in congressional district MD-1; its ZIP code is 21842. [1][2]

Computed from the records cited, sentence by sentence, in the records’ own periods; not written by the town government and not an opinion.

Town intelligence

Official sources, refreshed yearly
Population, 2000 to 2020−4.6%
6.8k7k7.2k2000: 7,17320002010: 7,10220102020: 6,84420207,1736,844
Population of Ocean City at each census
CensusPopulation
20007,173
20107,102
20206,844

As counted at each census, within the boundaries the area had then; the current estimate is in the glance card.

Sources: Census 2000 Summary File 1: total population, place level, state 24, retrieved November 14, 2026; Census 2010 Summary File 1: total population, place level, state 24, retrieved November 14, 2026; Census 2020 Redistricting Data (P.L. 94-171): total population, place level, state 24, released August 12, 2021, retrieved November 14, 2026.

Household income in Ocean City
Under $50k33.2%
$50k to $100k32.6%
$100k to $150k15.4%
$150k to $200k7.7%
$200k and over11.1%

Median household income $69,675 · Share of households by income, American Community Survey 5-year 2019-2023, table S1901.

Source: American Community Survey 5-year subject table S1901 (household income) 2019–2023, place level, state 24, released December 12, 2024, retrieved November 14, 2026.

Housing tenure in Ocean City
Owner occupied
2,842 units
Renter occupied
1,030 units
Vacancy rate
87%

Occupied housing units by tenure and the share of all units vacant, American Community Survey 5-year 2019-2023, table DP04.

Source: American Community Survey 5-year data profile 2019–2023, place level, state 24, released December 12, 2024, retrieved November 16, 2026.

Ocean City compared with its county and stateACS 2019-2023
Ocean City compared with its county and state, American Community Survey 2019-2023
MeasureOcean CityWorcester CountyMaryland
Population6,88753,2796,170,738
Median household income$69,675$81,455$101,652
Median age56.050.739.3
Median home value$373,700$348,100$397,700
Bachelor’s degree or higher40.4%32.7%42.7%
Foreign-born residents11.3%5.1%16.3%
Owner-occupied homes73.4%76.7%67.5%
Mean commute to work19.3 minutes22.7 minutes31.5 minutes

Source: American Community Survey 5-year data profile 2019–2023, place level, state 24, released December 12, 2024, retrieved November 16, 2026.

Not yet on this page: community posts, upcoming events, listed public schools. Join Ocean City to post or add an event, or ask Ocean City a question; a person checks everything before it shows.

Climate

Climate near Ocean City1991-2020 normals

At Ocean City Muni Airport, MD, 11 km from Ocean City, the 1991-2020 normals put the average July high at 84.2 °F and the average January low at 27.9 °F, with about 42.6 in of precipitation a year.

Monthly climate normals at Ocean City Muni Airport, MD, 1991-2020
MonthAverage highAverage lowPrecipitationSnow
January44.9 °F27.9 °F3.4 inNot available
February46.7 °F29.3 °F3.0 inNot available
March52.2 °F35.4 °F3.9 inNot available
April61.5 °F44.1 °F3.0 inNot available
May70.1 °F53.4 °F3.8 inNot available
June79.3 °F63.3 °F3.3 inNot available
July84.2 °F68.4 °F3.8 inNot available
August82.6 °F67.1 °F3.8 inNot available
September77.1 °F61.1 °F3.9 inNot available
October67.5 °F49.2 °F4.0 inNot available
November57.5 °F38.8 °F3.2 inNot available
December49.5 °F31.9 °F3.6 inNot available
Year42.6 inNot available

NOAA’s 30-year normals for the nearest station with a full year of temperatures, 11 km from the town’s centre; the town itself may differ.

Source: NOAA NCEI US Climate Normals 1991–2020, monthly, by station (v1.0.1), retrieved November 16, 2026.

Legislative districts

Legislative districts for Ocean City3
Congressional and state legislative districts for Ocean City
ChamberDistrict
U.S. House of RepresentativesCongressional District 1 (MD-1)
State legislature, lower chamberState Legislative Subdistrict 38C
State legislature, upper chamberState Senate District 38

Boundaries from the Census Bureau’s TIGER/Line district files, matched to Ocean City’s own boundary. Who holds each seat appears on the People page once the official records are approved.

Sources: Census cartographic boundaries 2025: congressional districts, 119th Congress, retrieved November 14, 2026; Census cartographic boundaries 2025: state legislative districts, upper chamber, state 24, retrieved November 14, 2026; Census cartographic boundaries 2025: state legislative districts, lower chamber, state 24, retrieved November 14, 2026.

Frequently asked about Ocean City

Answered from the records
Which county is Ocean City in?
Ocean City is in Worcester County, Maryland.
What is the population of Ocean City?
6,884 residents, by the US Census Bureau’s 2024 estimate.
Is Ocean City a city, a township or a census-designated place?
Ocean City is a town in the Census Bureau’s geography.
What ZIP codes cover Ocean City?
21842. These are Census ZIP code tabulation areas, which approximate USPS ZIP codes.
Which congressional district is Ocean City in?
Which state legislative districts include Ocean City?
Upper house district 38; lower house district 38C.
What is the median household income in Ocean City?
$69,675, by the American Community Survey (2019-2023).
What is the median home value in Ocean City?
$373,700, by the American Community Survey (2019-2023).
What is the unemployment rate in Ocean City?
5.9% of the civilian labor force, by the American Community Survey (2019-2023).
How do people in Ocean City get to work?
66.9% of workers drive alone, 1.5% take public transportation and 16.9% work from home, by the American Community Survey (2019-2023).
How many households in Ocean City have broadband?
92.6% of households have a broadband subscription, by the American Community Survey (2019-2023).
What languages are spoken in Ocean City?
14.5% of residents aged five and over speak a language other than English at home, by the American Community Survey (2019-2023).
What does rent cost in Ocean City?
The median gross rent is $1,187 a month; 32.7% of renting households pay under $1,000 and 10.9% pay $2,000 or more, by the American Community Survey (2019-2023).
How old are the homes in Ocean City?
10.3% of homes were built before 1970 and 13.2% since 2000, by the American Community Survey (2019-2023).
What share of homes in Ocean City are single-family?
22.7% of housing units are single-family homes, detached or attached, by the American Community Survey (2019-2023).
What is the climate like in Ocean City?
At Ocean City Muni Airport, MD, 11 km from Ocean City, the 1991-2020 normals put the average July high at 84.2 °F and the average January low at 27.9 °F, with about 42.6 in of precipitation a year.

All questions and answers

Where Ocean City ranks

Towns like Ocean City in Maryland

Similar in population and median household income, by the Census figures on their pages.

Moving to Ocean City

Moving to Ocean City: the figures first
Median gross rent
$1,187 ± $136 (2019-2023)
Median home value
$373,700 ± $31,982 (2019-2023)
Owner-occupied homes
73.4% ± 5.6 points (2019-2023)
Median household income
$69,675 ± $8,742 (2019-2023)
Mean commute to work
19.3 minutes ± 2.4 minutes (2019-2023)
Adults with a bachelor’s degree or higher
40.4% ± 4.3 points (2019-2023)
Residents born outside the United States
11.3% ± 3.1 points (2019-2023)
Speak a language other than English at home
14.5% ± 3.9 points (2019-2023)
Households with broadband
92.6% ± 3.3 points (2019-2023)
Work from home
16.9% ± 5.3 points (2019-2023)
Take public transportation to work
1.5% ± 1.2 points (2019-2023)
Unemployment rate
5.9% ± 2.6 points (2019-2023)
Average high in July
84.2 °F (NOAA normals 1991-2020, nearest station)
Average low in January
27.9 °F (NOAA normals 1991-2020, nearest station)
Precipitation a year
42.6 in (NOAA normals 1991-2020, nearest station)
Legislative districts
3 (Census boundary files)
ZIP codes
21842 (Census ZCTAs)
Metro area
Ocean Pines, MD (Census CBSA)
Land area
4.43 sq mi (Census Gazetteer)

Rent by bedroom, climate, the nearest airport and colleges are added as those datasets are loaded; nothing here is estimated.

Sources: American Community Survey 5-year data profile 2019–2023, place level, state 24, released December 12, 2024, retrieved November 16, 2026; NOAA NCEI US Climate Normals 1991–2020, monthly, by station (v1.0.1), retrieved November 16, 2026; Census 2020 ZCTA relationship file: ZCTAs to places, retrieved November 14, 2026; Census Gazetteer 2025: places, retrieved November 14, 2026.

Where Ocean City is

Map of the boundary of Ocean City, Worcester County, Maryland, from the US Census Bureau's cartographic boundary file (2025)
The boundary the Census Bureau draws for Ocean City; streets and places inside it are not shown.

Source: Census cartographic boundaries 2025: places, state 24, retrieved November 14, 2026.

Nearby towns

Compare Ocean City with West Ocean City, Ocean Pines, Bishopville, Berlin, Whaleyville.

Other towns in Worcester County

All towns in Worcester County

Other places named Ocean City