ZipCodeLook
21842

Zip code 21842: Ocean City, Maryland

Residential delivery areaWorcester CountyEastern Time
Population
11,226
Median household income
$80K
U.S. $81K
Median home value
$448K
U.S. $333K
Median rent
$1,394/mo
U.S. $1,413
Median age
53.4
U.S. 38.9
Land area
9.1 sq mi
1,240 people/sq mi

Boundary is the Census Bureau's ZIP Code Tabulation Area, which closely tracks the postal delivery area.

About 21842

21842 is a suburban zip code in Ocean City, Maryland (Worcester County), covering 9.1 sq mi of land. About 11,226 people live here, or 1,240 per square mile. The median resident is 53.4 years old, compared with 38.9 nationally.

The median household earns $79,876 a year, close to the national median of $80,734. 9.4% of residents live below the poverty line (U.S.: 12.5%). A typical home is valued at $447,700, or 5.6 years of median household income (U.S.: 4.1 years), which makes homes relatively expensive for local earners. 76% of occupied homes are lived in by their owners, and renters pay a median of $1,394 a month.

41% of adults hold a bachelor's degree or higher (U.S.: 36%). Commuters average 19.6 minutes each way, and 13% of workers work from home. The most common jobs among working residents are in management, food service and sales. 17% of them are self-employed (U.S.: 10%).

How 21842 compares

Sorted from highest to lowest national percentile

The percentile is the share of Americans who live in a zip code with a lower value, so the 50th percentile is typical. Rank 1 is the highest value in the state. Both include zip codes with at least 100 residents. Strengths and weaknesses mark measures in the best or worst fifth nationally, where higher or lower is clearly better (income, poverty, education, commute, broadband, insurance and similar). Measures like age or density are left unmarked.

People

Age

Median age
53.4
Under 18
13%
65 and over
27.4%

Race and ethnicity

  • White86%
  • Black2%
  • Hispanic8%
  • Asian1%
  • Native American0.1%
  • Pacific Islander0.3%
  • Other1%
  • Multiracial1%
Diversity index
25.5
U.S. 61.4
Foreign-born
9%
U.S. 14.1%
Born in state
54.9%

Language spoken at home (households)

English only
85%
Spanish
7%
Other Indo-European
6%
Asian / Pacific
2%
Other
0.7%

Households

Households
5,751
Average household size
1.9
Family households
52.4%
Married couples
41.8%
Living alone
39.5%
Veterans (of adults)
8.9%
Male / female
49% / 51%

Income and poverty

Household income distribution

<$25k
10%
$25–50k
15%
$50–75k
19%
$75–100k
14%
$100–150k
16%
$150–200k
8%
$200k+
17%

Median household income

21842
$79,876
Worcester Co.
$81,745
Maryland
$103,678
United States
$80,734
Per capita income
$75,528
U.S. $44,673
Poverty rate
9.4%
U.S. 12.5%
Households earning $150K+
25.2%
U.S. 23%
Income inequality (Gini)
0.551
U.S. 0.483

Housing

Median home value

21842
$447,700
Worcester Co.
$374,700
Maryland
$419,900
United States
$332,700

Median gross rent

21842
$1,394
Worcester Co.
$1,159
Maryland
$1,705
United States
$1,413

Types of housing

Single-family
28%
2–4 units
5%
5–19 units
21%
20+ units
42%
Mobile home
3%
Boat, RV, van
0%
Housing units
32,621
Owner-occupied
76%
Vacant
82.4%
Median year built
1983
Median rooms
3.8
Renters paying 30%+ of income
59%
Renters paying 50%+ of income
26.1%
Home value to income
5.6× (U.S. 4.1×)

Work and commute

How people get to work

Drove alone
74%
Carpooled
4%
Transit
0.7%
Walked
4%
Bicycle
3%
Worked from home
13%
Other
2%

Commute time (one way)

<10 min
27%
10–19
36%
20–29
16%
30–44
10%
45–59
6%
60+
5%
Average commute
19.6 min
U.S. 26.4 min
Unemployment
7.6%
U.S. 5.2%
In labor force
64.4%
U.S. 63.5%

Jobs and careers

What employed residents do, wherever they work

Occupations

Management
18%
Food service
12%
Sales
11%
Office and admin
8%
Business and finance
8%
Healthcare
8%
Construction and repair
5%
Cleaning and personal care
5%
Transportation and moving
4%
Education
3%
Legal and social services
3%
Arts, media and sports
3%
Production
3%
Computer and math
2%
Police and fire
2%
Engineering and science
2%
Farming, fishing and forestry
0.9%

Industries

Restaurants and hotels
21%
Professional and technical services
12%
Finance, insurance and real estate
9%
Health care and social assistance
8%
Public administration
8%
Education
7%
Retail
7%
Construction
5%
Arts and recreation
5%
Admin, support and management
5%
Transportation, warehousing and utilities
4%
Manufacturing
4%
Other services
2%
Information
1%
Agriculture and mining
1%
Wholesale
0.7%
Median earnings per worker
$50,147
U.S. $49,666
Self-employed
16.5%
U.S. 10%
Government workers
15.9%
U.S. 14.5%
Nonprofit workers
4.7%
U.S. 8.8%

Median earnings by type of work

Type of work21842U.S.
Management, business, science and arts$71,940$74,888
Service$29,816$26,804
Sales and office$31,966$40,476
Construction and maintenance$58,929$49,199
Production and transportation$44,219$39,989

Education, internet and health coverage

Highest education (adults 25+)

No diploma
5%
High school
28%
Some college
19%
Associate's
7%
Bachelor's
25%
Graduate
16%
High school graduate or higher
94.8%
Bachelor's degree or higher
40.7%
Graduate or professional degree
16.1%
Households with broadband
95.2%
Cable, fiber or DSL
83%
No internet access
3.6%
Without health insurance
6.8%
Limited-English households
0.3%

Geography

City (USPS)
Ocean City
Center point
38.3631° N, 75.0850° W
Land area
9.1 sq mi
Water area
12 sq mi
Time zone
Eastern Time (UTC-5, UTC-4 in summer)
Zip type
Residential delivery area

Cities and towns within this zip

  • Ocean City50% of zip
  • West Ocean City (unincorporated)39% of zip

Census places overlapping the zip's area. Mail may use a different city name than the municipality.

Zip codes near 21842

ZipCityDistanceIncome
21843Ocean City · PO box1.8 mi—
21813Bishopville6.6 mi$121,472
21862Showell7.3 mi—
21811Berlin8 mi$90,082
19944Fenwick Island8.1 mi$121,250
19975Selbyville8.7 mi$88,568
19945Frankford12 mi$87,638
21872Whaleyville12 mi$117,888
19967Millville12 mi$98,301
19930Bethany Beach13 mi$125,491
19970Ocean View13 mi$94,103
21841Newark14 mi—

Zip codes like 21842 elsewhere

Matched on income, home values, age, density, education, housing and commuting

Questions about 21842

What city is zip code 21842?

21842 is assigned to Ocean City, Maryland. The city name is the one the Postal Service prefers for mail addressed to this zip code.

What county is 21842 in?

21842 is in Worcester County, Maryland.

What is the population of 21842?

About 11,226 people live in 21842, according to the Census Bureau's American Community Survey.

What time zone is 21842 in?

21842 is in Eastern Time.

What is the median household income in 21842?

The median household income in 21842 is $79,876.

What zip codes are near 21842?

The closest zip codes to 21842 are 21843, 21813, 21862, 21811, 19944.

Demographic figures are 2020–2024 American Community Survey 5-year estimates for ZIP Code Tabulation Area 21842, from the U.S. Census Bureau. Small areas have wide margins of error. How we build these numbers.