1978 US House election in Massachusetts 5
| Candidate / ballot line | Party | Votes | % |
|---|---|---|---|
| James Shannon | Democratic | 90,156 | 52.21% |
| John J Buckley | Republican | 48,685 | 28.19% |
| James J Gaffney III | INDEPENDENT | 33,835 | 19.59% |
| OTHERnot a candidate | — | 5 | 0.00% |
| Total votes as reported | 172,681 |