# 2024 Pennsylvania elections

"none" is preferred when the title is already sufficiently detailed; see [[WP:SDNONE]]
Elections in Pennsylvania :
Federal government
U.S. President
1789
1792
1796
1800
1804
1808
1812
1816
1820
1824
1828
1832
1836
1840
1844
1848
1852
1856
1860
1864
1868
1872
1876
1880
1884
1888
1892
1896
1900
1904
1908
1912
1916
1920
1924
1928
1932
1936
1940
1944
1948
1952
1956
1960
1964
1968
1972
1976
1980
1984
1988
1992
1996
2000
2004
2008
2012
2016
2020
2024
Presidential primaries
Democratic
2000
2004
2008
2016
2020
2024
Republican
2008
2016
2020
2024
U.S. Senate
1788
1791
1793 sp
1794 sp
1795
1796
1797
1801
1801 sp
1802
1806
1808
1808 sp
1809 sp
1812
1814
1814 sp
1818
1820
1824
1826
1830
1831 sp
1832
1834 sp
1836
1840 sp
1843
1845
1845 sp
1849
1851
1856
1857
1861
1861 sp
1863
1867
1869
1873
1875
1877 sp
1879
1881
1885
1887
1891
1893
1897
1899
1901 sp
1903
1905
1905 sp
1908
1909
1909 sp
1911
1914
1916
1920
1922
1922 sp
1926
1928
1930 sp
1932
1934
1938
1940
1944
1946
1950
1952
1956
1958
1962
1964
1968
1970
1974
1976
1980
1982
1986
1988
1991 sp
1992
1994
1998
2000
2004
2006
2010
2012
2016
2018
2022
2024
2028
U.S. House of Representatives
1788
1791
1792
1794
1796
5th sp
1797
5th sp
1798
1st sp
4th sp
1800
8th sp
1801
4th sp
8th sp
12th sp
1802
1804
10th sp
1805
4th sp
11th sp
1806
1st sp
1808
1st sp
1809
1st sp
1810
1812
1813
3rd sp
5th sp
7th sp
13th sp
15th sp
1814
2nd sp
3rd sp
1815
1st sp
3rd sp
9th sp
1816
9th sp
1817
10th sp
1818
4th sp
6th sp
1820
5th sp
7th sp
1821
5th sp
10th sp
1822
1st sp
6th sp
7th sp
14th sp
1824
8th sp
13th sp
1825
16th sp
1826
2nd sp
7th sp
13th sp
18th sp
1827
2nd sp
1828
1829
8th sp
16th sp
1830
1831
11th sp
1832
1833
1st sp
1834
1836
13th sp
24th sp
1837
3rd sp
1838
9th sp
1839
14th sp
1840
13th sp
22nd sp
1841
2nd sp
13th sp
20th sp
18th sp
Jun
Dec
1842
17th sp
21st sp
1843
1844
12th sp
13th sp
21st sp
1846
1848
6th sp
1850
11th sp
15th sp
1852
1854
8th sp
1856
1857
12th sp
1858
8th sp
1860
8th sp
1861
2nd sp
12th sp
1862
7th sp
1864
1866
1867
12th sp
1868
9th sp
20th sp
1870
1872
13th sp
1874
23rd sp
1876
12th sp
1878
1880
1882
1884
19th sp
1885
19th sp
1886
1888
1890
3rd sp
4th sp
1892
1893
2nd sp
8th sp
1894
at-large sp
1895
15th sp
1896
1897
25th sp
1898
23rd sp
1899
9th sp
1900
5th sp
1901
10th sp
1902
17th sp
1903
4th sp
1904
3rd sp
1906
2nd sp
3rd sp
12th sp
1907
2nd sp
1908
1910
1911
2nd sp
14th sp
1912
1st sp
1914
1916
1917
28th sp
1918
1919
22nd sp
1920
3rd sp
1921
at-large sp
1922
1924
1926
1927
1st sp
1928
8th sp
1929
12th sp
1930
1931
2nd sp
1932
6th sp
18th sp
20th sp
1933
9th sp
1934
1936
1937
18th sp
1938
1939
4th sp
1940
1941
15th sp
1942
11th sp
12th sp
33rd sp
1943
2nd sp
23rd sp
1944
2nd sp
17th sp
1946
10th sp
23rd sp
33rd sp
1947
8th sp
1948
1949
22nd sp
26th sp
1950
1951
8th sp
14th sp
33rd sp
1952
1954
1956
2nd sp
30th sp
1957
13th sp
1958
4th sp
21st sp
1960
17th sp
18th sp
1961
16th sp
1962
1963
15th sp
23rd sp
1964
5th sp
1966
1968
1970
9th sp
1971
18th sp
1972
27th sp
1974
12th sp
1976
1st sp
1978
1980
11th sp
12th sp
1981
3rd sp
1982
1984
1986
1988
1990
1991
2nd sp
1992
1994
1996
1998
1st sp
2000
2001
9th sp
2002
2004
2006
2008
2010
12th sp
2012
2014
2016
2nd sp
2018
7th sp
15th sp
18th sp
2019
12th sp
2020
2022
2024 :
State government
Governor
1790
1793
1796
1799
1802
1805
1808
1811
1814
1817
1820
1823
1826
1829
1832
1835
1838
1841
1844
1847
1848
1851
1854
1857
1860
1863
1866
1869
1872
1875
1878
1882
1886
1890
1894
1898
1902
1906
1910
1914
1918
1922
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
2026
Lieutenant Governor
1874
1878
1882
1886
1890
1894
1898
1902
1906
1910
1914
1918
1922
1926
1930
1934
1938
1942
1946
1950
1954
1958
1962
1966
1970
1974
1978
1982
1986
1990
1994
1998
2002
2006
2010
2014
2018
2022
Attorney General
1980
1984
1988
1992
1996
2000
2004
2008
2012
2016
2020
2024
Auditor General
2000
2004
2008
2012
2016
2020
2024
State Treasurer
2000
2004
2008
2012
2016
2020
2024
State Senate
2000
2002
2004
2006
2008
2010
2012
2014
2016
2018
2020
2022
2024
State House of Representatives
2000
2002
2004
2006
2008
2010
2012
2014
2016
2018
2020
2022
2024 :
Elections by year
State elections
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025 :
Philadelphia
Mayoral elections
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1856
1858
1860
1862
1865
1868
1871
1874
1877
1881
1884
1887
1891
1895
1899
1903
1907
1911
1915
1919
1923
1927
1931
1935
1939
1943
1947
1951
1955
1959
1963
1967
1971
1975
1979
1983
1987
1991
1995
1999
2003
2007
2011
2015
2019
2023
City Council elections
1951
1954 sp.
1955
1959
1963
2015
2019
2022–23 sp.
2023
Other municipal elections
1951
1953
1955
1957
1959
1961
1963
2023 :
Pittsburgh
Mayors
1909
1913
1917
1921
1925
1929
1933
1937
1941
1945
1949
1953
1957
1959
1961
1965
1969
1973
1977
1981
1985
1989
1993
1997
2001
2005
2007
2009
2013
2017
2021
2025 :
Allentown
Mayors
1977
1981
1985
1989
1993
1997
2001
2005
2009
2013
2017
2019 sp
2021
2025 :
Lancaster
Mayors
2009
2017
2021
2025 :
Harrisburg
Mayors
1969
1973
1977
1981
1985
1989
1993
1997
2001
2005
2009
2013
2017
2021
2025 :
Government :
vte :
The 2024 Pennsylvania elections took place on November 5, 2024. On that date, the Commonwealth of Pennsylvania held elections for the following offices: President of the United States, U.S. Senate, U.S. House of Representatives, Pennsylvania State Senate, Pennsylvania House of Representatives, and various others.
The Pennsylvania Republican Party had a highly successful election, winning every statewide race at both the federal and state levels. They also defeated two Democratic incumbents, Susan Wild and Matt Cartwright, in the 7th and 8th congressional districts, respectively, securing a 10–7 majority in Pennsylvania's House delegation. However, while Republicans retained control of the state Senate, Democrats maintained control of the state House while losing the popular vote.
The counties of Philadelphia, Montgomery and Bucks voted to count hundreds of misdated or undated ballots despite court ruling to the contrary. The Pennsylvania Supreme Court enforced the rare King's Bench power to intervene.

## Federal offices
### President and Vice President of the United States

Incumbent Democratic vice president Kamala Harris and governor of Minnesota Tim Walz were defeated by the Republican ticket, former President Donald Trump and United States senator and Marine Corps veteran JD Vance. Trump won Pennsylvania with 50.37% of the vote to Harris's 48.66%.
Trump's victory comes after he was successfully able to flip key counties in the state, including Bucks County, Erie County, Monroe County, and Northampton County. He is furthermore the first presidential candidate to have the most votes cast for him in the state, overcoming the record held by Joe Biden.

### U.S. Senate

Republican Dave McCormick defeated three-term incumbent Democratic senator Bob Casey Jr. in an upset victory. McCormick won with 48.82% of the vote to Casey's 48.60%.
This was Pennsylvania's closest Senate election since the passage of the Seventeenth Amendment, as well as the closest Senate election of the 2024 cycle.

### U.S. House of Representatives

All 17 congressional districts in the United States House of Representatives from Pennsylvania were up for election in 2024, in which Republicans were successfully able to flip two congressional districts.
Republican challenger Rob Bresnahan was successful in defeating six-term Democratic representative Matt Cartwright in the 8th congressional district. In the 7th congressional district, Democratic representative Susan Wild was defeated by Republican state representative Ryan Mackenzie. The two defeats resulted in Republicans flipping control of the state's delegation to Congress in favor of Republicans.

## State offices
### Executive offices
#### Attorney general

Attorney General Josh Shapiro, who was re-elected in 2020, was ineligible to seek a third term in 2024 due to term limits. However, Shapiro was elected governor in 2022 and resigned as Attorney General upon being sworn in. Michelle Henry was confirmed by the Pennsylvania State Senate on March 8, 2023 to serve out the remainder of Shapiro's term, and has indicated she will not seek election to a full term. On April 23, 2024, Democrat Eugene DePasquale and Republican Dave Sunday won their respective primaries to advance to the general election.

#### Treasurer

Incumbent Republican treasurer Stacy Garrity was elected in 2020 and sought a second term. On April 23, 2024, Garrity and Democrat Erin McClelland won their respective primaries to advance to the general election.

#### Auditor General

Incumbent Republican Auditor General Timothy DeFoor was elected in 2020 and will seek a second term. On April 23, 2024, state representative Malcolm Kenyatta and DeFoor won their respective primaries to advance to the general election.

### Pennsylvania Senate

In the 2024 general election, 25 of 50 seats (the odd-numbered districts) in the Pennsylvania Senate were up for election, with Republicans maintaining their advantage.

### Pennsylvania House of Representatives

In the 2024 general election, all 203 seats in the Pennsylvania House of Representatives were up for election. The Democrats held the chamber by an unchanged 102-101 margin.