2018 US House election in Texas 31
| Candidate / ballot line | Party | Votes | % |
|---|---|---|---|
| John Carter | Republican | 144,680 | 50.59% |
| M. J. Hegar | Democratic | 136,362 | 47.68% |
| Jason Hope | Libertarian | 4,965 | 1.74% |
| Total votes as reported | 286,007 |
| Candidate / ballot line | Party | Votes | % |
|---|---|---|---|
| John Carter | Republican | 144,680 | 50.59% |
| M. J. Hegar | Democratic | 136,362 | 47.68% |
| Jason Hope | Libertarian | 4,965 | 1.74% |
| Total votes as reported | 286,007 |