18040 is a true toss-up. About 49% of voters here vote Democratic and 51% Republican.
About 86% of adults in 18040 typically vote, above the U.S. average of about 62%. Among adults in 18040, ~42% vote Democratic, ~44% Republican, and ~14% don't vote. The map below shows estimated turnout by block group.
How 18040 compares
Among zip codes within 15 miles, 18040 sits roughly in the middle of the political spectrum, with 7 neighbors leaning further in the place's direction and 18 leaning the other way.
Politically, 18040 sits close to the rest of Pennsylvania.
Politics vary noticeably by block within 18040. The west side runs the most Democratic (D+4) and the northeast side runs the most Republican (R+21), a spread of about 25 points.
Why 18040 leans the way it does
Density, race composition, education, and family structure all sit close to their national averages in 18040. The lean here lands roughly where demographic data alone would predict.
Cancer-screening access and voter turnout
Places with high colon-cancer-screening access tend to turn out at a higher rate; 18040, PA sits in the top quarter nationally on this measure. Cancer screening does not drive turnout; it reflects income, insurance, and healthcare access.
Why turnout in 18040 looks the way it does
Areas with strong routine healthcare access turn out at higher rates. 18040 is in the top quarter nationally for routine-care measures such as insurance coverage, preventive screenings, and dental visits. The dental-visit rate here is about 70%, about 10 points above the U.S. average of 60%. Homeowners vote more often than renters, and about 91% of households in 18040 own their home, compared to around 75% in nearby zip codes. Learn more about the findings and methodology on the political spectrum map.
Nearby Zip Codes
Zip Codes with Similar Populations
Sources and methodology
Precinct-level voting records used to fit the model come from Pennsylvania Department of State, Bureau of Elections, distributed by the Voting and Election Science Team. Demographic inputs come from the U.S. Census Bureau (ACS 5-year estimates and the 2020 Decennial Census). Health and environmental inputs come from the CDC (PLACES and the Environmental Justice Index). Land cover comes from the USGS and EPA. Election-day and lead-up weather come from PRISM 4km daily grids and the NOAA Global Historical Climatology Network. Mail-voting and election-administration patterns come from the MIT Election Lab's Survey of the Performance of American Elections. Block-group crime detail comes from CrimeGrade. Internet data and modeling support provided by ISPreports.org.
Modeling and analysis by the BestNeighborhood data science team. Full methodology and findings: political spectrum map.
Methodology reviewed by the BestNeighborhood data team. Last updated May 2026.