The Hamilton by-election in Hamilton, Lanarkshire, Scotland, was held on 2 November 1967. It saw a surprise victory for the Scottish National Party candidate Winnie Ewing. The SNP took 46% of the vote in a constituency which they had not even contested at the 1966 general election held the previous year, and gained the seat from the Labour Party with a swing of nearly 38%. Ewing did not retain the seat at the following general election, but the SNP have been continuously represented in the House of Commons ever since.