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| Census | Population |
|---|---|
| 2000 | 7,173 |
| 2010 | 7,102 |
| 2020 | 6,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.
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.
- 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.
| Measure | Ocean City | Worcester County | Maryland |
|---|---|---|---|
| Population | 6,887 | 53,279 | 6,170,738 |
| Median household income | $69,675 | $81,455 | $101,652 |
| Median age | 56.0 | 50.7 | 39.3 |
| Median home value | $373,700 | $348,100 | $397,700 |
| Bachelor’s degree or higher | 40.4% | 32.7% | 42.7% |
| Foreign-born residents | 11.3% | 5.1% | 16.3% |
| Owner-occupied homes | 73.4% | 76.7% | 67.5% |
| Mean commute to work | 19.3 minutes | 22.7 minutes | 31.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
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.
| Month | Average high | Average low | Precipitation | Snow |
|---|---|---|---|---|
| January | 44.9 °F | 27.9 °F | 3.4 in | Not available |
| February | 46.7 °F | 29.3 °F | 3.0 in | Not available |
| March | 52.2 °F | 35.4 °F | 3.9 in | Not available |
| April | 61.5 °F | 44.1 °F | 3.0 in | Not available |
| May | 70.1 °F | 53.4 °F | 3.8 in | Not available |
| June | 79.3 °F | 63.3 °F | 3.3 in | Not available |
| July | 84.2 °F | 68.4 °F | 3.8 in | Not available |
| August | 82.6 °F | 67.1 °F | 3.8 in | Not available |
| September | 77.1 °F | 61.1 °F | 3.9 in | Not available |
| October | 67.5 °F | 49.2 °F | 4.0 in | Not available |
| November | 57.5 °F | 38.8 °F | 3.2 in | Not available |
| December | 49.5 °F | 31.9 °F | 3.6 in | Not available |
| Year | 42.6 in | Not 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
| Chamber | District |
|---|---|
| U.S. House of Representatives | Congressional District 1 (MD-1) |
| State legislature, lower chamber | State Legislative Subdistrict 38C |
| State legislature, upper chamber | State 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 recordsWhich county is Ocean City in?
What is the population of Ocean City?
Is Ocean City a city, a township or a census-designated place?
What ZIP codes cover Ocean City?
Which congressional district is Ocean City in?
Which state legislative districts include Ocean City?
What is the median household income in Ocean City?
What is the median home value in Ocean City?
What is the unemployment rate in Ocean City?
How do people in Ocean City get to work?
How many households in Ocean City have broadband?
What languages are spoken in Ocean City?
What does rent cost in Ocean City?
How old are the homes in Ocean City?
What share of homes in Ocean City are single-family?
What is the climate like in Ocean City?
Where Ocean City ranks
Towns like Ocean City in Maryland
Similar in population and median household income, by the Census figures on their pages.
- Mount RainierCity
- FruitlandCity
- Temple HillsCensus designated place
- Marlow HeightsCensus designated place
- Baltimore HighlandsCensus designated place
- RobinwoodCensus designated place
Moving to Ocean City
- Median gross rent
- $1,187 ± $136
- Median home value
- $373,700 ± $31,982
- Owner-occupied homes
- 73.4% ± 5.6 points
- Median household income
- $69,675 ± $8,742
- Mean commute to work
- 19.3 minutes ± 2.4 minutes
- Adults with a bachelor’s degree or higher
- 40.4% ± 4.3 points
- Residents born outside the United States
- 11.3% ± 3.1 points
- Speak a language other than English at home
- 14.5% ± 3.9 points
- Households with broadband
- 92.6% ± 3.3 points
- Work from home
- 16.9% ± 5.3 points
- Take public transportation to work
- 1.5% ± 1.2 points
- Unemployment rate
- 5.9% ± 2.6 points
- Average high in July
- 84.2 °F
- Average low in January
- 27.9 °F
- Precipitation a year
- 42.6 in
- Legislative districts
- 3
- ZIP codes
- 21842
- Metro area
- Ocean Pines, MD
- Land area
- 4.43 sq mi
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
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.
- West Ocean CityCensus designated place
- Ocean PinesCensus designated place
- BishopvilleCensus designated place
- BerlinTown
- WhaleyvilleCensus designated place
- NewarkCensus designated place
- WillardsTown
- PowellvilleCensus designated place
- PittsvilleTown
- ParsonsburgCensus designated place
Other towns in Worcester County
- BerlinTown
- BishopvilleCensus designated place
- GirdletreeCensus designated place
- NewarkCensus designated place
- Ocean PinesCensus designated place
- Pocomoke CityCity
- Snow HillTown
- StocktonCensus designated place
- West Ocean CityCensus designated place
- WhaleyvilleCensus designated place