Ocean City, MD
Population 6,887 · Maryland
About Ocean City, MD
Ocean City is a small community in Maryland with a population of 6,887 residents. The median household income is $69,675 per year, which is near the national average. The median age in Ocean City is 56 years.
Housing in Ocean City has a median home value of $373,700 and median monthly rent of $1,187. Of the 29,834 total housing units, the majority are owner-occupied, with 2,842 owner-occupied and 1,030 renter-occupied units.
The unemployment rate in Ocean City is 5.9% and the poverty rate is 9.1%. 40.4% of residents hold a bachelor's degree or higher. The average commute time is 19.3 minutes.
Cost of Living in Ocean City, MD
Compared to national averages, Ocean City has a median household income of $69,675 (7% below the national median of $75,149). Home values average $373,700, which is 53% above the national median. Monthly rent at $1,187 is 2% above the US average of $1,163. Within Maryland, Ocean City's income is 35% below the state average of $107,956, and home values are 7% below the state median of $402,447.
Why Live in Ocean City, MD?
Ocean City offers a well-educated community where 40.4% of residents hold a bachelor’s degree or higher, and a low poverty rate of 9.1%, better than the national average, and short commute times averaging just 19.3 minutes.
Potential considerations include median household income ($69,675) that falls below the national average, and a competitive housing market where the typical home costs $373,700. However, Ocean City’s smaller community size offers a quieter lifestyle and tight-knit neighborhoods.
Ocean City has a population of 6,887 with a median age of 56 years. Compare Ocean City with other cities to see how it stacks up, or explore all cities in Maryland.
Similar Cities Near Ocean City
Cities in Maryland with a similar population size.
| City | Population | Median Income | Home Value | |
|---|---|---|---|---|
| Darnestown | 6,835 | $217,679 | $908,400 | Compare |
| Bowleys Quarters | 6,795 | $107,339 | $351,800 | Compare |
| Frostburg | 7,025 | $51,052 | $172,600 | Compare |
| Lutherville | 6,670 | $119,214 | $425,200 | Compare |
| Forest Glen | 6,650 | $127,196 | $604,800 | Compare |
| Woodlawn CDP (Prince George's County), Maryland | 7,221 | $90,565 | $346,200 | Compare |
| Riverdale Park | 7,249 | $104,583 | $447,000 | Compare |
| Taneytown | 7,295 | $78,726 | $323,700 | Compare |
Demographics
Racial & Ethnic Composition
Economy & Education
Housing
Other Cities in Maryland
Data source: US Census Bureau ACS 5-Year Estimates. Last updated: 2026-04-05.
Compare Ocean City With Other Cities
Frequently Asked Questions about Ocean City
What is the population of Ocean City, MD?
The population of Ocean City, MD is 6,887 according to the latest Census data.
What is the median household income in Ocean City?
The median household income in Ocean City, MD is $69,675 per year.
What is the median home value in Ocean City?
The median home value in Ocean City, MD is $373,700.
What is the average rent in Ocean City?
The median monthly rent in Ocean City, MD is $1,187.
What is the unemployment rate in Ocean City?
The unemployment rate in Ocean City, MD is 5.9%.