Zip code 21842: Ocean City, Maryland
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
- Housing vacancy82.4%99thU.S. 10.1% · MD 7.7%1st of 441 in MD
- Median age53.497thU.S. 38.9 · MD 39.453rd of 446 in MD
- 97thWeaknessU.S. 0.483 · MD 0.45610th of 438 in MD
- 95thU.S. 17.2% · MD 16.7%65th of 446 in MD
- Per capita income$75,52894thStrengthU.S. $44,673 · MD $52,97948th of 446 in MD
- 94thU.S. 10% · MD 8.7%62nd of 444 in MD
- 84thWeaknessU.S. 5.2% · MD 4.9%61st of 444 in MD
- Veterans8.9%84thU.S. 6.2% · MD 6.8%136th of 446 in MD
- 80thWeaknessU.S. 51.1% · MD 51.5%103rd of 404 in MD
- Broadband access95.2%78thU.S. 91% · MD 92.4%161st of 441 in MD
- Median home value$447,70069thU.S. $332,700 · MD $419,900187th of 421 in MD
- 69thU.S. 65.2% · MD 67.6%268th of 441 in MD
- 67thU.S. 35.7% · MD 43.4%196th of 445 in MD
- Government workers15.9%65thU.S. 14.5% · MD 22.5%352nd of 444 in MD
- Median earnings per worker$50,14756thU.S. $49,666 · MD $61,200325th of 443 in MD
- 51stU.S. 15.1% · MD 19.3%294th of 444 in MD
- Median household income$79,87650thU.S. $80,734 · MD $103,678321st of 414 in MD
- Median gross rent$1,39450thU.S. $1,413 · MD $1,705225th of 338 in MD
- Uninsured rate6.8%50thU.S. 8.4% · MD 6.3%97th of 444 in MD
- Population density1,240/sq mi48thU.S. 95/sq mi · MD 639/sq mi150th of 446 in MD
- 47thU.S. 14.1% · MD 16.6%167th of 446 in MD
- Poverty rate9.4%41stU.S. 12.5% · MD 9.4%149th of 441 in MD
- Tech workers2.4%41stU.S. 3.8% · MD 6.4%317th of 444 in MD
- 23rdU.S. 9.7% · MD 9%247th of 444 in MD
- Diversity index25.518thU.S. 61.4 · MD 67.7329th of 446 in MD
- Population11,22617thU.S. 334,922,499 · MD 6,206,011172nd of 446 in MD
- Average commute19.6 min11thStrengthU.S. 26.4 min · MD 31.1 min401st of 421 in MD
- 5thU.S. 22% · MD 22.2%394th of 446 in MD
| Measure | 21842 | Worcester | MD | U.S. | National percentile | Rank in MD |
|---|---|---|---|---|---|---|
| Housing vacancy | 82.4% | 57.6% | 7.7% | 10.1% | 1st of 441 | |
| Median age | 53.4 | 50.7 | 39.4 | 38.9 | 53rd of 446 | |
| Income inequality (Gini)Weakness | 0.551 | 0.486 | 0.456 | 0.483 | 10th of 438 | |
| Residents 65 and older | 27.4% | 28.6% | 16.7% | 17.2% | 65th of 446 | |
| Per capita incomeStrength | $75,528 | $53,274 | $52,979 | $44,673 | 48th of 446 | |
| Self-employed workers | 16.5% | 13.2% | 8.7% | 10% | 62nd of 444 | |
| Unemployment rateWeakness | 7.6% | 6.7% | 4.9% | 5.2% | 61st of 444 | |
| Veterans | 8.9% | 8.4% | 6.8% | 6.2% | 136th of 446 | |
| Rent-burdened rentersWeakness | 59% | 55.3% | 51.5% | 51.1% | 103rd of 404 | |
| Broadband access | 95.2% | 91.2% | 92.4% | 91% | 161st of 441 | |
| Median home value | $447,700 | $374,700 | $419,900 | $332,700 | 187th of 421 | |
| Homeownership rate | 76% | 78% | 67.6% | 65.2% | 268th of 441 | |
| Bachelor's degree or higher | 40.7% | 35.3% | 43.4% | 35.7% | 196th of 445 | |
| Government workers | 15.9% | 20.2% | 22.5% | 14.5% | 352nd of 444 | |
| Median earnings per worker | $50,147 | $50,541 | $61,200 | $49,666 | 325th of 443 | |
| Work from home | 13% | 12.3% | 19.3% | 15.1% | 294th of 444 | |
| Median household income | $79,876 | $81,745 | $103,678 | $80,734 | 321st of 414 | |
| Median gross rent | $1,394 | $1,159 | $1,705 | $1,413 | 225th of 338 | |
| Uninsured rate | 6.8% | 5% | 6.3% | 8.4% | 97th of 444 | |
| Population density | 1,240/sq mi | 115/sq mi | 639/sq mi | 95/sq mi | 150th of 446 | |
| Foreign-born residents | 9% | 4.7% | 16.6% | 14.1% | 167th of 446 | |
| Poverty rate | 9.4% | 9.9% | 9.4% | 12.5% | 149th of 441 | |
| Tech workers | 2.4% | 2.3% | 6.4% | 3.8% | 317th of 444 | |
| Healthcare workers | 7.7% | 9.6% | 9% | 9.7% | 247th of 444 | |
| Diversity index | 25.5 | 37.6 | 67.7 | 61.4 | 329th of 446 | |
| Population | 11,226 | 53,700 | 6,206,011 | 334,922,499 | 172nd of 446 | |
| Average commuteStrength | 19.6 min | 23.3 min | 31.1 min | 26.4 min | 401st of 421 | |
| Residents under 18 | 13% | 17.1% | 22.2% | 22% | 394th of 446 |
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
Race and ethnicity
- White86%
- Black2%
- Hispanic8%
- Asian1%
- Native American0.1%
- Pacific Islander0.3%
- Other1%
- Multiracial1%
Language spoken at home (households)
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
Median household income
Housing
Median home value
Median gross rent
Types of housing
- 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
Commute time (one way)
Jobs and careers
Occupations
Industries
Median earnings by type of work
| Type of work | 21842 | U.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+)
- 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
- State
- Maryland
- County
- Worcester County
- 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
| Zip | City | Distance | IncomeMedian income |
|---|---|---|---|
| 21843 | Ocean City, MD · PO box | 1.8 mi | — |
| 21813 | Bishopville, MD | 6.6 mi | $121,472 |
| 21862 | Showell, MD | 7.3 mi | — |
| 21811 | Berlin, MD | 8 mi | $90,082 |
| 19944 | Fenwick Island, DE | 8.1 mi | $121,250 |
| 19975 | Selbyville, DE | 8.7 mi | $88,568 |
| 19945 | Frankford, DE | 12 mi | $87,638 |
| 21872 | Whaleyville, MD | 12 mi | $117,888 |
| 19967 | Millville, DE | 12 mi | $98,301 |
| 19930 | Bethany Beach, DE | 13 mi | $125,491 |
| 19970 | Ocean View, DE | 13 mi | $94,103 |
| 21841 | Newark, MD | 14 mi | — |
Zip codes like 21842 elsewhere
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.