Frederick County · Maryland

ZIP Code 21704

Frederick, MD · 20,006 residents

City (USPS)
Frederick
Time zone
Eastern Time
Coordinates
39.3549° N, 77.3759° W
Land area
26.6 sq mi · 751 people/sq mi
77.6°W77.5°W77.4°W77.3°W77.2°W39.3°N39.4°NZIP 20176ZIP 20838ZIP 20841ZIP 20842ZIP 20871ZIP 20872ZIP 21701ZIP 21702ZIP 21703ZIP 21705ZIP 21710ZIP 21714ZIP 21717ZIP 21754ZIP 21755ZIP 21770ZIP 21771ZIP 21774ZIP 21777ZIP 21790ZIP 21791ZIP 21793217012177121755217102170321774208712087221770217542179021777217045 miN
ZIP Code 21704 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 21704 in?

ZIP Code 21704 is in Frederick County, Maryland.

The Postal Service's default place name for 21704 is Frederick. By Census boundaries it covers Urbana (community, 15% of the land), Ballenger Creek (community, 15% of the land), and Bartonsville (community, 7% of the land). The remaining 63% is unincorporated.

Population20,006±1,195
Median household income$161,063
Median home value$612,000
Median rent$2,536/mo
Median age38.6
Households6,136

What stands out in ZIP 21704

  • The poverty rate is 2.9%, 52% lower than Frederick County (6%).
  • The share of residents born abroad is 23.2%, 68% higher than Frederick County (13.8%).
  • The median rent is $2,536 a month, 43% higher than Frederick County ($1,774 a month).
  • The median household income is $161,063, 32% higher than Frederick County ($122,002).

People in ZIP 21704

Median age38.6
Under 1832.7%
65 and older10.9%
Born abroad23.2%
Moved here in the last year9%

Age and sex

MaleAgeFemale
0.7%80+1.7%
1.7%70–792.7%
5.0%60–694.1%
6.3%50–595.0%
9.2%40–4910.3%
6.4%30–395.8%
4.3%20–292.4%
10.0%10–198.2%
9.4%0–96.6%
Share of all residents in each age group

Race and ethnicity

  • White50.2%
  • Asian17.8%
  • Hispanic or Latino14.7%
  • Black11.3%
  • Two or more races5.4%
  • Other0.3%
  • Pacific Islander0.2%
  • American Indian / Alaska Native0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

6,136 households, 3.21 people per household on average, 84.4% family households, and 13.3% people living alone.

Income in ZIP 21704

Median household income$161,063±$11,187
Per-capita income$59,928
Poverty rate2.9%
Income inequality (Gini)0.360 = equal, 1 = unequal

Median household income ranks 61st of 400 ZIP Codes in Maryland. Richest ZIP Codes in Maryland

3%Under $25k
4%$25k–50k
9%$50k–75k
9%$75k–100k
19%$100k–150k
16%$150k–200k
39%$200k+
Households by annual income

Housing in ZIP 21704

Median home value$612,000
Median gross rent$2,536/mo
Housing units6,257
Median year built2007
Vacant1.9%

Owners and renters

  • Owner-occupied 82%
  • Renter-occupied 18%

Types of homes

  • Single-family homes 89%
  • 2–9 unit buildings 1.9%
  • 10+ unit buildings 8.8%
  • Mobile homes, RVs 0.3%

Work, commute and education

Mean commute34 minone way
Unemployment rate3.3%
Labor force participation71.9%age 16+
Broadband at home95.5%households

How workers get to work

  • Drove alone63.1%
  • Carpooled4.8%
  • Public transit0.4%
  • Walked1.5%
  • Bicycle0.1%
  • Worked from home28.9%

Education, adults 25+

  • High school or higher95.4%
  • Bachelor's or higher57.4%
  • Graduate or professional degree28.4%

How ZIP 21704 compares

ZIP 21704Frederick CountyMarylandUnited States
Median household income$161,063$122,002$103,678$80,734
Per-capita income$59,928$54,982$52,979$44,673
Median home value$612,000$464,600$419,900$332,700
Median gross rent$2,536/mo$1,774/mo$1,705/mo$1,413/mo
Homeownership rate82%77%67.6%65.2%
Median age38.639.039.438.9
Bachelor's degree or higher57.4%45.8%43.4%35.7%
Poverty rate2.9%6%9.4%12.5%
Unemployment rate3.3%3.3%4.9%5.2%
Mean commute34 min33 min31 min26 min
Worked from home28.9%21.2%19.3%15.1%
Broadband at home95.5%93.2%92.4%91%
Foreign-born residents23.2%13.8%16.6%14.1%

ZIP Codes bordering 21704

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
21717Buckeystown245$158,413$430,60042.6W · 3.2 mi
21754Ijamsville8,156$182,188$647,30041.2SE · 3.6 mi
21710Adamstown4,661$163,864$591,10051.9SW · 4.4 mi
21703Frederick41,960$106,334$384,60034.6W · 5.3 mi
21701Frederick43,048$106,577$435,00039.6N · 6.5 mi
20842Dickerson2,369$204,013$745,80048.5S · 10.9 mi

Cities and communities in 21704

ZIP Code 21704: questions and answers

What county is ZIP Code 21704 in?
ZIP Code 21704 is in Frederick County, Maryland.
What city is ZIP Code 21704 in?
The Postal Service's default place name for 21704 is Frederick. By Census boundaries it covers Urbana (community, 15% of the land), Ballenger Creek (community, 15% of the land), and Bartonsville (community, 7% of the land). The remaining 63% is unincorporated.
What is the population of ZIP Code 21704?
About 20,006 people live in ZIP Code 21704, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 21704 in?
ZIP Code 21704 is in the Eastern Time zone (America/New_York).
What is the median household income in 21704?
The median household income in ZIP Code 21704 is $161,063 (2020–2024 ACS), compared with $122,002 in Frederick County and $103,678 in Maryland.
Which ZIP Codes border 21704?
21717 (Buckeystown), 21754 (Ijamsville), 21710 (Adamstown), 21703 (Frederick), 21701 (Frederick), and 20842 (Dickerson).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.