ZipCodeLook
21771

Zip code 21771: Mount Airy, Maryland

Residential delivery areaFrederick CountyEastern Time
Population
33,031
Median household income
$157K
U.S. $81K
Median home value
$556K
U.S. $333K
Median rent
$2,252/mo
U.S. $1,413
Median age
40.9
U.S. 38.9
Land area
90 sq mi
369 people/sq mi

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

About 21771

21771 is a small-town zip code in Mount Airy, Maryland (Frederick County), covering 90 sq mi of land. About 33,031 people live here, or 369 per square mile. The median resident is 40.9 years old, compared with 38.9 nationally.

The median household earns $157,302 a year, about 1.9× the national median of $80,734. 3.1% of residents live below the poverty line (U.S.: 12.5%). A typical home is valued at $556,200, or 3.5 years of median household income (U.S.: 4.1 years), which makes homes about as affordable as the national average for local earners. 94% of occupied homes are lived in by their owners, and renters pay a median of $2,252 a month.

49% of adults hold a bachelor's degree or higher (U.S.: 36%). Commuters average 36.1 minutes each way, and 21% of workers work from home. The most common jobs among working residents are in management; construction and repair; and office and administrative support.

How 21771 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
40.9
Under 18
24.2%
65 and over
15.6%

Race and ethnicity

  • White83%
  • Black4%
  • Hispanic8%
  • Asian1%
  • Native American0.0%
  • Pacific Islander0.0%
  • Other0.4%
  • Multiracial3%
Diversity index
29.8
U.S. 61.4
Foreign-born
8.4%
U.S. 14.1%
Born in state
56.5%

Language spoken at home (households)

English only
85%
Spanish
8%
Other Indo-European
3%
Asian / Pacific
1%
Other
3%

Households

Households
11,226
Average household size
2.9
Family households
80.2%
Married couples
68.9%
Living alone
15.5%
Veterans (of adults)
6.8%
Male / female
51% / 49%

Income and poverty

Household income distribution

<$25k
5%
$25–50k
6%
$50–75k
7%
$75–100k
11%
$100–150k
18%
$150–200k
19%
$200k+
34%

Median household income

21771
$157,302
Frederick Co.
$122,002
Maryland
$103,678
United States
$80,734
Per capita income
$60,220
U.S. $44,673
Poverty rate
3.1%
U.S. 12.5%
Households earning $150K+
53.5%
U.S. 23%
Income inequality (Gini)
0.353
U.S. 0.483

Housing

Median home value

21771
$556,200
Frederick Co.
$464,600
Maryland
$419,900
United States
$332,700

Median gross rent

21771
$2,252
Frederick Co.
$1,774
Maryland
$1,705
United States
$1,413

Types of housing

Single-family
98%
2–4 units
0.6%
5–19 units
0%
20+ units
0.3%
Mobile home
1%
Boat, RV, van
0.1%
Housing units
11,758
Owner-occupied
94%
Vacant
4.5%
Median year built
1988
Median rooms
8.2
Renters paying 30%+ of income
47.8%
Renters paying 50%+ of income
15.9%
Home value to income
3.5× (U.S. 4.1×)

Work and commute

How people get to work

Drove alone
70%
Carpooled
7%
Transit
0.5%
Walked
0.8%
Bicycle
0%
Worked from home
21%
Other
0.5%

Commute time (one way)

<10 min
12%
10–19
10%
20–29
17%
30–44
22%
45–59
20%
60+
19%
Average commute
36.1 min
U.S. 26.4 min
Unemployment
4.3%
U.S. 5.2%
In labor force
72.1%
U.S. 63.5%

Jobs and careers

What employed residents do, wherever they work

Occupations

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

Industries

Professional and technical services
14%
Public administration
12%
Construction
11%
Retail
10%
Education
10%
Health care and social assistance
8%
Manufacturing
6%
Finance, insurance and real estate
6%
Admin, support and management
5%
Other services
4%
Restaurants and hotels
4%
Arts and recreation
4%
Transportation, warehousing and utilities
3%
Information
2%
Wholesale
1%
Agriculture and mining
0.8%
Median earnings per worker
$77,285
U.S. $49,666
Self-employed
9.9%
U.S. 10%
Government workers
23.9%
U.S. 14.5%
Nonprofit workers
5.1%
U.S. 8.8%

Median earnings by type of work

Type of work21771U.S.
Management, business, science and arts$106,830$74,888
Service$24,871$26,804
Sales and office$51,977$40,476
Construction and maintenance$70,826$49,199
Production and transportation$44,540$39,989

Education, internet and health coverage

Highest education (adults 25+)

No diploma
4%
High school
20%
Some college
19%
Associate's
8%
Bachelor's
28%
Graduate
20%
High school graduate or higher
95.9%
Bachelor's degree or higher
48.8%
Graduate or professional degree
20.5%
Households with broadband
95%
Cable, fiber or DSL
82.9%
No internet access
3.8%
Without health insurance
3.1%
Limited-English households
2%

Geography

City (USPS)
Mount Airy
Center point
39.3949° N, 77.1582° W
Land area
90 sq mi
Water area
0.2 sq mi
Time zone
Eastern Time (UTC-5, UTC-4 in summer)
Zip type
Residential delivery area

21771 spans 4 counties

Cities and towns within this zip

  • Green Valley (unincorporated)7% of zip
  • Mount Airy5% of zip

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

Zip codes near 21771

ZipCityDistanceIncome
21792Unionville · PO box5.7 mi—
21770Monrovia6.1 mi$183,571
21765Lisbon · PO box6.1 mi—
21774New Market6.3 mi$171,103
21797Woodbine6.5 mi$189,241
20872Damascus7.1 mi$141,050
21762Libertytown7.6 mi—
21776New Windsor9.1 mi$133,409
21754Ijamsville9.5 mi$182,188
21723Cooksville9.5 mi$241,250
21791Union Bridge9.7 mi$93,015
21701Frederick9.9 mi$106,577

Zip codes like 21771 elsewhere

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

Questions about 21771

What city is zip code 21771?

21771 is assigned to Mount Airy, Maryland. The city name is the one the Postal Service prefers for mail addressed to this zip code.

What county is 21771 in?

21771 is mostly in Frederick County, but it extends into 3 other counties.

What is the population of 21771?

About 33,031 people live in 21771, according to the Census Bureau's American Community Survey.

What time zone is 21771 in?

21771 is in Eastern Time.

What is the median household income in 21771?

The median household income in 21771 is $157,302.

What zip codes are near 21771?

The closest zip codes to 21771 are 21792, 21770, 21765, 21774, 21797.

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