
ZIP Code 21842, Ocean City, Maryland · population, demographics and census data
Home to 11,226 people, the 172nd largest of Maryland’s 470 ZIP codes.
- Population
- 11,226 ±570. Rank 172 of 470 in Maryland
- Median household income
- $79,876 ±$5,443. Maryland $103,678 · US $80,734
- Median age
- 53.4 ±2.0. Maryland 39.4 · US 38.9
ACS 2020–2024 5-year estimates, U.S. Census Bureau
Taller, lighter tracts have higher household incomes
About ZIP Code 21842
ZIP Code 21842’s median household income is $79,876 (±$5,443), lower than Maryland ($103,678) but about the same as the US ($80,734), and its median age is 53.4 (±2.0), according to the ACS 2020–2024 5-year estimates.
± is each figure’s margin of error, at 90% confidence, and † marks one too uncertain to lean on. Under each percentage in the tables is the number it counts. How the margins are worked out.
ZCTA 21842
Highlights
What stands out in ZIP Code 21842
The numbers where ZIP Code 21842 sits furthest from Maryland and the nation, or past a recognized policy benchmark.
Past a policy benchmark
28.5%
Very highOwners paying 30% or more of income
That’s higher than both Maryland (22.8%) and the US (22.5%). HUD’s 30% standard, applied to homeowners.
Furthest from the national picture
53.4
Higher than the USMedian age
That’s higher than both Maryland (39.4) and the US (38.9). It’s the 14th highest of 349 Maryland ZIP codes.
1.92
Lower than the USPeople per household
That’s lower than both Maryland (2.57) and the US (2.53). It’s the 9th lowest of 345 Maryland ZIP codes.
13.0%
Lower than the USUnder 18
That’s lower than both Maryland (22.2%) and the US (22.0%). It’s the 19th lowest of 349 Maryland ZIP codes.
21.2%
Lower than the USCommute 30 minutes or more
That’s lower than both Maryland (48.7%) and the US (37.4%). It’s the 14th lowest of 347 Maryland ZIP codes.
27.4%
1.5× the US65 and over
That’s higher than both Maryland (16.7%) and the US (17.2%). It’s the 22nd highest of 349 Maryland ZIP codes.
2010–2014 to 2020–2024
How ZIP Code 21842 changed in ten years
The ZIP code lost 93 people. It got younger, more foreign-born and better educated, and poverty fell 0.5 points.
Population, change since 2010–14
−0.8% in the ZIP code, +5.4% in Maryland and +6.6% in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A00001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | 0.0% | 0.0% | 0.0% |
| 2011–15 | +0.1% | +0.7% | +0.8% |
| 2012–16 | −2.5% | +1.2% | +1.4% |
| 2013–17 | −5.5% | +1.8% | +2.2% |
| 2014–18 | −5.7% | +2.0% | +2.8% |
| 2015–19 | −5.9% | +2.2% | +3.4% |
| 2016–20 | −7.0% | +2.5% | +4.0% |
| 2017–21 | −3.2% | +4.4% | +5.0% |
| 2018–22 | −3.3% | +4.7% | +5.4% |
| 2019–23 | −1.7% | +4.8% | +5.8% |
| 2020–24 | −0.8% | +5.4% | +6.6% |
Embed
Median household income, in 2024 dollars
+5.7% in the ZIP code, +5.3% in Maryland and +13.7% in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A14006.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | $75,552 | $98,461 | $71,018 |
| 2011–15 | $69,789 | $98,824 | $71,435 |
| 2012–16 | $71,609 | $99,550 | $72,401 |
| 2013–17 | $71,080 | $101,104 | $73,862 |
| 2014–18 | $69,009 | $102,390 | $75,407 |
| 2015–19 | $67,642 | $104,176 | $77,198 |
| 2016–20 | $74,544 | $105,631 | $78,856 |
| 2017–21 | $73,757 | $105,982 | $80,006 |
| 2018–22 | $73,556 | $105,535 | $80,548 |
| 2019–23 | $77,586 | $104,638 | $80,845 |
| 2020–24 | $79,876 | $103,678 | $80,734 |
Embed
Living in poverty
−0.5 points in the ZIP code, −0.5 points in Maryland and −3.1 points in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A13004.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | 9.9% | 10.0% | 15.6% |
| 2011–15 | 8.8% | 10.0% | 15.5% |
| 2012–16 | 7.9% | 9.9% | 15.1% |
| 2013–17 | 7.4% | 9.7% | 14.6% |
| 2014–18 | 7.6% | 9.4% | 14.1% |
| 2015–19 | 8.1% | 9.2% | 13.4% |
| 2016–20 | 9.0% | 9.0% | 12.8% |
| 2017–21 | 8.3% | 9.2% | 12.6% |
| 2018–22 | 8.2% | 9.3% | 12.5% |
| 2019–23 | 8.2% | 9.3% | 12.4% |
| 2020–24 | 9.4% | 9.4% | 12.5% |
Embed
Bachelor’s degree or more
+7.9 points in the ZIP code, +6.2 points in Maryland and +6.4 points in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A12001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | 32.8% | 37.3% | 29.3% |
| 2011–15 | 35.7% | 37.9% | 29.8% |
| 2012–16 | 34.1% | 38.4% | 30.3% |
| 2013–17 | 32.6% | 39.0% | 30.9% |
| 2014–18 | 32.7% | 39.6% | 31.5% |
| 2015–19 | 32.2% | 40.2% | 32.1% |
| 2016–20 | 33.3% | 40.9% | 32.9% |
| 2017–21 | 36.4% | 41.6% | 33.7% |
| 2018–22 | 38.6% | 42.2% | 34.3% |
| 2019–23 | 39.3% | 42.7% | 35.0% |
| 2020–24 | 40.7% | 43.4% | 35.7% |
Embed
Median gross rent, in 2024 dollars
−3.1% in the ZIP code, +5.4% in Maryland and +15.6% in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A18009.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | $1,438 | $1,617 | $1,222 |
| 2011–15 | $1,376 | $1,630 | $1,230 |
| 2012–16 | $1,275 | $1,654 | $1,242 |
| 2013–17 | $1,323 | $1,680 | $1,258 |
| 2014–18 | $1,317 | $1,697 | $1,279 |
| 2015–19 | $1,324 | $1,710 | $1,305 |
| 2016–20 | $1,329 | $1,717 | $1,330 |
| 2017–21 | $1,303 | $1,721 | $1,348 |
| 2018–22 | $1,312 | $1,713 | $1,359 |
| 2019–23 | $1,295 | $1,711 | $1,388 |
| 2020–24 | $1,394 | $1,705 | $1,413 |
Embed
Median home value, in 2024 dollars
+14.6% in the ZIP code, +10.0% in Maryland and +42.6% in the US.
Source: ACS 5-year, 2010–14 to 2020–24, table A10036.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010–14 | $390,529 | $381,765 | $233,308 |
| 2011–15 | $394,497 | $380,313 | $236,751 |
| 2012–16 | $378,480 | $380,051 | $241,720 |
| 2013–17 | $376,790 | $379,865 | $247,905 |
| 2014–18 | $368,324 | $382,082 | $256,264 |
| 2015–19 | $378,845 | $386,707 | $267,181 |
| 2016–20 | $392,615 | $394,799 | $278,810 |
| 2017–21 | $392,024 | $392,372 | $283,875 |
| 2018–22 | $390,365 | $407,836 | $302,152 |
| 2019–23 | $428,119 | $409,384 | $312,314 |
| 2020–24 | $447,700 | $419,900 | $332,700 |
Embed
ACS 5-year estimates. Each point is the five years ending then, and neighboring points share years. Dollar values are in 2024 dollars. The Census Bureau redraws ZIP Code Tabulation Areas for each census, last for 2020, so part of a change can be a new boundary rather than new people.
| Indicator | 2010–2014 | 2020–2024 | Change | Maryland’s change |
|---|---|---|---|---|
| Population | 11,319 | 11,226 | −0.8% | +5.4% |
| Median age | 54.1 | 53.4 | −0.7 years | +1.3 years |
| 65 and over | 29.8% | 27.4% | −2.4 points | +3.7 points |
| Born outside the US | 8.4% | 9.0% | +0.6 points | +2.4 points |
| Hispanic or Latino | 6.7% | 8.3% | +1.6 points | +3.7 points |
| Median household income | $75,552 | $79,876 | +5.7% | +5.3% |
| Living in poverty | 9.9% | 9.4% | −0.5 points | −0.5 points |
| Bachelor’s degree or more | 32.8% | 40.7% | +7.9 points | +6.2 points |
| Households that rent | 23.5% | 24.0% | +0.5 points | −0.5 points |
| Median gross rent | $1,438 | $1,394 | −3.1% | +5.4% |
| Median home value | $390,529 | $447,700 | +14.6% | +10.0% |
4 census tracts
ZIP Code 21842, tract by tract
ZIP code averages hide a lot. These census tracts are the closest the census comes to neighborhoods.

Where the ZIP code’s average misleads
Each tick is one census tract, and the dark line marks the ZIP code. Hover over a tick or tap it to see the tract.
Poverty
1 of 4 tracts is at least 1.5 times the ZIP code’s overall 9.0%, and 0 are at two-thirds of it or less.
Highest: Tract 9500, 22.5%.
American Community Survey 2020–2024 5-year estimates, by census tract. Income is capped at $250,000+ by the Census Bureau.
People
Who lives in ZIP Code 21842
An older ZIP code than Maryland (39.4) or the US (38.9), with a median age of 53.4. 9.0% of residents were born outside the US, and 12.2% speak a language other than English at home.
Age
Source: ACS 2020–2024 5-year, table A01001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Under 18 | 13.0% ±2.2% , number 1,461 ±255 | 22.2% ±0.1% , number 1,376,500 ±6,234 | 22.0% ±<0.1% , number 73,517,834 ±38,890 |
| 18 to 24 | 7.5% ±1.9% , number 847 ±213 | 8.5% ±0.1% , number 528,176 ±4,590 | 9.1% ±<0.1% , number 30,597,362 ±37,780 |
| 25 to 34 | 11.1% ±1.9% , number 1,247 ±224 | 13.2% ±<0.1% , number 816,944 ±913 | 13.7% ±<0.1% , number 45,806,540 ±10,200 |
| 35 to 44 | 9.0% ±1.8% , number 1,014 ±208 | 13.6% ±0.1% , number 843,268 ±6,048 | 13.2% ±<0.1% , number 44,237,292 ±43,510 |
| 45 to 54 | 11.2% ±1.8% , number 1,253 ±210 | 12.6% ±<0.1% , number 779,854 ±872 | 12.2% ±<0.1% , number 40,743,799 ±8,564 |
| 55 to 64 | 20.7% ±2.6% , number 2,329 ±317 | 13.3% ±0.1% , number 827,528 ±5,878 | 12.7% ±<0.1% , number 42,386,044 ±41,500 |
| 65 to 74 | 16.5% ±2.2% , number 1,854 ±269 | 9.9% ±0.1% , number 611,969 ±4,603 | 10.2% ±<0.1% , number 34,092,907 ±38,800 |
| 75 and over | 10.9% ±1.9% , number 1,221 ±218 | 6.8% ±0.1% , number 421,772 ±4,224 | 7.0% ±<0.1% , number 23,540,721 ±31,560 |
Embed
Race and ethnicity
Source: ACS 2020–2024 5-year, table A04001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| White, not Hispanic | 85.9% ±2.6% , number 9,641 ±568 | 46.6% ±0.1% , number 2,890,956 ±3,348 | 57.4% ±<0.1% , number 192,214,378 ±30,950 |
| Hispanic or Latino | 8.3% ±2.4% , number 932 ±279 | 12.5% , number 774,946 | 19.3% ±<0.1% , number 64,759,370 ±1,547 |
| Black, not Hispanic | 1.8% ±1.0% , number 198 ±111 | 28.9% ±0.1% , number 1,796,433 ±5,732 | 11.9% ±<0.1% , number 39,896,127 ±46,710 |
| Asian, not Hispanic | 1.1% ±0.6% , number 122 ±73 | 6.5% ±<0.1% , number 406,030 ±2,996 | 5.9% ±<0.1% , number 19,678,814 ±22,770 |
| Other or multiracial | 3.0% ±1.2% , number 333 ±136 | 5.4% ±0.1% , number 337,646 ±7,378 | 5.5% ±<0.1% , number 18,373,810 ±69,180 |
Embed
Language spoken at home
Source: ACS 2020–2024 5-year, table C16001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| English only | 87.8% ±2.4% , number 9,356 ±569 | 78.9% ±0.2% , number 4,617,626 ±11,120 | 77.7% ±0.1% , number 245,767,039 ±221,000 |
| Spanish | 6.3% ±2.2% , number 671 ±236 | 9.6% ±0.1% , number 562,050 ±5,291 | 13.6% ±<0.1% , number 42,869,908 ±143,800 |
| Other Indo-European | 4.3% ±2.3% , number 462 ±242 | 4.7% ±0.1% , number 276,389 ±6,795 | 3.9% ±<0.1% , number 12,249,474 ±54,760 |
| Asian and Pacific Island | 0.8% ±0.6% , number 80 ±67 | 3.9% ±0.1% , number 225,214 ±5,746 | 3.6% ±<0.1% , number 11,320,253 ±40,030 |
| Arabic and other | 0.8% ±0.8% , number 84 ±82 | 2.9% ±0.1% , number 168,354 ±6,134 | 1.2% ±<0.1% , number 3,935,874 ±33,550 |
Embed
Marital status
Source: ACS 2020–2024 5-year, table A11001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Now married | 51.1% ±3.1% , number 5,133 ±414 | 46.8% ±0.2% , number 2,373,865 ±10,140 | 47.8% ±0.1% , number 131,199,078 ±272,700 |
| Never married | 26.1% ±2.8% , number 2,625 ±313 | 36.2% ±0.2% , number 1,838,595 ±8,362 | 34.4% ±0.1% , number 94,480,845 ±211,900 |
| Divorced | 12.7% ±2.6% , number 1,276 ±266 | 9.7% ±0.1% , number 491,701 ±5,743 | 10.6% ±<0.1% , number 29,074,059 ±73,390 |
| Widowed | 7.8% ±2.0% , number 783 ±207 | 5.5% ±0.1% , number 278,780 ±3,883 | 5.6% ±<0.1% , number 15,250,943 ±26,710 |
| Separated | 2.3% ±1.4% , number 231 ±142 | 1.8% ±0.1% , number 89,916 ±2,887 | 1.7% ±<0.1% , number 4,592,038 ±29,170 |
Embed
Where people lived a year ago
Source: ACS 2020–2024 5-year, table A08001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Same home | 88.4% ±3.6% , number 9,761 ±651 | 88.7% ±0.2% , number 5,443,612 ±11,300 | 87.7% ±0.1% , number 290,692,803 ±173,800 |
| Same county | 3.1% ±1.3% , number 338 ±147 | 5.2% ±0.1% , number 321,641 ±8,362 | 6.3% ±<0.1% , number 20,792,831 ±117,600 |
| Another county in the state | 4.5% ±1.3% , number 492 ±151 | 2.8% ±0.1% , number 172,731 ±5,429 | 3.1% ±<0.1% , number 10,316,864 ±51,200 |
| Another state | 4.0% ±1.5% , number 438 ±170 | 2.6% ±0.1% , number 158,125 ±4,686 | 2.3% ±<0.1% , number 7,577,400 ±40,570 |
| Another country | 0.1% ±0.1% , number 10 ±14 | 0.7% ±<0.1% , number 43,092 ±2,409 | 0.6% ±<0.1% , number 2,060,087 ±23,560 |
Embed
Top countries of birth, among those born abroad
Source: ACS 2020–2024 5-year, table A07001.
Show data
| ZIP Code 21842 | |
|---|---|
| Italy | 13.7% , number 138 |
| Dominican Republic | 11.5% , number 116 |
| Guatemala | 11.2% , number 113 |
| El Salvador | 9.5% , number 96 |
| Mexico | 8.5% , number 86 |
| Czechoslovakia (Includes Czech Republic and Slovakia) | 7.1% , number 72 |
Embed
All the numbers
| Indicator | ZIP Code 21842 | Maryland | US | Rank in Maryland* | Table |
|---|---|---|---|---|---|
| Population | 11,226 ±570 | 6,206,011 | 334,922,499 | 172nd | A00001 |
| People per square mile | 1,240 ±63 | 639 | 95 | 141st | A00002 |
| Land area (square miles) | 9 | – | – | – | A00002 |
| Median age | 53.4 ±2.0 | 39.4 ±0.1 | 38.9 ±0.1 | 14th | A01004 |
| Under 18 | 13.0% ±2.2% , number 1,461 ±255 | 22.2% ±0.1% , number 1,376,500 ±6,234 | 22.0% ±<0.1% , number 73,517,834 ±38,890 | 331st | B02002 |
| 65 and over | 27.4% ±2.7% , number 3,075 ±346 | 16.7% ±0.1% , number 1,033,741 ±6,247 | 17.2% ±<0.1% , number 57,633,628 ±50,010 | 22nd | B02002 |
| Born outside the US | 9.0% ±2.3% , number 1,010 ±261 | 16.6% ±0.2% , number 1,030,670 ±10,430 | 14.1% ±<0.1% , number 47,349,078 ±143,600 | 154th | A06001 |
| Speak a language other than English at home | 12.2% ±2.4% , number 1,297 ±354 | 21.1% ±0.2% , number 1,232,007 ±12,030 | 22.3% ±0.1% , number 70,375,509 ±162,500 | 164th | C16001 |
| Veterans (adults) | 8.9% ±2.5% , number 856 ±247 | 6.8% ±0.1% , number 327,493 ±4,654 | 6.2% ±<0.1% , number 16,185,883 ±45,250 | 105th | A16002 |
| Living with a disability | 14.6% ±2.3% , number 1,620 ±268 | 11.6% ±0.1% , number 710,452 ±6,555 | 13.3% ±<0.1% , number 43,869,797 ±68,920 | 77th | B18101 |
| Women 15–50 who had a baby in the past year | 9.9% ±5.5% , number 193 ±110 | 5.1% ±0.1% , number 74,365 ±1,886 | 5.1% ±<0.1% , number 4,009,203 ±20,900 | 22nd | B13002 |
| Lived in the same home a year ago | 88.4% ±3.6% , number 9,761 ±651 | 88.7% ±0.2% , number 5,443,612 ±11,300 | 87.7% ±0.1% , number 290,692,803 ±173,800 | 241st | A08001 |
| White, not Hispanic | 85.9% ±2.6% , number 9,641 ±568 | 46.6% ±0.1% , number 2,890,956 ±3,348 | 57.4% ±<0.1% , number 192,214,378 ±30,950 | 65th | A04001 |
| Hispanic or Latino | 8.3% ±2.4% , number 932 ±279 | 12.5% , number 774,946 | 19.3% ±<0.1% , number 64,759,370 ±1,547 | 144th | A04001 |
| Black, not Hispanic | 1.8% ±1.0% , number 198 ±111 | 28.9% ±0.1% , number 1,796,433 ±5,732 | 11.9% ±<0.1% , number 39,896,127 ±46,710 | 301st | A04001 |
| Asian, not Hispanic | 1.1% ±0.6% , number 122 ±73 | 6.5% ±<0.1% , number 406,030 ±2,996 | 5.9% ±<0.1% , number 19,678,814 ±22,770 | 251st | A04001 |
*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.
Income and work
Incomes close to the US
The median household income is $79,876, lower than Maryland ($103,678) but about the same as the US ($80,734). 9.4% of people live in poverty, and 6.8% have no health insurance, about the same as Maryland (6.3%) but lower than the US (8.4%).
Household income
Source: ACS 2020–2024 5-year, table A14001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Under $25,000 | 10.2% ±2.9% , number 587 ±172 | 11.2% ±0.2% , number 264,367 ±4,310 | 14.6% ±<0.1% , number 18,908,588 ±41,540 |
| $25,000 to $49,999 | 15.3% ±3.4% , number 881 ±207 | 12.4% ±0.2% , number 292,526 ±4,574 | 16.7% ±<0.1% , number 21,624,902 ±39,130 |
| $50,000 to $74,999 | 19.2% ±4.5% , number 1,107 ±271 | 12.8% ±0.2% , number 303,384 ±4,427 | 15.5% ±<0.1% , number 20,031,683 ±36,850 |
| $75,000 to $99,999 | 14.3% ±2.9% , number 823 ±175 | 11.9% ±0.2% , number 281,948 ±4,311 | 12.6% ±<0.1% , number 16,319,799 ±42,700 |
| $100,000 to $149,999 | 15.7% ±3.0% , number 903 ±182 | 18.9% ±0.2% , number 445,778 ±5,287 | 17.5% ±<0.1% , number 22,670,921 ±58,280 |
| $150,000 to $199,999 | 8.2% ±2.0% , number 474 ±117 | 12.5% ±0.2% , number 295,150 ±4,357 | 9.6% ±<0.1% , number 12,405,370 ±57,560 |
| $200,000 or more | 17.0% ±4.1% , number 976 ±246 | 20.3% ±0.2% , number 479,775 ±5,298 | 13.4% ±0.1% , number 17,266,233 ±82,370 |
Embed
What residents do for work
Source: ACS 2020–2024 5-year, table A17004.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Arts, food and lodging | 25.9% ±4.2% , number 1,504 ±269 | 7.5% ±0.1% , number 235,925 ±3,533 | 8.7% ±<0.1% , number 13,952,453 ±52,980 |
| Professional and business services | 16.2% ±4.1% , number 942 ±248 | 16.5% ±0.2% , number 520,298 ±5,898 | 12.6% ±<0.1% , number 20,282,450 ±59,650 |
| Education and health care | 15.3% ±3.2% , number 889 ±198 | 23.9% ±0.2% , number 753,666 ±7,286 | 23.5% ±0.1% , number 37,913,663 ±133,200 |
| Finance, insurance and real estate | 9.3% ±2.9% , number 538 ±173 | 5.8% ±0.1% , number 181,692 ±3,803 | 6.7% ±<0.1% , number 10,783,159 ±41,000 |
| Public administration | 8.0% ±3.2% , number 465 ±190 | 11.1% ±0.2% , number 349,287 ±5,405 | 4.7% ±<0.1% , number 7,624,243 ±43,950 |
| Retail trade | 6.6% ±2.2% , number 381 ±131 | 8.9% ±0.2% , number 281,480 ±4,884 | 10.8% ±<0.1% , number 17,456,908 ±41,100 |
| Construction | 5.3% ±1.9% , number 307 ±112 | 7.3% ±0.1% , number 229,276 ±4,049 | 6.9% ±<0.1% , number 11,167,040 ±57,000 |
| Transportation and warehousing | 4.2% ±1.6% , number 243 ±92 | 5.2% ±0.1% , number 164,459 ±3,445 | 5.9% ±<0.1% , number 9,568,767 ±29,300 |
Embed
Where workers come from and go
ZIP Code 21842 has 10,342 jobs and 5,165 employed residents. 8,235 people commute in to work and 3,058 commute out, while 2,107 both live and work here. The most commuters come from 21811.
Most commuters come from
- 21811: 2,342
- 21804: 613
- 21801: 369
Most residents commute to
- 21811: 519
- 21801: 255
- 21804: 222
Show data
| ZIP Code 21842 | |
|---|---|
| Live and work here | 2,107 |
| Work here, live elsewhere | 8,235 |
| Live here, work elsewhere | 3,058 |
Embed
All the numbers
| Indicator | ZIP Code 21842 | Maryland | US | Rank in Maryland* | Table |
|---|---|---|---|---|---|
| Median household income | $79,876 ±$5,443 | $103,678 ±$597 | $80,734 ±$166 | 268th | A14006 |
| Income per person | $75,528 ±$9,876 | $52,979 ±$282 | $44,673 ±$122 | 28th | A14024 |
| Income inequality (Gini index) | 0.551 ±0.041 | 0.456 ±0.002 | 0.483 | 4th | A14028 |
| Living in poverty | 9.4% ±2.5% , number 1,040 ±286 | 9.4% ±0.2% , number 574,017 ±10,970 | 12.5% ±0.1% , number 40,735,661 ±275,900 | 117th | A13004 |
| Unemployment rate | 7.6% ±3.6% , number 475 ±227 | 4.9% ±0.1% , number 162,200 ±3,720 | 5.2% ±<0.1% , number 8,902,365 ±38,980 | 42nd | A17005 |
| No health insurance | 6.8% ±1.6% , number 754 ±180 | 6.3% ±0.1% , number 382,503 ±6,820 | 8.4% ±<0.1% , number 27,734,911 ±158,900 | 82nd | A20001 |
*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.
Education
More college degrees than the US
40.7% of adults 25 and over have a bachelor’s degree or more, about the same as Maryland (43.4%) but higher than the US (35.7%).
Highest level of education
Source: ACS 2020–2024 5-year, table A12001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Less than high school | 5.2% ±1.8% , number 464 ±167 | 8.9% ±0.1% , number 380,692 ±5,624 | 10.4% ±<0.1% , number 23,992,410 ±82,490 |
| High school only | 27.6% ±4.5% , number 2,460 ±427 | 23.4% ±0.3% , number 1,008,111 ±10,890 | 26.0% ±0.1% , number 60,094,716 ±262,500 |
| Some college | 26.5% ±2.9% , number 2,360 ±294 | 24.3% ±0.2% , number 1,043,756 ±9,983 | 27.9% ±0.1% , number 64,356,961 ±143,900 |
| Bachelor’s degree | 24.7% ±2.6% , number 2,201 ±261 | 22.7% ±0.2% , number 975,248 ±9,194 | 21.6% ±0.1% , number 49,868,171 ±191,400 |
| Graduate degree | 16.1% ±2.8% , number 1,433 ±263 | 20.8% ±0.2% , number 893,528 ±8,501 | 14.1% ±0.1% , number 32,495,045 ±159,600 |
Embed
All the numbers
| Indicator | ZIP Code 21842 | Maryland | US | Rank in Maryland* | Table |
|---|---|---|---|---|---|
| Bachelor’s degree or more | 40.7% ±3.5% , number 3,634 ±370 | 43.4% ±0.3% , number 1,868,776 ±12,520 | 35.7% ±0.1% , number 82,363,216 ±249,200 | 157th | A12001 |
| High school graduate or more | 94.8% ±4.8% , number 8,454 ±637 | 91.1% ±0.4% , number 3,920,643 ±19,360 | 89.6% ±0.2% , number 206,814,893 ±389,500 | 120th | A12001 |
*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.
Housing
Home values kept pace with incomes
24.0% of households rent, lower than both Maryland (32.4%) and the US (34.8%). The median home is worth $447,700 and the median rent is $1,394. After inflation, home values rose 15% from 2010–2014 to 2020–2024, while household income rose 6%.
Housing costs and income, 2010–2014 to 2020–2024, after inflation
Source: ACS 5-year, table A10036, A18009, A14006.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Median home value | +14.6% | +10.0% | +42.6% |
| Median rent | −3.1% | +5.4% | +15.6% |
| Median household income | +5.7% | +5.3% | +13.7% |
Embed
Types of homes
Source: ACS 2020–2024 5-year, table A10032.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Single-family, detached | 15.2% ±1.5% , number 4,955 ±509 | 51.2% ±0.2% , number 1,310,576 ±5,602 | 61.3% ±0.1% , number 88,075,458 ±149,800 |
| Single-family, attached | 12.4% ±1.5% , number 4,051 ±492 | 21.3% ±0.2% , number 545,305 ±4,510 | 6.2% ±<0.1% , number 8,955,086 ±33,580 |
| 2 to 4 units | 5.5% ±1.2% , number 1,784 ±393 | 3.6% ±0.1% , number 92,100 ±2,777 | 7.7% ±<0.1% , number 11,031,346 ±42,810 |
| 5 to 19 units | 21.2% ±1.9% , number 6,928 ±641 | 12.4% ±0.2% , number 318,663 ±4,585 | 8.8% ±<0.1% , number 12,625,154 ±51,990 |
| 20 or more units | 42.4% ±2.3% , number 13,829 ±787 | 10.2% ±0.2% , number 260,547 ±3,882 | 10.3% ±<0.1% , number 14,859,547 ±31,000 |
| Mobile homes and other | 3.3% ±0.8% , number 1,074 ±272 | 1.3% ±0.1% , number 33,593 ±1,554 | 5.7% ±<0.1% , number 8,228,764 ±48,580 |
Embed
When homes were built
Source: ACS 2020–2024 5-year, table A10055.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| 2010 or later | 9.0% ±3.2% , number 520 ±189 | 9.7% ±0.2% , number 228,234 ±3,580 | 11.6% ±<0.1% , number 14,996,534 ±51,640 |
| 2000 to 2009 | 14.9% ±3.6% , number 859 ±214 | 11.7% ±0.2% , number 275,484 ±4,333 | 13.8% ±<0.1% , number 17,865,859 ±70,250 |
| 1980 to 1999 | 38.5% ±4.3% , number 2,216 ±287 | 28.2% ±0.3% , number 666,679 ±6,427 | 25.3% ±<0.1% , number 32,758,140 ±75,080 |
| 1960 to 1979 | 30.2% ±4.2% , number 1,735 ±268 | 25.0% ±0.3% , number 590,908 ±6,412 | 23.9% ±<0.1% , number 30,938,809 ±78,560 |
| Before 1960 | 7.3% ±2.6% , number 421 ±154 | 25.5% ±0.3% , number 601,623 ±6,517 | 25.3% ±<0.1% , number 32,668,154 ±83,060 |
Embed
All the numbers
| Indicator | ZIP Code 21842 | Maryland | US | Rank in Maryland* | Table |
|---|---|---|---|---|---|
| Housing units | 32,621 ±457 | – | – | – | A10001 |
| Households | 5,751 ±386 | – | – | – | A10008 |
| People per household | 1.92 ±0.10 | 2.57 ±0.01 | 2.53 ±0.01 | 337th | A10003 |
| Households that rent | 24.0% ±4.4% , number 1,378 ±268 | 32.4% ±0.3% , number 765,363 ±6,619 | 34.8% ±0.1% , number 45,017,354 ±163,600 | 151st | A10060 |
| Vacant homes | 82.4% ±0.7% , number 26,870 ±434 | 7.7% ±0.2% , number 197,856 ±3,980 | 10.1% ±0.1% , number 14,547,859 ±200,400 | 1st | A10047, A10060 |
| Median gross rent | $1,394 ±$99 | $1,705 ±$8 | $1,413 ±$2 | 211th | A18009 |
| Median home value | $447,700 ±$25,060 | $419,900 ±$1,385 | $332,700 ±$236 | 148th | A10036 |
| Renters paying 30% or more of income | 52.8% ±10.8% , number 727 ±206 | 48.7% ±0.7% , number 372,433 ±6,216 | 47.6% ±0.2% , number 21,422,415 ±63,960 | 90th | A18002 |
| Owners paying 30% or more of income | 28.5% ±5.7% , number 1,247 ±267 | 22.8% ±0.3% , number 363,735 ±5,046 | 22.5% ±0.1% , number 18,961,895 ±39,930 | 61st | A10040 |
| Homes built before 1960 | 7.3% ±2.6% , number 421 ±154 | 25.5% ±0.3% , number 601,623 ±6,517 | 25.3% ±<0.1% , number 32,668,154 ±83,060 | 288th | A10055 |
*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.
Getting around
A driving ZIP code with short commutes
73.7% of workers drive alone and 13.0% work from home. 21.2% of those who travel to work spend 30 minutes or more getting there, and 5.6% of households have no vehicle.
How people get to work
Source: ACS 2020–2024 5-year, table A09005.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Drive alone | 73.7% ±4.4% , number 4,259 ±397 | 64.7% ±0.3% , number 2,024,501 ±9,944 | 68.8% ±0.1% , number 109,447,738 ±95,800 |
| Carpool | 4.0% ±1.9% , number 230 ±112 | 7.7% ±0.1% , number 241,457 ±3,595 | 8.5% ±<0.1% , number 13,569,614 ±52,500 |
| Public transit | 0.7% ±0.9% , number 38 ±52 | 4.7% ±0.1% , number 146,225 ±3,803 | 3.5% ±<0.1% , number 5,573,279 ±22,170 |
| Walk | 3.6% ±2.0% , number 208 ±119 | 2.0% ±0.1% , number 63,417 ±2,622 | 2.4% ±<0.1% , number 3,772,609 ±17,080 |
| Work from home | 13.0% ±3.1% , number 753 ±185 | 19.3% ±0.2% , number 604,400 ±7,547 | 15.1% ±<0.1% , number 24,042,489 ±82,860 |
| Other | 5.0% ±2.1% , number 289 ±121 | 1.5% ±0.1% , number 47,685 ±2,172 | 1.7% ±<0.1% , number 2,708,365 ±17,940 |
Embed
Time spent getting to work
Source: ACS 2020–2024 5-year, table B09001.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| Under 10 minutes | 27.2% ±5.2% , number 1,369 ±282 | 8.2% ±0.1% , number 206,477 ±3,804 | 12.7% ±<0.1% , number 17,153,542 ±40,730 |
| 10 to 19 minutes | 35.9% ±5.2% , number 1,804 ±298 | 22.9% ±0.3% , number 577,728 ±7,052 | 28.7% ±<0.1% , number 38,741,521 ±54,980 |
| 20 to 29 minutes | 15.6% ±3.8% , number 786 ±200 | 20.2% ±0.2% , number 509,531 ±6,561 | 21.3% ±<0.1% , number 28,723,420 ±52,330 |
| 30 to 39 minutes | 7.7% ±2.2% , number 387 ±113 | 19.1% ±0.2% , number 480,913 ±6,304 | 16.9% ±<0.1% , number 22,853,044 ±46,230 |
| 40 to 59 minutes | 8.9% ±2.9% , number 445 ±152 | 17.0% ±0.2% , number 428,339 ±5,240 | 11.9% ±<0.1% , number 16,024,037 ±44,090 |
| 60 minutes or more | 4.6% ±1.9% , number 233 ±96 | 12.7% ±0.2% , number 320,297 ±5,326 | 8.6% ±<0.1% , number 11,576,041 ±36,550 |
Embed
Vehicles per household
Source: ACS 2020–2024 5-year, table A10030.
Show data
| ZIP Code 21842 | Maryland | United States | |
|---|---|---|---|
| None | 5.6% ±2.3% , number 323 ±137 | 8.8% ±0.2% , number 207,618 ±3,784 | 8.4% ±<0.1% , number 10,793,323 ±36,450 |
| One | 41.9% ±5.4% , number 2,411 ±351 | 33.5% ±0.3% , number 791,417 ±7,203 | 33.1% ±0.1% , number 42,801,892 ±122,600 |
| Two | 39.5% ±5.0% , number 2,273 ±323 | 35.8% ±0.3% , number 846,669 ±7,764 | 36.6% ±0.1% , number 47,334,152 ±191,100 |
| Three or more | 12.9% ±2.7% , number 744 ±162 | 21.9% ±0.2% , number 517,224 ±5,905 | 21.9% ±0.1% , number 28,298,129 ±85,940 |
Embed
All the numbers
| Indicator | ZIP Code 21842 | Maryland | US | Rank in Maryland* | Table |
|---|---|---|---|---|---|
| Drive to work alone | 73.7% ±4.4% , number 4,259 ±397 | 64.7% ±0.3% , number 2,024,501 ±9,944 | 68.8% ±0.1% , number 109,447,738 ±95,800 | 116th | A09005 |
| Take public transit | 0.7%† (too uncertain to lean on) ±0.9% , number 38 ±52 | 4.7% ±0.1% , number 146,225 ±3,803 | 3.5% ±<0.1% , number 5,573,279 ±22,170 | 205th | A09005 |
| Work from home | 13.0% ±3.1% , number 753 ±185 | 19.3% ±0.2% , number 604,400 ±7,547 | 15.1% ±<0.1% , number 24,042,489 ±82,860 | 247th | A09005 |
| Commute 30 minutes or more | 21.2% ±3.9% , number 1,065 ±212 | 48.7% ±0.3% , number 1,229,549 ±9,776 | 37.4% ±<0.1% , number 50,453,122 ±73,600 | 334th | B09001 |
| Households with no vehicle | 5.6% ±2.3% , number 323 ±136 | 8.8% ±0.2% , number 207,618 ±3,915 | 8.4% ±<0.1% , number 10,793,323 ±27,220 | 139th | A10030 |
*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.
Places
In and around ZIP Code 21842
Population, from the latest estimates available. Figures cover the whole of each place.
Places nearby
- Ocean Pines: 12,351
- Ocean City: 6,903
- Berlin: 5,232
- West Ocean City: 5,198
- Snow Hill: 2,659
- Pittsville: 1,950
- Willards: 1,280
- Bishopville: 516
Its county
- Worcester County: 53,700
ZIP codes like this one
- ZIP Code 32967 (Winter Beach, FL): 27,240
- ZIP Code 32413 (Panama City Beach, FL): 15,453
- ZIP Code 28791 (Mountain Home, NC): 15,108
- ZIP Code 89703 (Carson City, NV): 10,738
ZIP codes at least a third this size, with the closest income, education, age, housing and origins.
Turn ZIP Code 21842 into your planning report.
Social Explorer Studio builds an editable profile of any place, with tables and charts beside the county and state, and exports to Word, PDF and Excel.
Questions about ZIP Code 21842
What is the population of ZIP Code 21842?
11,226 people (±570), according to the ACS 2020–2024 5-year estimates. That’s the 172nd largest of 470 ZIP codes in Maryland.
Is ZIP Code 21842 the same as the post office’s ZIP code?
Nearly. The Census Bureau draws ZIP Code Tabulation Areas from census blocks to match the Postal Service’s ZIP codes as closely as it can, since ZIP codes are mail routes rather than areas. These figures are for ZCTA 21842, which is centered in Ocean City, and its edges can differ slightly from the mail route’s.
What county is ZIP Code 21842 in?
ZIP Code 21842 is in Worcester County.
What is the median household income in ZIP Code 21842?
$79,876 (±$5,443), according to the ACS 2020–2024 5-year estimates, lower than Maryland ($103,678) but about the same as the US ($80,734).
What is the median age in ZIP Code 21842?
53.4 years (±2.0), according to the ACS 2020–2024 5-year estimates, higher than both Maryland (39.4) and the US (38.9).
How much does housing cost in ZIP Code 21842?
ZIP Code 21842’s median home value is $447,700 (±$25,060) and its median gross rent is $1,394 (±$99) a month, according to the ACS 2020–2024 5-year estimates. 52.8% (±10.8%) of its renters pay 30% or more of their income on rent.
Where do people who work in ZIP Code 21842 live?
2,107 of its 10,342 jobs are held by people who live here. Of those who commute in, the most come from 21811, 21804, 21801.
Where does this census data come from?
The U.S. Census Bureau’s American Community Survey, through Social Explorer’s tables: the latest 1-year estimates where they exist, for the most recent numbers, and 5-year estimates otherwise. Each table lists its code, so you can find it again.
Is this data free to use?
Yes. You can read it, cite it, download the CSV and embed the charts, with no account. To map other variables, compare your own areas or build a report, see Social Explorer’s plans in a live demo.
Sources and how to cite
American Community Survey 2020–2024 5-year estimates, U.S. Census Bureau, from Social Explorer’s tables A00001, A00002, A01004, A04001, A06001, A08001, A09005, A10001, A10003, A10008, A10030, A10036, A10040, A10047, A10055, A10060, A12001, A13004, A14006, A14024, A14028, A16002, A17005, A18002, A18009, A20001, B02002, B09001, B13002, B18101, C16001. Maps by census tract use 2020–2024 5-year estimates, since the 1-year survey doesn’t cover tracts. Commuting: LEHD LODES 2023. These are estimates from a sample, each with its margin of error. Data retrieved November 14, 2026. How these profiles are made.
U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, via Social Explorer. “ZIP Code 21842.” https://www.socialexplorer.com/places/zip/21842. Accessed November 14, 2026.