Pennsylvania
President
| Carried by | Runner-up | |||||
|---|---|---|---|---|---|---|
| Year | Candidate | % | Candidate | % | Electors | Total votes |
| 2024 | Donald Trump | 50.37% | Kamala Harris | 48.66% | 19 | 7,034,206 |
| 2020 | Joe Biden | 50.01% | Donald Trump | 48.84% | 20 | 6,915,283 |
| 2016 | Donald Trump | 48.58% | Hillary Clinton | 47.85% | 20 | 6,115,402 |
| 2012 | Barack Obama | 52.08% | Mitt Romney | 46.68% | 20 | 5,742,040 |
| 2008 | Barack Obama | 54.49% | John McCain | 44.17% | 21 | 6,013,272 |
| 2004 | John Kerry | 50.92% | George W. Bush | 48.42% | 21 | 5,769,590 |
| 2000 | Al Gore | 50.61% | George W. Bush | 46.44% | 23 | 4,912,185 |
| 1996 | Bill Clinton | 49.23% | Bob Dole | 40.01% | 23 | 4,501,307 |
| 1992 | Bill Clinton | 45.15% | George H. W. Bush | 36.13% | 23 | 4,959,810 |
| 1988 | George H. W. Bush | 50.70% | Michael Dukakis | 48.39% | 25 | 4,536,251 |
| 1984 | Ronald Reagan | 53.34% | Walter Mondale | 45.99% | 25 | 4,844,903 |
| 1980 | Ronald Reagan | 49.59% | Jimmy Carter | 42.48% | 27 | 4,561,501 |
| 1976 | Jimmy Carter | 50.40% | Gerald Ford | 47.73% | 27 | 4,620,787 |