Boundary Atlas

ZIP code 01731: Hanscom AFB, MA

ZIP code 01731 is in Hanscom AFB (97% of residents) and Lexington (1.2%), in Middlesex County, Massachusetts. It is in Massachusetts's 5th congressional district (93%) and Massachusetts's 6th congressional district (6.6%). Its state senate district is Third Middlesex District; its state house districts are 14th Norfolk District (92%), 21st Middlesex District (6.6%) and 15th Middlesex District (1.2%).

1,555residents (2020 Census)
2.3 sq miland area
2cities and towns
2congressional districts
5voting precincts

See it on the mapAll of Massachusetts

City and county

City or townShare of ZIP residents
Hanscom AFB97%
Lexington1.2%

CountyShare of ZIP residents
Middlesex County100%

Town or county subdivisionShare of ZIP residents
Lincoln town92%
Bedford town6.6%
Lexington town1.2%
Concord townland only

Congressional districts

Congressional districtShare of ZIP residents
Massachusetts's 5th congressional district (MA-05)93%
Massachusetts's 6th congressional district (MA-06)6.6%
Massachusetts's 3rd congressional district (MA-03)land only

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 (MA-05)Katherine M. Clark (D)202-225-283693%
U.S. Representative (MA-06)Seth Moulton (D)202-225-80206.6%
U.S. Representative (MA-03)Lori Trahan (D)202-225-3411<0.1%
U.S. SenatorEdward J. Markey (D)202-224-2742 · contact formstatewide
U.S. SenatorElizabeth Warren (D)202-224-4543 · contact formstatewide
State Senator (Third Middlesex District)Mike Barrett (Democratic)100%
State Representative (14th Norfolk District)Alice Peisch (Democratic)92%
State Representative (21st Middlesex District)Ken Gordon (Democratic)6.6%
State Representative (15th Middlesex District)Michelle Ciccolo (Democratic)1.2%
State Representative (13th Middlesex District)Carmine Gentile (Democratic)<0.1%

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
Third Middlesex District100%

State house districtShare of ZIP residents
14th Norfolk District92%
21st Middlesex District6.6%
15th Middlesex District1.2%
13th Middlesex Districtland only

Voting precincts

5 voting precincts overlap ZIP 01731. 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://atlas-production-d344.up.railway.app/mcp to Claude, ChatGPT, Cursor or Codex (free, no key; how), then:

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

ZIP 01731 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.