Ted Cruz won with 50.9% of the vote (4,260,553 votes), ahead of Beto O'Rourke with 48.3% (4,045,632 votes).
The margin between the first two candidates was 2.6 percentage points (214,921 votes). The party margin (Republican share minus Democratic share) was a Republican lead of 2.6 points.
Compared with the previous comparable race in the same area, the party margin moved 24.6 points toward Democrats.
8,371,655 votes were counted in this race, for 3 candidates or options.
More races: all races, candidates and analysis.