21842
Updated
ZIP 21842 is in Ocean City, Maryland, in Worcester County; area codes 410, 443 and 667; Eastern time. Ocean City has 2 ZIP codes; the other is 21843.
- Type
- Standard
- Time zone
- America/New_York
- County
- Worcester
- Metro area
- Ocean Pines, MD
- Population
- 11,226
- Coordinates
- 38.3631, -75.0850
Weather right now
Asking the National Weather Service…
Where 21842 is
Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.
People and housing
| Population | 11,226This ZIP11,226 |
|---|---|
| Households | 5,751This ZIP5,751 |
| Housing units | 32,621This ZIP32,621 |
| Median age | 53.4This ZIP53.4Maryland39.4US 38.9 |
| Median household income | $79,876This ZIP$79,876Maryland$103,678US $80,734 |
| Median home value | $447,700This ZIP$447,700Maryland$419,900US $332,700 |
| Median gross rent | $1,394This ZIP$1,394Maryland$1,705US $1,413 |
| Bachelor's degree or higher | 40.7%This ZIP40.7% |
| Mean commute | 19.6 minThis ZIP19.6 min |
| Population density | 1,239.8 / sq miThis ZIP1,239.8 / sq mi |
How 21842 compares
21842 has the most densely settled streets in Worcester County: 1,240 people per square mile, against 24 in 21829 at the other end, among 9 ZIP codes ranked.
Its median age, 53.4, is higher than in 90% of Maryland's 428 ZIP codes where people live.
| Measure | 21842 | Rank in county | Above, in MD |
|---|---|---|---|
| Median household income | $79,876 | 5th of 8 | 22% |
| Median home value | $447,700 | 2nd of 9 | 56% |
| Median gross rent | $1,394 | 2nd of 5 | 33% |
| Population | 11,226 | 2nd of 9 | 61% |
| Median age | 53.4 | 3rd of 9 | 90% |
| Bachelor's degree or higher | 40.7% | 2nd of 9 | 56% |
| People per square mile | 1,240 | 1st of 9 | 66% |
Rank in county is among the ZIP codes of Worcester County, 1 being the highest; "Above, in MD" is the share of Maryland's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 1,116This ZIP1,116 |
|---|---|
| Employees | 9,768This ZIP9,768 |
| Annual payroll | $457,493,000This ZIP$457,493,000 |
| Tax returns filed | 7,790This ZIP7,790 |
| Total adjusted gross income | $730,143,000This ZIP$730,143,000 |
Land area
| Land area | 9.06 sq miThis ZIP9.06 sq mi |
|---|---|
| Water area | 12.26 sq miThis ZIP12.26 sq mi |
Other place names in 21842
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
21842 | Ocean City, MD (this ZIP) | — | 11,226 | $79,876 | $447,700 |
21813 | Bishopville, MD | 6.6 mi | 2,999 | $121,472 | $628,000 |
21811 | Berlin, MD | 8.0 mi | 24,377 | $90,082 | $388,900 |
19944 | Fenwick Island, DE | 8.1 mi | 636 | $121,250 | $1,189,300 |
19975 | Selbyville, DE | 8.7 mi | 10,862 | $88,568 | $462,700 |
19945 | Frankford, DE | 12.1 mi | 9,640 | $87,638 | $443,100 |
21872 | Whaleyville, MD | 12.1 mi | 661 | $117,888 | $433,300 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
Find every ZIP code within 10 miles of 21842 →
- 🔢 Type 21842 into a pocket calculator and turn it upside down: ZhBIZ — not quite a word, sorry.
- 🏠 Its numerical neighbours: 21841 (Newark, MD, 14 mi away) and 21843 (Ocean City, MD, 2 mi away).
- 🧭 Farther south than 56% of all ZIP codes, and farther east than 87%.
- 🎯1,260 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 14h 50m of daylight. Shortest: 9h 29m.
- 📏 At 9.1 square miles of land, 21842 is bigger than 26% of ZIP codes — room for about 6.9 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 21842?
21842 is in Ocean City, Maryland, in Worcester County, part of the Ocean Pines, MD micropolitan area. Its published point location is 38.3631, -75.0850.
What county is 21842 in?
21842 lies in Worcester County.
What area code is 21842?
Ocean City uses area codes 410, 443 and 667, from NANPA's telephone records.
What time zone is 21842 in?
21842 uses America/New_York.
How many people live in 21842?
About 11,226 people live in ZIP code 21842, in 5,751 households, at 1,239.8 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.
What is the median household income in 21842?
$79,876 a year, against $103,678 across Maryland.
What ZIP codes are near 21842?
The closest where people live are 21813 (6.6 mi), 21811 (8.0 mi), 19944 (8.1 mi), 19975 (8.7 mi) and 19945 (12.1 mi).
Is 21842 a PO Box ZIP code?
21842 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “21842 ZIP Code: Ocean City, Maryland (Worcester County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/21842
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/21842.json Underlying data is public domain or openly licensed — sources, vintages and licences.