The 2022 Pennsylvania gubernatorial election was held on November 8, 2022, to elect the governor of Pennsylvania and lieutenant governor of Pennsylvania. Democratic state attorney general Josh Shapiro defeated Republican state senator Doug Mastriano in a landslide victory to succeed term-limited incumbent Democratic governor Tom Wolf. Primaries were held on May 17, 2022. Shapiro won the Democratic nomination after running unopposed and Mastriano won the Republican nomination with 44% of the vote. Mastriano's nomination drew attention due to his far-right political views. Shapiro defeated Mastriano by almost 15 points, a margin consistent with most polls. Shapiro scored the largest margin for a non-incumbent candidate for governor since 1946, and his victory marked the first time since 1844 that the Democratic Party won three consecutive gubernatorial elections in Pennsylvania. Shapiro also made history by earning the most votes of any gubernatorial candidate in the state's history, garnering just over three million votes. Austin Davis was elected Lieutenant Governor, and became the second African-American elected to statewide office in the state's history, following Timothy DeFoor in 2020. Shapiro's large margin of victory has been widely credited with helping down-ballot Democrats in concurrent elections. Democratic primary Governor Campaign Pennsylvania Attorney General Josh Shapiro ran unopposed and was described as the Democratic Party's presumptive nominee by The Philadelphia Inquirer and the Pennsylvania Capital-Star early in the campaign, with the Capital-Star reporting that efforts to recruit a primary challenger to the left of Shapiro (who is considered a progressive by the paper) had failed. Candidates Nominee Josh Shapiro, Pennsylvania Attorney General (2017–2023), former member of the Montgomery County Board of Commissioners (2012–2017), former state representative for HD-153 (2005–2012) Failed to qualify for ballot access Tega Swann, Christian minister Declined Brendan Boyle, U.S. representative for Pennsylvania's 2nd congressional district (2019present) and former U.S. representative for Pennsylvania's 13th congressional district (20152019) (running for re-election) John Fetterman, Lieutenant Governor of Pennsylvania (2019–2023), candidate for the U.S. Senate in 2016 (ran for the U.S. Senate) Jim Kenney, mayor of Philadelphia (2016present) Sara Innamorato, state representative for the 21st legislative district (2019present) Joe Torsella, former Pennsylvania state treasurer (2017–2021) Endorsements Results Lieutenant governor Candidates Nominee Austin Davis, state representative from the 35th district (2018–present) Eliminated in primary Brian Sims, state representative from the 182nd district (2012–present) Ray Sosa, candidate for lieutenant governor of Pennsylvania in 2018 Declined Elizabeth Fiedler, state representative for the 184th legislative district (2019present) David Highfield, LGBT