Cornyn was reelected to a fourth term in 2020 in the closest of his Senate campaigns. He won the primary with 76% of the vote and then defeated Democrat MJ Hegar in a race that Cook Political rated "Lean Republican". Cornyn received more votes, 5,962,983, than any Republican Senate candidate had ever received before, breaking the record set by Pete Wilson of California in 1988. Hegar also set a record, getting more votes than any losing Democrat since Leo T. McCarthy in the 1988 California Senate race.