Ocean City ZIP Codes — Worcester County, MD

There are 2 unique ZIP codes in Ocean City, Maryland. Area code: 410/443/667.
2
ZIP codes
9.16
sq mi land
12.15
sq mi water
410/443/667
area code
Ocean City, MD ZIP code map

About Ocean City, MD

Ocean City, MD is a vibrant coastal town located along the eastern shore of Maryland. Known for its welcoming atmosphere and beautiful sandy beaches, it draws millions of visitors each year. This popular resort destination offers a variety of recreational activities and attractions for people of all ages.

Location & geography

Ocean City is situated in Worcester County, Maryland, and is bordered by the Atlantic Ocean to the east. The closest cities include Berlin, located about 10 miles to the west, and Salisbury, approximately 30 miles to the northwest. The town's terrain consists of both land and water, with a land area measuring 9.16 square miles and a water area of 12.15 square miles.

Community & economy

The community of Ocean City is characterized by its strong focus on tourism, with hospitality and entertainment serving as the primary industries. Residents and visitors alike enjoy the daily activities offered, such as water sports, dining, and local festivals. The town has a friendly, small-town feel, enhanced by its seasonal population influx during the summer months.

Transportation

Ocean City is accessible via several major highways, including U.S. Route 50, which connects it to the rest of Maryland and beyond. The nearest major airport is Salisbury-Ocean City Wicomico Regional Airport, located about 30 miles from the city. Public transportation options include local buses that provide convenient travel throughout the area.

History

Ocean City was established in the late 19th century and quickly developed into a premier vacation spot due to its picturesque beaches and boardwalk. Key industries have historically revolved around tourism, fishing, and seasonal hospitality services. The town is well-known for hosting events such as the annual White Marlin Open, which attracts fishing enthusiasts from far and wide.

Did you know?

One surprising fact about Ocean City is that it has a dedicated group of 'beach ambassadors' who help maintain the cleanliness of the shore. Additionally, the town boasts a famous boardwalk that stretches over three miles, featuring shops, restaurants, and entertainment options.

ZIP codes for Ocean City, MD (2)
ZIP code City County Map
21842 Ocean City Worcester View map
21843 Ocean City Worcester View map

Demographics & statistics

10,951
Population
53.1
Median age
$68,626
Median household income
$64,880
Per capita income
$364,200
Median home value
$1,224
Median monthly rent
73.6%
Home ownership
8.2%
Poverty rate
6.1%
Unemployment
31,076
Housing units
38.6%
Bachelor's or higher

Age distribution

Male Female
206
Under 5
228
167
5–9
186
202
10–14
225
146
15–19
163
388
20–24
430
602
25–34
669
476
35–44
528
535
45–54
593
446
55–59
496
506
60–64
562
971
65–74
1,077
370
75–84
410
175
85+
194
← Male
Female →

Age summary

GroupCount%
Under 181,45413.3%
18 and over9,49786.7%
65 and over3,19729.2%
Median age53.1 years

Race & ethnicity

White 85.1%
Hispanic or Latino 4.7%
Two or more races 3.7%
Black or African American 3.4%
Other race 2.5%
Asian 0.5%
American Indian / Alaska Native 0.1%
GroupCount%
White9,77685.1%
Hispanic or Latino5374.7%
Two or more races4273.7%
Black or African American3913.4%
Other race2922.5%
Asian540.5%
American Indian / Alaska Native110.1%

Household income

Under $10k 4.3%
$10k–$15k 2.7%
$15k–$25k 5.8%
$25k–$35k 11.0%
$35k–$50k 13.6%
$50k–$75k 17.7%
$75k–$100k 10.2%
$100k–$150k 15.3%
$150k–$200k 6.4%
$200k+ 12.9%
Range% of households
Under $10k4.3%
$10k–$15k2.7%
$15k–$25k5.8%
$25k–$35k11.0%
$35k–$50k13.6%
$50k–$75k17.7%
$75k–$100k10.2%
$100k–$150k15.3%
$150k–$200k6.4%
$200k+12.9%
Median income$68,626

Housing

Home values

Under $50k 2.5%
$50k–$100k 0.7%
$100k–$150k 3.3%
$150k–$200k 7.5%
$200k–$300k 22.9%
$300k–$500k 32.1%
$500k–$1M 25.2%
$1M+ 5.7%

Housing overview

MetricValue
Median home value$364,200
Median rent / month$1,224
Owner occupied73.6%
Renter occupied26.4%
Vacant82.5%
Single-family detached14.9%
Large apartment buildings43.1%
Mobile homes4.1%
Median rooms3.9
Avg household size (owned)1.91

Year built

Era%
2020 or later0.1%
2010–20192.5%
2000–200914.1%
1990–19997.2%
1980–198935.3%
1970–197930.1%
1960–19696.3%
1950–19591.8%
1940–19491.4%
1939 or earlier1.2%

Bedrooms

Size% of units
No bedroom (studio)3.6%
1 bedroom14.9%
2 bedrooms40.5%
3 bedrooms33.2%
4 bedrooms6.5%
5+ bedrooms1.3%

Vehicles per household

Vehicles% of households
No vehicle8.2%
1 vehicle40.5%
2 vehicles40.6%
3 or more10.7%

Heating fuel

Fuel type%
Utility gas15.3%
Electricity72.6%
Propane / LP gas7.1%
Fuel oil2.8%
Wood0.5%
Solar0.4%
No fuel used1.0%

Households & families

Household typeCount%
Married-couple family2,18338.3%
Cohabiting couple3716.5%
Male householder, no spouse1,15120.2%
Female householder, no spouse2,00035.1%
Households with children under 1891016.0%
Households with seniors (65+)2,36641.5%
Average household size1.91

Marital status

StatusMaleFemale
Never married31.3%23.7%
Married53.2%42.6%
Separated1.1%6.3%
Widowed3.0%10.1%
Divorced11.3%17.2%

Education

Less than 9th grade 1.3%
Some HS, no diploma 3.2%
HS graduate 27.1%
Some college, no degree 22.1%
Associate's degree 7.6%
Bachelor's degree 24.0%
Graduate / professional 14.5%
Metric%
HS diploma or higher95.5%
Bachelor's or higher38.6%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool342.0%
Kindergarten251.5%
Elementary school62636.7%
High school35320.7%
College / grad school66839.2%

Employment

Industry of employment

Arts, food & hospitality 29.3%
Education & healthcare 13.5%
Professional & management 12.4%
Finance & real estate 11.5%
Retail trade 8.2%
Public administration 7.6%
Construction 6.9%
Transportation & utilities 3.5%
Other services 2.3%
Manufacturing 2.2%
Wholesale trade 1.1%
Information 1.0%
Agriculture & mining 0.4%

Occupation

Category%
Management, business & arts39.4%
Service28.0%
Sales & office19.9%
Natural resources & construction7.5%
Production & transportation5.2%

Employment type

Type%
Private sector74.9%
Government15.2%
Self-employed8.9%
Unpaid family workers1.0%

Commute

Method%
Drive alone74.8%
Carpool4.1%
Public transit2.6%
Walk3.8%
Other means2.6%
Avg commute (minutes)19.7

Poverty

All people 8.2%
Under 18 years 12.6%
18 and over 7.5%
Married-couple families 1.7%
Female-led households 7.0%

Income support

Source% of households
Social Security44.3%
Retirement income34.6%
Supplemental Security1.8%
Cash public assistance3.2%
Food stamps / SNAP4.5%

Health indicators

Condition%
High blood pressure40.8%
High cholesterol40.1%
Heart disease7.9%
Stroke3.5%
Asthma9.0%
Arthritis30.0%
Kidney disease3.3%
Pulmonary disease7.6%
Cancer8.9%
Behavior / access%
Binge drinking14.0%
No physical activity24.2%
Less than 7 hrs sleep28.0%
Fair or poor health13.1%
Poor mental health12.8%
Poor physical health9.6%
No health insurance9.7%
Visited doctor (checkup)78.4%
Visited dentist65.1%
Cholesterol screening93.2%
Teeth loss10.8%

Veterans & disability

VeteransCount%
Civilian veterans9029.5%
Disability%
Any disability15.6%
Under 187.0%
18–64 years10.6%
65 and over29.3%

Health insurance coverage

Type%
Private insurance69.2%
Public insurance46.0%
Uninsured under 198.3%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only10,51796.0%
Spanish3022.9%
Other Indo-European1551.5%
Asian & Pacific Islander1011.0%
Other languages370.4%

Place of birth & citizenship

OriginCount%
Native born (US)9,92490.6%
Born in same state9,81589.6%
Born in different state5,68751.9%
Foreign born1091.0%
Naturalized citizen1,0279.4%
Not a US citizen45043.8%

Ancestry

AncestryCount%
Italian2,41722.1%
French1,74515.9%
Arab5154.7%
Polish1251.1%
AncestryCount%
English1071%
Irish770.7%
Norwegian400.4%
German130.1%

Technology access

Metric% of households
Computer access52.1%
Internet access95.3%

Source: U.S. Census Bureau, American Community Survey 2025 estimates.

Frequently asked questions
What ZIP codes does Ocean City, MD have?
Ocean City, MD has one ZIP code: 21842. Each ZIP code serves a distinct delivery area within the city and surrounding region.
Need the complete Maryland ZIP code database? Download all MD ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →