Boundary Atlas

ZIP code 08540: Princeton, NJ

ZIP code 08540 is in Princeton (48% of residents), Heathcote (6.0%), Ten Mile Run (4.0%), Kingston (2.5%), Griggstown (1.7%) and Princeton Junction (1.5%), in Mercer County (70%), Somerset County (16%) and Middlesex County (14%), New Jersey. 37% of its residents live outside city limits. It is in New Jersey's 12th congressional district (97%) and New Jersey's 3rd congressional district (2.5%). Its state senate districts are State Senate District 16 (65%), State Senate District 15 (23%), State Senate District 17 (6.9%) and State Senate District 14 (5.1%); its state house districts are Assembly District 16 (65%), Assembly District 15 (23%), Assembly District 17 (6.9%) and Assembly District 14 (5.1%).

48,216residents (2020 Census)
51.7 sq miland area
8cities and towns
2congressional districts
43voting precincts

See it on the mapAll of New Jersey

City and county

City or townShare of ZIP residents
Princeton48%
Heathcote6.0%
Ten Mile Run4.0%
Kingston2.5%
Griggstown1.7%
Princeton Junction1.5%
East Rocky Hill1.0%
Kendall Park0.1%

CountyShare of ZIP residents
Mercer County70%
Somerset County16%
Middlesex County14%

Town or county subdivisionShare of ZIP residents
Princeton48%
West Windsor township18%
Montgomery township9.0%
South Brunswick township8.8%
Franklin township6.9%
Plainsboro township5.1%
Lawrence township2.5%
Hopewell township2.4%

Congressional districts

Congressional districtShare of ZIP residents
New Jersey's 12th congressional district (NJ-12)97%
New Jersey's 3rd congressional district (NJ-03)2.5%

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.

State legislative districts

State senate districtShare of ZIP residents
State Senate District 1665%
State Senate District 1523%
State Senate District 176.9%
State Senate District 145.1%

State house districtShare of ZIP residents
Assembly District 1665%
Assembly District 1523%
Assembly District 176.9%
Assembly District 145.1%

Voting precincts

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

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