2022Final results
2022 election for Pennsylvania Governor
Governor · Pennsylvania
Josh Shapiro (D) won with 56.5% of the vote, defeating Doug Mastriano (R) by 14.8 points.
Josh ShapiroDemocrat · winner
56.5%3,031,032
Doug MastrianoRepublican
41.7%2,238,337
Jonathan Matthew HackenburgLibertarian
1.0%51,607
Christina Pk DigiulioOther party
0.5%24,436
Joseph P. SoloskiOther party
0.4%20,517
5,365,929 votes
Source: MIT Election Data and Science LabUpdated Oct 2, 2026, 5:14 AM ET
The seat over time
D − R margin in this seat's races around 2022
Races before and after
Source: MIT Election Data and Science LabUpdated Oct 2, 2026, 5:14 AM ET
The candidates
Josh Shapiro (D)Doug Mastriano (R)
Also on the ballot: Jonathan Matthew Hackenburg (Libertarian), 1.0%; Christina Pk Digiulio (Other party), 0.5%; Joseph P. Soloski (Other party), 0.4%