2018 US House election in Maryland 5
| Candidate / ballot line | Party | Votes | % |
|---|---|---|---|
| Steny Hoyer | Democratic | 213,796 | 70.28% |
| William A Devine III | Republican | 82,361 | 27.07% |
| Patrick J Elder | Green | 4,082 | 1.34% |
| Jacob Pulcher | Libertarian | 3,592 | 1.18% |
| WRITEINnot a candidate | — | 378 | 0.12% |
| Total votes as reported | 304,209 |