Elections
In May 2017, Harder announced his candidacy, joining three other Democrats to challenge Republican Jeff Denham, who had represented California's 10th congressional district since 2013 and represented the 19th district from 2011 to 2013. As a result of California's top-two primary system, Denham and Harder advanced to the general election, with Denham taking 37.5% of the primary vote and Harder 16.7%.
California's 10th district was included on the list of Republican-held seats being targeted by the Democratic Congressional Campaign Committee in 2018. On election night and for days after the election, Denham led in the reported results. On November 9, Harder pulled ahead as absentee ballots were counted. Days later, news outlets projected Harder's victory, and on November 14, Denham conceded.
Harder ran for reelection in 2020, finishing first in the top-two open primary with 44% of the vote. He bested Republican opponents Ted Howze and Bob Elliott. Harder and Howze advanced to the general election on November 3, which Harder won with 55.2% of the vote to Howze's 44.8%. In 2020, former president Barack Obama endorsed Harder.
Following redistricting, Harder defeated San Joaquin County Supervisor Tom Patti, a Republican, with 56% of the vote in California's 9th congressional district.
In the 2024 general election, Harder defeated Republican Kevin Lincoln with 51.8% of the vote, or approximately 9,000 votes.
Lincoln initially announced a rematch against Harder in July 2025. California voters approved Proposition 50, a mid-decade redistricting measure redrew the state's maps, including for the 9th district. The changes have made the district a "Solid Democratic" seat, with Democratic voter registration in the district rising from 40% to 46% and the Cook Partisan Voting Index became D+8. Two days after Proposition 50's passage, Lincoln announced that he was running against Adam Gray in the 13th district instead.
In the June 2026 top-two primary, Harder finished first with 60.8% of the vote. He faces Republican John McBride in November.