With 6,903 people, Ocean City is a city in Maryland. The median age is 55.6, about 17 years above the US median. That trails the Maryland median by roughly 25%. Owners hold 74% of the housing stock. Density works out to 1,524 people per square mile. The average commute runs 20 minutes.
At a glance
Lower income
median household income $77,750, below the US median
US median: $82,259
Older
median age 55.6
US median: 38.9
More educated
42% hold a bachelor's degree
US average: 36%
Less affordable
home values up 82%, inflation adjusted
US median home: $376,019
Unique to this place
What stands out about Ocean City
What changed most since 1990
Homes owned by their occupants57.6% → 74.2%(+16.6 pts)US over the same years: +0.9 pts
Adults with a bachelor's degree16.8% → 41.7%(+25.0 pts)US over the same years: +15.3 pts
Median home value (2024 dollars)$326,649 → $429,000(+31%)US over the same years: +67%
Ocean City's population equals 13% of Worcester County's. Its number of foreign-born residents equals 28% of the county's. Its number of people who work from home equals 21% of the county's.
Shares are "alone or in combination": a person with both Medicare and Medicaid counts in each, so categories overlap and do not sum to 100%.
Section 09 · Service history
Veterans
Veterans by period of service, 2024
Gulf War (2001 or later)17.9%(93)
US avg: 26.4%
Gulf War (1990s)11.3%(59)
US avg: 24.3%
Vietnam era34.6%(180)
US avg: 33.1%
Korean War12.7%(66)
US avg: 4.5%
World War II2.9%(15)
US avg: 1%
Share of the 520 veterans here. A veteran who served across eras counts in each, so shares can total more than 100%. Peacetime-only service is included in the total but not shown as an era.
BAR + DOT: THIS PLACE · TICK: US AVERAGE
Over time
Ocean City, decade by decade
Ocean City population, inflation-adjusted income and home value, education, and diversity by year
Year
Population
Median household income
Median home value
Bachelor's degree+
Diversity score
1990
5,074
$62,303
$326,649
16.8%
11.3
2000
7,173
$65,164
$236,086
28.0%
13.4
2010
7,102
$70,490
$538,889
32.8%
25.8
2020
6,844
$67,818
$354,037
31.3%
30.8
2024
6,903
$77,750
$429,000
41.7%
35.5
Census years come from the decennial census and the latest year from the American Community Survey, so part of any change between those two rows can reflect the different surveys. Dollar figures are adjusted for inflation to 2024 dollars; a figure ending in "+" was at the Census Bureau's reporting cap that year. The diversity score runs from 0 to 100; see how it's calculated.