This paper presents a notch filter based on recursive least-squares sinusoidal modelling. This gives analytical insight both into least-squares modelling of sine waves in noise and the use of constrained notch filters. Especially, the derived filter corresponds to a commonly used notch filter with constrained poles and zeros.