Boundary Atlas

ZIP code 21771: Mount Airy, MD

ZIP code 21771 is in Mount Airy (31% of residents) and Green Valley (14%), in Frederick County (45%), Carroll County (43%), Howard County (10%) and Montgomery County (1.2%), Maryland. 54% of its residents live outside city limits. It is in Maryland's 6th congressional district (46%), Maryland's 3rd congressional district (45%), Maryland's 2nd congressional district (8.4%) and Maryland's 8th congressional district (0.2%). Its state senate districts are State Senate District 5 (55%), State Senate District 4 (34%), State Senate District 9 (11%) and State Senate District 14 (0.3%); its state house districts are State Legislative District 5 (55%), State Legislative District 4 (34%), State Legislative Subdistrict 9A (11%) and State Legislative District 14 (0.3%).

30,697residents (2020 Census)
89.5 sq miland area
2cities and towns
4congressional districts
15voting precincts

See it on the mapAll of Maryland

City and county

City or townShare of ZIP residents
Mount Airy31%
Green Valley14%

CountyShare of ZIP residents
Frederick County45%
Carroll County43%
Howard County10%
Montgomery County1.2%

Town or county subdivisionShare of ZIP residents
District 13, Mount Airy35%
District 18, Woodville31%
District 9, New Market11%
District 4, Lisbon10%
District 9, Franklin8.4%
District 19, Linganore2.8%
District 121.0%
District 8, Liberty0.7%
District 10.2%
District 14, Berrett0.1%

Congressional districts

Congressional districtShare of ZIP residents
Maryland's 6th congressional district (MD-06)46%
Maryland's 3rd congressional district (MD-03)45%
Maryland's 2nd congressional district (MD-02)8.4%
Maryland's 8th congressional district (MD-08)0.2%

This ZIP is split between districts. A mailing address in it could be in either; the map or locate_point gives the district for an exact address.

Elected officials

OfficeMemberContactShare of residents
U.S. Representative (MD-06)April McClain Delaney (D)202-225-272146%
U.S. Representative (MD-03)Sarah Elfreth (D)202-225-401645%
U.S. Representative (MD-02)Johnny Olszewski, Jr. (D)202-225-30618.4%
U.S. Representative (MD-08)Jamie Raskin (D)202-225-53410.2%
U.S. SenatorAngela D. Alsobrooks (D)202-224-4524 · contact formstatewide
U.S. SenatorChris Van Hollen (D)202-224-4654 · contact formstatewide

Plus 15 state legislators across 8 districts. Look up an address for the exact ones.

Officials serving now (members of Congress until January 3, 2027). Sources: State legislators: Open States (public domain); Members of Congress: the @unitedstates project, congress-legislators (CC0).

Local government

State legislative districts

State senate districtShare of ZIP residents
State Senate District 555%
State Senate District 434%
State Senate District 911%
State Senate District 140.3%

State house districtShare of ZIP residents
State Legislative District 555%
State Legislative District 434%
State Legislative Subdistrict 9A11%
State Legislative District 140.3%

Voting precincts

15 voting precincts overlap ZIP 21771. Map them, with each precinct's share of the ZIP's residents.

Get this in your AI agent

Your agent can get these cities, counties, districts and precincts with their shares, and their GeoJSON boundaries, from Boundary Atlas. Add https://boundarymcp.com/mcp to Claude, ChatGPT, Cursor or Codex (free, no key; how), then:

related_geographies(id="us:zcta:21771")

ZIP 21771 here is the Census Bureau's ZIP Code Tabulation Area, which approximates the USPS ZIP Code; PO-box-only ZIPs have none. Districts are the maps in force for the November 3, 2026 election.