A by-election for the seat of York in the Legislative Assembly of Western Australia was held on 21 November 1942. It was triggered by the resignation of Charles Latham (the Country Party leader and leader of the opposition) on 7 October 1942, to take up an appointment to the Senate. The Country Party retained the seat, with Charles Perkins winning by just 40 votes on the two-candidate-preferred count.