Boundary Atlas

ZIP code 17872: Shamokin, PA

ZIP code 17872 is in Shamokin (75% of residents) and Trevorton (3.1%), in Northumberland County, Pennsylvania. 22% 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.

9,223residents (2020 Census)
43.0 sq miland area
3cities and towns
1congressional district
16voting precincts

See it on the mapAll of Pennsylvania

City and county

City or townShare of ZIP residents
Shamokin75%
Trevorton3.1%
Marshallton0.3%

CountyShare of ZIP residents
Northumberland County100%

Town or county subdivisionShare of ZIP residents
Shamokin city75%
East Cameron township6.8%
West Cameron township5.4%
Ralpho township4.3%
Zerbe township3.5%
Shamokin township2.7%
Little Mahanoy township1.7%
Coal township0.4%

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

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

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