Boundary Atlas

ZIP code 02140: Cambridge, MA

ZIP code 02140 is in Cambridge, in Middlesex County, Massachusetts. It is in Massachusetts's 7th congressional district (56%) and Massachusetts's 5th congressional district (44%). Its state senate district is Second Middlesex District; its state house districts are 29th Middlesex District (47%), 25th Middlesex District (30%), 24th Middlesex District (23%) and 27th Middlesex District (0.2%).

21,447residents (2020 Census)
1.2 sq miland area
2cities and towns
2congressional districts
9voting precincts

See it on the mapAll of Massachusetts

City and county

City or townShare of ZIP residents
Cambridge100%
Somerville0.2%

CountyShare of ZIP residents
Middlesex County100%

Town or county subdivisionShare of ZIP residents
Cambridge city100%
Somerville city0.2%

Congressional districts

Congressional districtShare of ZIP residents
Massachusetts's 7th congressional district (MA-07)56%
Massachusetts's 5th congressional district (MA-05)44%

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-07)Ayanna Pressley (D)202-225-511156%
U.S. Representative (MA-05)Katherine M. Clark (D)202-225-283644%
U.S. SenatorEdward J. Markey (D)202-224-2742 · contact formstatewide
U.S. SenatorElizabeth Warren (D)202-224-4543 · contact formstatewide
State Senator (Second Middlesex District)Pat Jehlen (Democratic)100%
State Representative (29th Middlesex District)Steve Owens (Democratic)47%
State Representative (25th Middlesex District)Marjorie Decker (Democratic)30%
State Representative (24th Middlesex District)Dave Rogers (Democratic)23%
State Representative (27th Middlesex District)Erika Uyterhoeven (Democratic)0.2%

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

State house districtShare of ZIP residents
29th Middlesex District47%
25th Middlesex District30%
24th Middlesex District23%
27th Middlesex District0.2%

Voting precincts

9 voting precincts overlap ZIP 02140. 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:02140")

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