The 2025 Pittsburgh mayoral election was held on November 4, 2025, with a primary election held on May 20, 2025. Incumbent Democratic mayor Ed Gainey ran for re-election to a second term as mayor but lost in the Democratic primary to challenger Corey O'Connor, who later won the election.
Ed Gainey was first elected in 2021, winning 70.8% of the vote against Republican Tony Moreno. Gainey was considered to be at risk of losing the Democratic primary to challenger Corey O'Connor. O'Connor was heavily favored to win the general election; Pittsburgh has not elected a Republican mayor since 1929.