The Repair LibraryRead · Learn · Master

Mains Voltage — Understanding the Risk

The deadliest thing on the bench, up close — what mains is, the live/neutral/earth conductors and why neutral isn't trustworthy, where the isolation barrier separates the lethal primary from the safe secondary, and the non-isolated-supply trap where a low-voltage rail can sit at full mains potential.

BeginnerHigh Risk27 min read

What You Will Learn

  • You will learn what mains electricity is, its typical voltages and frequency, and why it is always dangerous when plugged in.
  • You will learn the roles of the live, neutral, and protective earth conductors and why neutral must not be trusted as safe.
  • You will learn where the isolation barrier is, so you know the lethal primary side from the generally-safe secondary side.
  • You will learn the non-isolated-supply trap and how to work safely with mains, including the correctly-scoped role of an isolation transformer.

What You Will Be Able To Do

  • You will be able to explain what mains is and why it is the deadliest hazard at the bench.
  • You will be able to describe the live, neutral, and earth conductors and why neutral and earth must be respected.
  • You will be able to identify the isolation barrier and which side of a supply is dangerous.
  • You will be able to recognize a non-isolated supply and apply mains-specific safe-work practices.

Required Tools

No physical tools required. This is a conceptual section.

When NOT to Attempt This

Do not attempt this section if any of the following apply to you:

  • This procedure involves meaningful risk — read all safety notes before starting.
  • You do not have a safe, well-ventilated workspace ready.
  • You are unfamiliar with the tools or materials described.

Section Overview

Section 3.1 established that current through the body kills and that mains is the danger; this section looks at mains itself — the single deadliest thing on your bench. Mains electricity is the household AC power that feeds any mains-powered device: nominally about 120 volts in North America and about 230 volts across Europe and much of the world, at 50 or 60 Hz, and it can drive a lethal current the moment you contact it. You'll learn its three conductors — live (the lethal one), neutral (a return you must not trust as safe), and protective earth (the safety ground you must never defeat) — and, crucially, where inside a device the danger lives: the mains-input primary side is lethal, while a properly-isolated secondary (low-voltage) side is generally safe, separated by an isolation barrier. The most important and most-missed trap in the whole section is the non-isolated power supply: in a transformerless design, the "low-voltage" or DC side is not isolated from mains and can sit at full lethal potential — so you can never assume a low-voltage rail is safe until you know the supply is isolated. This section is how you read the danger of a mains-powered device before you ever reach into it.

Why This Matters

Mains power is the hazard most likely to kill you in this entire handbook, and the difference between working on it safely for a lifetime and a single fatal accident is understanding what you're looking at. Much of what makes mains dangerous is that its danger is not obvious: a neutral wire that "should" be safe can be live through a wiring fault; a device that's unplugged can still hold a lethal charge in its filter capacitors; and — most insidiously — the innocuous-looking "5-volt" side of a cheap charger can be sitting at full mains potential because the supply has no isolation. People are electrocuted every year not because they were reckless with obviously-live wires but because they misjudged what was safe: touched the primary thinking it was the secondary, trusted a neutral, or assumed a low-voltage rail couldn't hurt them. Learning to identify the live conductor, the isolation barrier, and whether a supply is isolated is therefore not academic — it's the specific knowledge that lets you tell the deadly parts of a device from the safe parts before you touch anything. Combined with the de-energize-by-default discipline of Section 3.1, this understanding is what keeps mains a managed hazard rather than a fatal surprise.

Required Prerequisites

  • Electrical Safety Fundamentals — that it is current through the body that kills, the one-hand rule, charged-capacitor and de-energize-and-verify discipline; this section applies all of that specifically to mains power.

No consumables required. This is a hazard-understanding section. (For real mains work you'll want a properly CAT-rated multimeter and an isolation transformer, but nothing is consumed to learn the material.)

  • A CAT-rated multimeter suitable for mains measurement, for when you must verify what's live — knowing your meter is rated for mains is itself a safety point
  • An isolation transformer, if you will do mains work, understood as a tool that reduces one specific shock path (not a licence to touch mains)
  • No hardware is needed to learn the concepts; the goal is to read the danger of a device correctly before touching it

Real-World Applications

Every repair on a mains-powered device — a phone charger, a power adapter, a TV or monitor, a microwave, an appliance, a switch-mode power supply — begins with reading its electrical danger, and this section is that reading skill. An experienced technician opening such a device immediately locates the primary side (where the cord, fuse, switch, and the big filter capacitors live) and treats it as lethal, discharges those capacitors, and identifies the isolation barrier beyond which the low-voltage secondary is generally safe. They are especially wary of small, cheap power supplies and old equipment, because those are where non-isolated designs hide — and where a meter check between the "low-voltage" side and earth can reveal it sitting at mains potential. They never defeat the earth pin to "solve" a problem, and they know that a device being unplugged is not the same as being safe. The consequences of getting this wrong are permanent: the steady toll of electrocutions in repair and DIY comes disproportionately from misjudging mains — trusting a neutral, touching a primary, or assuming a low-voltage rail was isolated when it wasn't. This section is the knowledge that turns "reach in and hope" into "read the danger, then work safely."

Common Challenges

  • Assuming the low-voltage side is always safe. In a non-isolated supply it isn't — the DC side can be at full mains potential, so "it's only 5 volts" is a potentially fatal assumption until you've confirmed the supply is isolated.
  • Trusting the neutral. Neutral is supposed to be near earth potential, but mis-wiring and faults can make it live, so it must not be treated as a safe conductor.
  • Thinking unplugged means dead. The primary side holds charged capacitors after power-off; unplugged is not discharged, and the mains-input side stays dangerous until discharged and verified (Section 3.1).

Safety Notes

Risk Level: High. Mains is the deadliest hazard at the bench. Internalize the callout below before opening any mains-powered device.

Professional Tips Before Starting

  • Find the primary side first. Before touching anything inside a mains device, locate the cord, fuse, switch, and large filter capacitors — that's the lethal primary side; discharge it and treat it as dangerous until verified dead.
  • Never trust a low-voltage rail you haven't checked against earth. On an unfamiliar or cheap supply, assume it might be non-isolated; a meter reading between the DC side and earth tells you whether that "low-voltage" is actually referenced to live mains.
  • Respect the earth pin. The protective earth is a safety system, not an inconvenience — never cut it, defeat it, or use a cheater plug to remove it; if it's causing a problem, that problem is the thing to fix.

Understanding Mains Voltage and Its Dangers

What Mains Is

Mains electricity is the alternating-current power delivered to your home and to the input of any mains-powered device. Its voltage depends on the region: nominally about 120 volts in North America and parts of the world on that standard, and about 230 volts across Europe, the UK, and much of the rest of the world — alternating at 50 or 60 Hz depending on the country. Two things make it dangerous in a way low-voltage electronics is not. First, that voltage is more than enough to drive a lethal current through a person (Section 3.1) — and the higher 230-volt standard does so even more readily. Second, it is energized whenever the device is plugged in, whether the device is switched on or not, so the mains-input section of a plugged-in device is live and waiting. Mains AC at 50 or 60 Hz is also the frequency most dangerous to the human body, readily causing the can't-let-go muscle clamp and cardiac fibrillation of Section 3.1. So mains is not just "higher voltage" — it is a genuinely lethal energy source sitting inside ordinary equipment, and the rest of this section is about knowing exactly where it is and how it's arranged.

The Three Conductors: Live, Neutral, and Earth

Mains power arrives on three conductors, and understanding their roles is fundamental to staying safe. The live conductor (also called line or hot) is the one at the dangerous mains potential relative to earth; it is the primary shock hazard, because you are usually at or near earth potential yourself (through your feet, the floor, and grounded surroundings), so touching live completes a circuit through your body to earth. The neutral conductor is the return path, and it is supposed to sit near earth potential — but here is a critical safety point: neutral must not be trusted as safe. Mis-wired outlets (live and neutral swapped), shared or floating neutrals, and various faults can leave a "neutral" at a dangerous potential, so you treat it with the same caution as live. The protective earth (earth, ground, or PE) is the safety conductor: it bonds the exposed metal parts of a device to earth so that if a fault makes live touch the chassis, a large fault current flows and trips the breaker or blows the fuse — cutting power — instead of leaving the chassis silently live for you to touch. Because it is a life-safety system, protective earth must never be defeated — never cut the earth pin, never use a cheater plug to remove it. Live is lethal, neutral is not to be trusted, and earth is your protection: respect all three.

The Isolation Barrier: Primary Versus Secondary

The single most useful thing to know when you open a mains device is where the danger stops — and in a well-designed power supply, it stops at the isolation barrier. The primary side is everything on the mains-input path: the plug and cord, the fuse, the power switch, and — in a switch-mode supply — the mains rectifier and the large filter capacitors, up to the primary winding of the transformer. All of it is at or derived from mains potential and is lethal, and (from Section 3.1) those filter capacitors stay dangerously charged even after the device is unplugged. Beyond the transformer, a proper supply provides isolation: the secondary side — the low-voltage rails that actually power the electronics — is electrically separated from mains, so it is generally safe to handle. The transformer (or an equivalent isolating element) is the barrier between the two worlds. Knowing where that barrier sits is exactly what tells you which parts of a device you must treat as lethal and which are generally safe: primary side, deadly; isolated low-voltage secondary side, generally fine. One critical caveat, though: "secondary" does not always mean "low voltage." Some isolated secondaries carry lethal high voltage and store a lethal charge — the secondary of a microwave oven transformer (around 2000 volts, plus its high-voltage capacitor) and the flyback and anode of a CRT television or monitor (tens of thousands of volts) are all downstream of a transformer, yet are among the most lethal things you can touch. So the "secondary is generally safe" rule applies to the low-voltage rails of ordinary low-voltage supplies, not to high-voltage secondaries — those are as deadly as the primary. With that caveat, learn to spot the mains-input components and the transformer, and you can read the danger map of most mains equipment.

Non-Isolated Supplies and the Hot-Chassis Trap

Here is the most important warning in this section, because it is the assumption that gets people killed: not every supply is isolated. A non-isolated power supply — a transformerless or "capacitive-dropper" design, common in cheap chargers, some LED drivers, and old "hot-chassis" AC/DC equipment — drops the mains down to a low voltage without an isolating transformer, which means its low-voltage or DC side is not separated from mains and can sit at full, lethal mains potential. In such a supply, a rail you'd read as "5 volts" is 5 volts relative to its own reference — but that whole reference may be floating at mains potential relative to earth, so touching it while you're grounded can kill you exactly as touching live would. This destroys the comforting rule that "the low-voltage side is safe": in a non-isolated supply, there is no safe low-voltage side. The practical consequences: never assume the DC or low-voltage side of an unknown device — especially a small, cheap, or old one — is safe; when in doubt, treat the whole thing as live, and a meter check between the low-voltage side and earth will reveal a non-isolated supply sitting at mains potential. This trap is a major reason an isolation transformer is used for mains bench work, and why knowing whether a supply is isolated is a life-safety question, not a technical curiosity.

Working Safely With Mains

Mains-specific safe work builds directly on Section 3.1's fundamentals. The default, always, is to work de-energized: unplug the device (not just switch it off), discharge the primary-side filter capacitors through a proper discharge tool, and verify it's dead with a meter before touching — because unplugged is not discharged. Before reaching in, map the danger: find the primary/mains-input side and the isolation barrier, and treat any unknown or non-isolated supply's low-voltage side as potentially live. When live work is genuinely unavoidable, layer the protections: use an isolation transformer — understanding that it isolates the equipment from the earth reference so a single earthed-point contact is less likely to complete a lethal circuit, but you can still be shocked by contacting both conductors, so it reduces one specific risk and does not make mains safe to touch; apply the one-hand rule; use a residual-current device (RCD/GFCI); use a properly CAT-rated meter and insulated tools; keep the area dry; and never work alone on dangerous live equipment. And never, for any reason, defeat the protective earth. None of this is about fearlessness; it's about reading the specific dangers of mains correctly and then removing or controlling them — de-energize by default, know what's isolated, and treat the primary side and any non-isolated rail as the lethal things they are.

Common Mistakes

  • Assuming the DC/low-voltage side is isolated and safe. In a non-isolated supply it can be at full mains potential; never assume — verify a supply is isolated before trusting its low-voltage side.
  • Trusting the neutral conductor. Mis-wiring and faults can make neutral live; treat it with the same caution as the live conductor.
  • Defeating the protective earth. The earth pin is a life-safety system; never cut it or use a cheater plug — fix the underlying problem instead.
  • Treating unplugged as safe. The primary side holds charged filter capacitors after power-off; discharge and verify before touching.
  • Believing an isolation transformer makes mains safe to touch. It reduces one shock path; you can still be shocked across both conductors, so all other precautions still apply.

Troubleshooting Guidance

Before touching anything inside a mains-powered device, answer two safety questions — where is the danger, and is the low-voltage side actually safe? — using a deliberate workflow. First, can you de-energize? If yes (which is almost always), unplug, discharge the primary filter capacitors, and verify dead with a meter — this removes the hazard and is your default. Second, map the primary side: locate the cord, fuse, switch, and large filter capacitors, and treat that whole mains-input region as lethal (and charged even when unplugged). Third, find the isolation barrier: identify the transformer and treat the isolated secondary/low-voltage side as generally safe only once you've confirmed the supply is isolated. Fourth, and critically, check for a non-isolated supply on any unknown, cheap, or old device: if there's no clear mains transformer, suspect a transformerless design and treat the low-voltage side as potentially live — a meter reading between it and earth confirms whether it's referenced to mains. If you find yourself assuming something is safe — a neutral, an unplugged board, a low-voltage rail — stop and verify instead, because those assumptions are exactly what electrocute people. If live work is unavoidable, escalate protections (isolation transformer, one-hand rule, RCD, CAT-rated meter, dry area, not alone) rather than relaxing them. And if you're ever unsure whether a mains device is safe to touch, the correct default is to treat it as live until de-energized, discharged, and verified. The whole of mains safety comes down to this: read the danger before you touch, and never let an assumption stand in for a meter.

Verification & Testing Methods

Use this as a mains-safety pre-work checklist — confirm every box before working inside a mains-powered device:

  • [ ] I know this device runs on mains (about 120 or 230 volts, 50 or 60 Hz) and that its mains-input side is lethal whenever plugged in.
  • [ ] I can identify the live, neutral, and protective earth conductors, and I treat neutral as untrustworthy and never defeat the earth.
  • [ ] I have located the primary / mains-input side (cord, fuse, switch, filter capacitors) and treat it as lethal, discharging its capacitors even though it's unplugged.
  • [ ] I have found the isolation barrier and confirmed which side is the generally-safe isolated secondary.
  • [ ] I have checked whether the supply is non-isolated (transformerless); if so, I treat the whole low-voltage side as potentially at mains potential.
  • [ ] I will de-energize and verify dead, and if live work is unavoidable I'll use an isolation transformer, one-hand rule, RCD, and CAT-rated meter, keep dry, and not work alone.

Then try the practice exercises below — safety reasoning and planning only; none involve contacting a live circuit.

Practice Exercises

  1. Name the conductors (5 minutes, reasoning). Describe the roles of the live, neutral, and protective earth conductors, and explain why neutral must not be trusted as safe and why protective earth must never be defeated.
  2. Map the danger (10 minutes, applied). For a switch-mode power supply you're about to open (de-energized), describe how you'd identify the lethal primary side, the isolation barrier, and the generally-safe secondary side — and what you'd discharge and verify before touching.
  3. The non-isolated trap (5 minutes, reasoning). Explain why the "5-volt" output of a cheap, non-isolated (transformerless) charger can be just as dangerous as touching live mains, and how you would check whether an unknown supply is isolated before trusting its low-voltage side.
  4. What an isolation transformer does (5 minutes, reasoning). Explain what an isolation transformer does and does not do — why it reduces one shock path but does not make mains "safe to touch" — and what other precautions you'd still apply during unavoidable live work.

These core ideas — what mains is, the live/neutral/earth conductors, the isolation barrier and primary-versus-secondary, the non-isolated-supply trap, and mains-specific safe work — are tested in the Chapter Quiz at the end of this chapter, where a score of 80% is required to continue.

Key Takeaways

  • Mains electricity is household AC — about 120 volts in North America, about 230 volts in Europe and much of the world, at 50 or 60 Hz — energized whenever plugged in and able to drive a lethal current; it is the deadliest hazard at the bench.
  • Mains has three conductors: live is at the lethal mains potential and is the main shock hazard; neutral is the return and is supposed to be near earth but must not be trusted as safe; and protective earth bonds exposed metal so faults trip the breaker — and must never be defeated.
  • The isolation barrier separates the lethal primary / mains-input side (cord, fuse, switch, rectifier, large filter capacitors — dangerous even unplugged) from the generally-safe, isolated secondary low-voltage side; knowing where it is tells you which parts are deadly.
  • The critical trap: a non-isolated power supply (transformerless) has no isolation, so its low-voltage or DC side can sit at full mains potential — never assume a low-voltage rail is safe until you know the supply is isolated.
  • An isolation transformer reduces one specific shock path (a single earthed-point contact) but does not make mains safe to touch — you can still be shocked across both conductors, so all other precautions still apply.
  • Work de-energized by default (unplug, discharge, verify dead); map the primary side and isolation barrier before reaching in; and when live work is unavoidable, layer isolation transformer, one-hand rule, RCD/GFCI, CAT-rated meter, dry area, and never work alone.

Skills Learned

  • You can now explain what mains is and why it is the deadliest hazard at the bench.
  • You can now describe the live, neutral, and protective earth conductors and why neutral and earth must be respected.
  • You can now identify the isolation barrier and tell the lethal primary side from the generally-safe secondary.
  • You can now recognize a non-isolated supply and apply mains-specific safe-work practices.
  • You can now read the electrical danger of a mains-powered device before touching it.

Glossary Additions

  • mains electricity — the alternating-current power supplied to homes and to the input of mains-powered equipment, typically about 120 volts in North America and about 230 volts across Europe and much of the world, at 50 or 60 Hz; it is energized whenever a device is plugged in and can drive a lethal current, making it the most dangerous hazard on an electronics bench.
  • protective earth — the safety conductor (also called earth, ground, or PE) that bonds the exposed metal parts of equipment to earth, so that a fault which energizes the chassis produces a large current that trips the breaker or blows the fuse instead of leaving the metal live; because it is a life-safety system, it must never be defeated (cut, disconnected, or bypassed with a cheater plug).
  • isolation transformer — a transformer with a one-to-one ratio used to separate a device under test from the earth reference of the mains supply, so that touching a single point of the now-floating circuit while earthed is far less likely to complete a lethal path to ground; it reduces that one specific shock risk but does not make mains safe to touch, since a person can still be shocked by contacting both conductors.
  • non-isolated power supply — a power supply (often transformerless or "capacitive-dropper") whose low-voltage or DC output is not electrically isolated from the mains, so that its output — even a nominally low-voltage rail — can sit at full, lethal mains potential relative to earth; common in some cheap chargers, LED drivers, and old "hot-chassis" equipment, it means the low-voltage side can never be assumed safe until the supply is confirmed to be isolated.

Suggested Next Sections

Must read next:

  • Chemical Safety — Flux, Solvents, and IPA — the chapter turns from electrical to chemical hazards: handling the flux, solvents, and isopropyl alcohol of the bench safely, including their fumes, flammability, and skin and eye exposure.

Recommended:

  • Electrical Safety Fundamentals — the current-kills fundamentals, one-hand rule, and de-energize-and-verify discipline this mains-specific section builds on.
  • DC Power Supply Fundamentals — the power-supply context: the mains input, rectifier, and filter capacitors that make up the lethal primary side.