The Dunfermline and West Fife by-election in Dunfermline and West Fife Scotland was held on 9 February 2006 following the death of sitting Labour MP Rachel Squire on 6 January. The by-election was the first seat to change hands in the 2005 Parliament when Willie Rennie won the seat for the Liberal Democrats a gain from Labour by 1800 votes.