The 1977 Ashfield by-election was held on 28 April 1977 in the Ashfield constituency in the coal mining area of Nottinghamshire, following the resignation of Labour Member of Parliament David Marquand. Conservative candidate Tim Smith was the narrow winner in what was thought to have been a very safe Labour seat.