June 2026 residential building permits data releasedExplore

Presidential elections · 19762024

Pennsylvania Presidential Election Results (19762024)

In 2024, Pennsylvania voted for Donald J. Trump (Republican) by R+1.7 3,423,042 Democratic to 3,543,308 Republican of 7,034,206 votes cast. It last voted Democratic in 2020.

Data: MIT Election Data & Science Lab, Harvard Dataverse.

2024 margin
R+1.7
Donald J. Trump
2024 votes cast
7,034,206
Last voted Democratic
2020
D+1.2
Closest election
2016
R+0.7

Margin by election, 19762024

Democratic minus Republican, in points of all votes cast — blue bars Democratic, red Republican.

D+2.71976R+7.11980R+7.41984R+2.31988D+9.01992D+9.21996D+4.22000D+2.52004D+10.32008D+5.42012R+0.72016D+1.22020R+1.72024

2024 margin by county

2024 margin by countyMargin of victory · by county
Loading map…
More RepublicanMore Democratic

Click a county to see its election results. Hatched areas have no county-level results.

Analyze these results your way

Build your own tables of margins, swings, and vote shares — any mix of states and counties, any election back to 1976.

Pennsylvania presidential elections — FAQ

Who carried Pennsylvania in the 2024 presidential election?+

Donald J. Trump (Republican) carried Pennsylvania in 2024 by R+1.7, with 7,034,206 votes cast statewide. Data: MIT Election Data & Science Lab.

When did Pennsylvania last vote for a Democratic presidential candidate?+

Pennsylvania last voted Democratic in 2020, when it went D+1.2. It has voted Republican in every presidential election since.

Which Pennsylvania county had the biggest 2024 margin?+

Fulton County had the widest 2024 presidential margin of any Pennsylvania county — R+72.6 on 8,177 votes cast.

What was Pennsylvania's closest presidential election since 1976?+

2016: the margin was R+0.7 — 44,292 votes out of 6,115,402 cast.

Analyze Pennsylvania election results

Chart margins, vote shares, and swings for Pennsylvaniaand its counties — or line states up side by side. Free while we're in beta.

Who lives here: Pennsylvania census profile — income, demographics, education, and housing for the state and every neighborhood-scale area, from the Census ACS.

Other states