1977 Midlothian District Council election

The 1977 Midlothian District Council Election was held in May 1977, the same day as the other Scottish local government elections. This was the second election for the Midlothian District Council, and constituted the only time in the District Council's 21-year existence that Labour failed to win a majority of the seats. It would take 30 years, until the 2007 Midlothian Council election and the introduction of the use of STV in local elections, for the SNP to win as many councillors again in Midlothian.

In the ward of Bonnyrigg South, the SNP and Labour candidates tied for votes. As a result, the winner was decided by means of drawing cards. Robert Mathieson, the Labour candidate, drew a 10 of Diamonds, losing the seat to the SNP's Francis Rigby, who drew an Ace of Diamonds. With the loss of Bonnyrigg South, Labour were left with only 7 of the councils 15 seats, losing them control of the council.