Boundary Atlas

ZIP code 17840: Locust Gap, PA

ZIP code 17840 is in Locust Gap (88% of residents), in Northumberland County, Pennsylvania. 12% of its residents live outside city limits. It is in Pennsylvania's 9th congressional district. Its state senate district is State Senate District 27; its state house district is State House District 107.

295residents (2020 Census)
2.0 sq miland area
1cities and towns
1congressional district
2voting precincts

See it on the mapAll of Pennsylvania

City and county

City or townShare of ZIP residents
Locust Gap88%

CountyShare of ZIP residents
Northumberland County100%

Town or county subdivisionShare of ZIP residents
Mount Carmel township100%

Congressional district

Congressional districtShare of ZIP residents
Pennsylvania's 9th congressional district (PA-09)100%

State legislative districts

State senate districtShare of ZIP residents
State Senate District 27100%

State house districtShare of ZIP residents
State House District 107100%

Voting precincts

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

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