2005 General Election - Midlothian
| Year | 2005 |
| General election | 2005 General Election |
| Constituency | Midlothian |
| Turnout | 62.2% |
Results
| Candidate | Party | Votes |
| Hamilton, David | Labour | 17,153 |
| Mackintosh, Fred | Liberal Democrats | 9,888 |
| Beattie, Colin | SNP | 6,400 |
| McGill, Iain | Conservative | 3,537 |
| Gilfillan, Norman | Scottish Socialist | 726 |