ZIP code 59840 is in Hamilton (33% of residents), in Ravalli County, Montana. 67% of its residents live outside city limits. It is in Montana's 1st congressional district. Its state senate districts are State Senate District 43 (92%) and State Senate District 44 (8.5%); its state house districts are State House District 86 (76%), State House District 85 (15%) and State House District 87 (8.5%).
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).
11 voting precincts overlap ZIP 59840.
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:59840")
ZIP 59840 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.