The Millennium bypass, and the parasitics it leaves behind

It gets you an indicator LED without a 3PDT, which is why it turns up so often in home-built pedals. The circuit is simple, but it creates one node at a very high impedance, and the quirks all follow from that.

Last updated: 2026-09-08 Guitar effectsSwitchingMOSFETParasitic capacitance

An LED without a 3PDT

A footswitch has two jobs: take the effect out of the signal path when you are not using it (true bypass), and show whether the effect is on.

Two poles for the audio, one for the LED. Wire it the obvious way and you need a 3PDT, which is expensive, stiff to press, and does not last as long.

The Millennium bypass, published by R.G. Keen in 1999, keeps the DPDT and reads the state of a spare contact electrically instead. You save a pole on the switch, and in exchange the circuit now contains one node sitting at around 1011 Ω.

How the two poles are used

Get the wiring straight first, or the symptoms further down will not make sense.

  • Pole 1: input jack — output jack (closed when bypassed, open when the effect is on)
  • Pole 2: effect output — sense circuit (bypassed) / output jack (effect on)

The effect input stays wired to the input jack in both positions. Only the output side is switched, and that is how the original wiring diagram has it. It is called true bypass, but the input is never disconnected.

Millennium bypass schematicPole 1 of the DPDT ties the input jack to the output jack; pole 2 routes the effect output either to the sense line or to the output jack. The effect input remains permanently wired to the input jack. The sense line runs to the Millennium 2 board, to a MOSFET gate pulled up from +9V by the reverse leakage of a 1N914, with the LED and a current limiting resistor in the drain. IN Bypass path (closed when not engaged) Always connected. Input is never cut Effect circuit Always powered, always fed DPDT Bypassed position Open (unused) OUT This one when the effect is on How the poles are used Pole 1: input jack - output jack (closed when bypassed, open when on) Pole 2: effect output - sense line (bypassed) / output jack (on) Millennium 2 board Sense line +9V 1N914 reverse leakage 10-15nA Low leakage C-B junction of an NPN BS170 1k-4.7k LED
Figure 1: the DPDT wiring and the Millennium 2 indicator circuit. The red trace is the permanent connection to the effect input.

All it detects is whether the sense line floats

The indicator circuit checks one thing: is the sense line open, or is it tied to ground through a low resistance?

Bypassed, pole 2 connects the sense line to the effect output. Past the output coupling capacitor there is a volume pot or a pulldown resistor, which is a DC path to ground. It holds the MOSFET gate at 0 V, so the MOSFET is off, the drain stays up at 9 V, and the LED is dark.

With the effect on, pole 2 moves away and the sense line is left open. Nothing is holding the gate down any more, so the reverse leakage of the 1N914 (10–15 nA) from the +9 V rail starts pulling it up. Past the threshold the MOSFET turns on, the drain is pulled down and the LED lights.

Using diode leakage rather than a resistor for the pull-up is the point of the circuit. A 10 MΩ pull-up passes 900 nA, and while bypassed that current charges the effect's output capacitor. The step it leaves behind is the pop you hear when you switch.

How the Millennium bypass switchesWhile bypassed, signal flows from the input jack straight to the output jack, and also into the effect circuit, which is never disconnected. The effect output feeds the sense line, the gate voltage is zero and the LED is dark. Pressing the switch moves both blades together: the effect output is routed to the output jack and the sense line is left floating, the gate voltage rises slowly and the LED fades in. Bypassed (not engaged) Input jack tied straight to the output jack; effect output goes to the sense line Effect on (engaged) Effect output goes to the output jack; the sense line is left floating IN Effect circuit 60dB of gain, running all the time DPDT OUT Sense line Tied to the effect output, so the gate sits at 0V Floating, so leakage pulls the gate up Millennium 2 board Gate voltage V(GS) 10nA charging tens of pF takes about half a second Dark Lit (fades in)
Figure 2: the switching action. The input side never stops conducting; only the output and the sense line change.

What happens before the MOSFET turns on

Worth going through "leakage pulls the gate up" in more detail.

The gate is insulated by an oxide, so almost no DC flows into it (the BS170 gate leakage is specified at 100 nA maximum, and is picoamps in practice). The 10 nA arriving from the 1N914 therefore does nothing but charge Ciss and the wiring capacitance. Call it 60 pF, and the voltage follows ΔV = I × t / C.

A resistor pull-up would give you an exponential. Diode leakage is nearly independent of voltage, so it is a constant current, and the gate voltage climbs in a straight line. At 10 nA into 60 pF that is 0.17 V/ms.

The BS170 is an N-channel enhancement-mode device. At VGS = 0 V there is no channel and no drain current. Current starts once VGS passes the threshold VGS(th). The circuit only works because of this: a depletion-mode part conducts at VGS = 0 V, so there would be no "off" state at all.

VGS(th) for a BS170 ranges from 0.8 to 3.0 V. A 2.0 V part takes 2.0 / 0.17 ≈ 12 ms; a 3.0 V part takes about 18 ms. The same circuit turns on at different times depending on which device you fitted.

Once past threshold, the drain current is set by the series resistor, not by the MOSFET. With a red LED at 2.0 V forward and 2.2 kΩ, (9 − 2.0) / 2200 = 3.2 mA. The MOSFET on-resistance is a few ohms and does not come into it.

The threshold is not a digital edge. In between, the MOSFET behaves as a variable resistor, and because the gate voltage rises so slowly here, you watch that whole region happen in the brightness of the LED.

What happens before the MOSFET turns onOn the left, the circuit: about 10 nanoamps of reverse leakage from the +9V rail through a 1N914 flows into the gate and charges the gate and wiring capacitance, about 60 picofarads. Top right, a graph showing the gate voltage rising linearly with time and crossing the 2 volt threshold, at which point the LED begins to light. Bottom right, the transfer characteristic: an enhancement-mode device passes no drain current at zero gate voltage, whereas the depletion-mode curve drawn as a grey dashed line conducts at zero gate voltage and so can never be switched off. Current into the gate raises its voltage, and the LED lights once it passes the threshold Current flowing into the gate +9V 1N914 (reverse biased) Gate I(G) = 10nA C(iss) + wiring = 60pF N-ch enhancement mode I(D) +9V LED 2.2k Gate voltage now V(GS) = 0.4V V(GS) = 1.4V V(GS) = 2.0V = V(GS,th) V(GS) = 3.5V I(D) = 0, LED dark I(D) flows, LED lit 1. Gate voltage rising V(GS,th) = 2V (BS170: 0.8 to 3.0V) starts lighting here 4 2 0 V(GS) [V] constant current, so dV = I x t / C time 2. Transfer characteristic, I(D) against V(GS) 3mA I(D) 0 V(GS,th) V(GS) = 0 gives I(D) = 0 enhancement mode depletion mode The grey dashed curve is a depletion-mode part: it conducts at V(GS) = 0, so it can never be dark, and cannot be used here After turn-on the resistor sets the current: (9V - V(F)) / R = (9 - 2.0) / 2.2k = 3.2mA
Figure 3: current into the gate raises its voltage until the threshold is crossed and the LED lights. Bottom right is the transfer characteristic; the grey dashed curve is a depletion-mode part.

Pull-up current and the click

While bypassed, the pull-up current I runs down the sense line into the effect's DC output resistance Rint and charges the output capacitor to V = I × Rint. Step on the switch and that voltage is handed to the next stage as a click.

A guitar puts out about 100 mV, so keep the step under 10 mV. That sets the ceiling on Rint:

Pull-up method versus the largest effect output resistance that keeps the click under 10 mV
Pull-upCurrentAllowed RintUsable with
10 MΩ resistor (Rat)≈900 nA≤11 kΩonly low output-impedance circuits
22 MΩ resistor≈400 nA≤25 kΩstill restrictive
1N914 leakage10–15 nA0.7–1 MΩalmost anything

The third row is why the Millennium can be retrofitted to nearly any pedal. Changing the pull-up from a resistor to a reverse-biased diode moved the usable range by two orders of magnitude.

Why the LED comes up slowly

Build it and the LED takes about half a second. The calculation in the previous section said 12 ms, so it is roughly 40× slower than that.

The capacitance is not the problem. The current that reaches the gate is two orders of magnitude below the datasheet leakage. What is left after subtracting the clamp diode's reverse leakage, the MOSFET gate leakage and the leakage across the board surface is all you get. Half a second works out to about 240 pA.

On the capacitance side, the node carries Ciss, the board trace and the wire to the switch, and the junction capacitance of the two diodes: 30–80 pF in total.

Parasitics left in the Millennium bypassTop left, the open switch contact while bypassed still has 0.3 to 1 picofarad across it. Below it, the sense line and the bypass wire run in parallel and couple through wire-to-wire capacitance. Right, the sense node carries the MOSFET input capacitance plus wiring, 30 to 80 picofarad total. At the bottom, the equation for the time it takes a leakage current to charge that capacitance. 1. What stays connected in the signal path The contact is open, but not to a capacitor Effect output clipped full output, about 1V Open (unused) OUT Contact capacitance C(sw) 0.3-1pF Sense line (carrying full output) Bypass wire (the clean signal) Wire-to-wire capacitance 2. What hangs on the sense node A 10¹¹ ohm node charged by a few nanoamps +9V 1N914 (10-15nA) Sense node Low-leakage clamp C(iss) + wiring 30-80pF to the MOSFET gate t = C x dV / I = 60pF x 2V / 10nA = 12ms (measured: about 0.5s, so roughly 240pA effective) What is left after the clamp, gate and board-surface leakage are subtracted from the pull-up
Figure 4: what is still connected while bypassed. Left, the signal path — the open contact, and the sense and bypass wires running together. Right, the capacitance of the sense node itself.

Things to watch when building it

  • Flux residue or humidity will stop the LED lighting. Once the board surface falls to a few hundred MΩ, that is where the 10 nA goes. This is not a circuit where you can skip cleaning.
  • Touching the node changes the behaviour. Against 1011 Ω, a fingertip or a dirty joint counts as a conductor.
  • It picks up hum. A high-impedance node couples capacitively to everything near it. Run the sense wire past the supply and the LED can flicker.
  • The slow turn-on is the specification. To speed it up you want a leakier diode — a gold-doped 1N914 or 1N4148. Fit a good low-leakage switching diode and it will take many seconds.

This is why R.G. Keen added a 2004 note telling people not to use just any diode. Here the leakage is the spec, which puts "better part" the wrong way round.

Bleed-through while bypassed

The most common complaint about this scheme is hearing the fuzz or distortion faintly while it is bypassed. The asymmetry in the wiring is the reason.

As we saw at the start, the effect input is not disconnected while bypassed. The guitar signal keeps running into the circuit, and a 60 dB gain stage keeps producing a fully clipped output. One open switch contact is all that stands between it and the output jack.

An open contact still has 0.3–1 pF across it. Take 0.5 pF and work out the divider against the 1 MΩ input of whatever comes next:

Contact capacitance 0.5 pF, 1 MΩ load, effect output 1 Vrms (clipping hard)
Frequency|ZC|AttenuationBleed at the output jack
100 Hz3.2 GΩ−70 dB0.31 mV
1 kHz318 MΩ−50 dB3.1 mV
5 kHz63.7 MΩ−36 dB15.7 mV
10 kHz31.8 MΩ−30 dB31 mV

The clean signal going to the output jack is about 100 mV. 15.7 mV at 5 kHz is −16 dB against it, which is plainly audible in a quiet passage.

The coupling rises at 20 dB/decade, so the bottom end never gets through and the top end does. That is the fizz people describe, rather than a quiet version of the effect.

Bleed-through at high gainBelow the clean bypass path from input jack to output jack runs the leakage path: from the input jack into the permanently connected effect input, through a 60 decibel gain stage to about 1 volt, then across 0.5 picofarad of open switch contact back to the output jack. At 5 kilohertz the budget is 15.7 millivolts of bleed against 100 millivolts of clean signal, or minus 16 decibels. How sound leaks through while bypassed The input is never cut, so the gain stage keeps producing full output IN Clean bypass signal, about 100mV OUT Gain stage (60dB) runs while bypassed, output about 1V Open (unused) Open contact 0.5pF 63.7 megohm at 5kHz Level budget at 5kHz 100mV guitar output (0dB reference) about 1V gain stage output (+20dB) -36dB 0.5pF against 1 megohm 15.7mV bleed at the output jack (-16dB) Coupling rises 20dB per decade, so what gets through is the top end, not the body of the sound
Figure 5: the bleed path and the level budget. The input is never cut, so the gain stage produces full output the whole time you are not using it.

Reducing the bleed

It is a product of three things — the input not being cut, the gain, and the contact capacitance — so a fix has to attack one of them.

  1. Reduce the contact capacitance. Use the outer contacts of the switch and leave the neighbouring ones empty. That alone is worth several times.
  2. Shorten the sense wire, or shield it. While bypassed it carries the clipped full-level output across the enclosure. Run it alongside the bypass wire and the coupling can exceed the contact capacitance.
  3. Add a pulldown at the effect output. A lower impedance on that node while bypassed means less couples off it. As the click section showed, going too low brings the pop back, so stop at a few hundred kΩ.
  4. Cut the input as well. This is what actually works, and it costs a pole, which means going back to a 3PDT.

So the higher the gain, the worse the fit. For a buffer, a boost or a modulation circuit whose output stays in the hundreds of millivolts, the bleed lands below −50 dB and never becomes a problem.

If you were building it today

3PDT switches are cheap now. For anything with real gain, switching both ends with a 3PDT is the safer choice.

It is still worth reading as an example of the trade it makes: one fewer mechanical contact, at the price of a node at a very high impedance. Soft-touch bypass built from a momentary switch, a microcontroller and a relay has the same shape, and so does a reset circuit that holds its state on leakage current.

Once you have a node like that anywhere, the parasitic capacitance and the surface leakage become numbers you have to design around.

Frequently asked questions

Is the Millennium bypass really true bypass?
The output is fully disconnected, so it does the job of keeping the effect from colouring the signal. But the input stays connected, so the effect's input impedance (usually 0.5–1 MΩ) still sits across the guitar while bypassed. A 3PDT wiring that opens both ends does not.
Does the MOSFET have to be enhancement mode?
Yes. A depletion-mode part passes drain current at VGS = 0 V, so the LED would stay lit while bypassed, with the gate held at ground. The BS170 and 2N7000 are both N-channel enhancement mode. Their VGS(th) spreads from 0.8 to 3.0 V, so a high-threshold part turns on noticeably later.
My LED will not light. What should I check?
Clean the board first: flux residue forming a few hundred MΩ path will swallow a 10 nA pull-up. Then check the diode type — a low-leakage part takes seconds, or never lights. Use a 1N914 or 1N4148. Finally, check the pole 2 wiring and confirm the sense line really is open.
Can I make the LED come on faster?
From ΔV = I × t / C, either reduce C or raise I. Shortening the sense wire reduces C a little, but raising I works better in practice — a leakier diode, or more reverse bias across it. If you need it under 0.1 s, use a 3PDT or a relay instead.

Standards and references

  • R.G. Keen, "The Millenium Bypass", GEOFEX (1999, updated 2004) — The original. Schematics for Millennium 1 (JFET) and 2 (MOSFET), the comparison with the Rat bypass, and the note on low-leakage diodes
  • R.G. Keen, "The Technology of Bypasses", GEOFEX — The lineage of bypass schemes and the loss and noise of each
  • onsemi BS170 datasheet — VGS(th) range, Ciss and the gate leakage spec, used for the estimates above
  • onsemi 1N914 / 1N4148 datasheet — Reverse leakage specification; gold doping is what makes it leaky

← All columns