Twin-T Notch Filter: Kill 50 Hz Mains Hum Without Touching the Rest of the Audio

Author: Abloom Instruction Date: November 21, 2026

A 50 Hz hum from the mains gets into almost every audio circuit — through power supplies, ground loops and long cables — and a normal low-pass filter cannot remove it without also cutting the bass. A notch filter does the opposite of what most filters do: it passes almost everything and removes just one frequency. The twin-T notch is the classic way to build one, with only resistors and capacitors. This article designs one for 50 Hz and works out the numbers.

Schematic of a twin-T notch filter with two 31.8 kilo-ohm resistors and a 200 nanofarad shunt capacitor in the upper T, two 100 nanofarad capacitors and a 15.9 kilo-ohm shunt resistor in the lower T, beside a plot showing a deep gain notch at 50 hertz and almost no loss at other frequencies

Figure 1: A twin-T notch filter (a) — the two T networks cancel exactly at f0. The response (b) shows a deep notch at 50 Hz and almost no loss elsewhere. (Schematic, not to scale.)

How it works — the formula

The circuit is two T networks in parallel between input and output. The upper T is a low-pass network — R, R, with a shunt capacitor of 2C to ground from the middle — and the lower T is a high-pass network — C, C, with a shunt resistor of R/2 to ground from the middle. At most frequencies one path or the other carries the signal through. But at one frequency the two paths deliver signals of equal size and opposite phase to the output, and they cancel exactly. That frequency is:

f0 = 1 / (2Ï€RC)

The full transfer function (with no load on the output) is:

H(s) = (1 + (s/ω0)²) / (1 + 4(s/ω0) + (s/ω0)²),   ω0 = 1/RC

At s = jω0 the numerator is 1 − 1 = 0, so the output is zero — a perfect notch, in theory. Away from f0 the gain returns to 1 (0 dB). The notch is not very sharp: the passive twin-T has a Q of only 0.25, so it also bites into the frequencies around the notch.

Worked example — a 50 Hz notch

Choose C = 100 nF and solve for R:

R = 1 / (2Ï€ × f0 × C) = 1 / (2 × 3.1416 × 50 × 100 × 10−9) = 31.8 kΩ

so the shunt capacitor is 2C = 200 nF and the shunt resistor is R/2 = 15.9 kΩ. The notch frequency is then:

f0 = 1 / (2Ï€ × 31.8 kΩ × 100 nF) = 50.05 Hz

— the mains frequency, to within 0.1%. The response around it, from the transfer function above, is:

Frequency5 Hz10 Hz25 Hz50 Hz100 Hz500 Hz5 kHz
Gain−0.66 dB−2.29 dB−9.1 dB−∞ (0)−9.1 dB−0.66 dB−0.01 dB

So a 100 Hz tone — the second harmonic of the hum, and also a real bass note — is cut by 9.1 dB, and even 10 Hz is down 2.29 dB. The −3 dB points are at 11.8 Hz and 212 Hz, a bandwidth of 200 Hz, which gives Q = f0 / BW = 50 / 200 = 0.25. That is the price of the passive circuit: it kills the hum, but it takes a 200 Hz bite out of the audio around it. For speech or measurement work that is often acceptable; for hi-fi it is not.

The catch — the notch is only as deep as the parts are matched

The perfect zero at f0 depends on the two T networks being exact mirror images. Real parts are not. If one resistor is 1% off, the cancellation is incomplete and the notch bottoms out at about −54 dB instead of minus infinity; with 5% parts it is only about −40 dB. That is still a big cut — −40 dB is 100 times smaller in voltage — but it shows why this circuit wants 1% resistors and capacitors, or a trimmer to tune one resistor while watching the output. Two more practical points: the circuit must be buffered — a load on the output changes the response, so follow it with an op-amp voltage follower — and the nearest standard resistor to 31.8 kΩ is 33 kΩ, which moves the notch to 48.2 Hz. That is fine here, because the notch is 200 Hz wide at −3 dB; a 1.8 Hz shift barely matters. For a sharper notch, feed part of the output back to the junction of the two T networks: with a feedback factor k the Q becomes 1 / (4(1 − k)), so k = 0.9 gives Q = 2.5 and a bandwidth of only 20 Hz, as the dashed curve in Figure 1 shows — but keep k below 1, or the circuit oscillates.

Designing for 60 Hz mains

In countries with 60 Hz mains, keep C = 100 nF and solve for R again:

R = 1 / (2Ï€ × 60 × 100 × 10−9) = 26.5 kΩ

giving f0 = 1 / (2Ï€ × 26.5 kΩ × 100 nF) = 60.1 Hz. The shunt parts become 2C = 200 nF and R/2 = 13.3 kΩ, and everything else — the −9.1 dB at half and twice the notch frequency, the 200 Hz bandwidth scaled to 240 Hz — follows the same pattern. The same circuit also works as a notch at any audio frequency: pick the frequency you want to remove, choose a standard capacitor, and calculate R from f0 = 1 / (2Ï€RC).

Key points to remember

  • A twin-T notch filter passes everything except one frequency, where its two T networks cancel: f0 = 1 / (2Ï€RC).
  • Worked example: R = 31.8 kΩ, C = 100 nF → f0 = 50.05 Hz; gain is −9.1 dB at 25 Hz and 100 Hz, −0.66 dB at 5 Hz and 500 Hz, and −0.01 dB at 5 kHz.
  • The passive twin-T has Q = 0.25: its −3 dB points are 11.8 Hz and 212 Hz, so it takes a 200 Hz bite out of the audio around the notch.
  • The notch depth depends on matching: a 1% resistor error limits it to about −54 dB, 5% to about −40 dB — use 1% parts or a trimmer, and buffer the output with a voltage follower.
  • Design rule: for 60 Hz mains, R = 26.5 kΩ with C = 100 nF gives 60.1 Hz; feedback with k = 0.9 raises Q to 2.5 and narrows the notch to 20 Hz.