Wiring a Power Plug: What Actually Happens When You Open One Up
Most people grab a plug, see three wires, and guess which color goes where. That works fine until it doesn't, and then you've got a short circuit or a plug that sparks when you unplug it. The trick isn't memorizing a color code; it's understanding the connection path and making sure every terminal is secured properly before you ever push that plug into a socket. I'm going to walk through this in the order I actually use it on a job, not the order a textbook lays it out. First the wiring method, then the standards, then some of the stuff nobody tells you until they've burned through a dozen cheap plugs.
Power Plug Connection Diagram
Here's the basic layout for a standard three-pin mains plug, which is what you'll encounter 90% of the time in residential and light commercial settings. The live terminal connects to the brown or black wire. The neutral terminal gets the blue or white wire. The earth terminal takes the green/yellow or bare copper wire. That's it. The rest of the work is in the execution. Before I get into the actual steps, let me flag something most guides skip. The terminal block diagram you find online is only useful if you know which pin layout your plug uses. There are at least four common configurations depending on country: the UK BS 546, the US NEMA 5-15, the European Schuko, and the Australian AS/NZS 3112. They all look similar at a glance but wiring one like the other will get you a blown fuse or worse. Identify your plug type first. Then look at the molded diagram inside the plug cover, not just some generic image you found.
The Actual Wiring Process
Strip about 15 to 20 millimeters of insulation from each wire end. Don't go deeper. If you nick the copper strands, trim it back and start over. Exposed copper beyond the terminal screw is a real issue, not a theoretical one. I had a job last year where a contractor stripped about 40 millimeters on the live wire, tightened it down, and thought he was done. The plug worked, obviously, but when someone pushed it into a tight socket, the bare wire shifted and grounded out against the metal casing. Trip switch tripped every time. Took me twenty minutes to find. A proper strip length and a cord grip that actually bites the sheath, not just the individual conductors, prevents that entirely. Here's the sequence I follow: Loosen all three terminal screws before you insert any wire. Feed the live wire into its terminal and tighten the screw with firm pressure. Do the same for neutral and earth. The earth conductor is usually the shortest path in a proper plug, routed to the top pin. Live and neutral go to their respective side terminals. Check the markings on the terminal block. They're usually stamped into the plastic: L for live, N for neutral, and the earth symbol for ground. If the markings are worn off, trace the metal contact inside. The live terminal is almost always connected to the narrower pin on a Type G plug, and the earth terminal runs to the top pin. That's a consistent physical feature across compliant plugs.
Get the Full Details
Thread the cord through the cable clamp or cord grip before you do anything else. This is the part people rush and then regret. The cord grip should compress against the outer sheath of the cable, not the individual insulated wires. When you pull on the cable, the strain should be taken by the grip, not by the terminal screws. If the wires lift out of the terminals when you tug the cord, you've got a bad installation. Tighten the cord grip screw until the sheath is firmly compressed. You should not be able to slide the cable more than a centimeter in either direction. Closer the plug body and secure the outer screw or clip. Before you test it, do a visual inspection. Are all three conductors clearly seated under their terminals? Is there any bare copper showing outside the terminal housing? Is the cord grip holding the sheath? If the answer to any of those is no, open it back up and fix it. Testing a bad connection with a multimeter takes thirty seconds and saves you from a call-back.
Standards and Regional Variations
Different regions use different voltage and frequency standards, which matters more than people admit. A plug wired for 230 volts at 50 hertz behaves differently under fault conditions than one wired for 120 volts at 60 hertz, mostly because of how residual current devices and fuses are rated. In the UK, a 13-amp BS 1363 plug has a fused base. The fuse is sized to protect the cable, usually 3 amps for a lamp, 5 amps for a charger, 13 amps for a heater. Wire a 13-amp appliance with a 3-amp fuse and it will blow under normal load. Wire a 3-amp appliance with a 13-amp fuse and you've removed the overcurrent protection entirely. The fuse rating must match the cable's current-carrying capacity, not the appliance's maximum draw. In the US, a NEMA 5-15 plug doesn't have an internal fuse. The branch circuit breaker provides overcurrent protection. That means the wire gauge matters more during installation. 15-amp circuits require 14 AWG minimum. 20-amp circuits require 12 AWG. If you're splicing into existing cable, verify the gauge before you terminate the plug. I once replaced a plug on what looked like a standard extension cord, only to find 18 AWG wire inside, which is rated for maybe 7 amps. The circuit was protected at 15 amps. The insulation was warm to the touch. That's a fire risk, not a nuisance trip. Australia and New Zealand use AS/NZS 3112 plugs with angled pins and a built-in earth switch. The wiring sequence is the same, but the pin orientation means you need to match the terminal positions correctly or the plug won't seat properly. European Schuko plugs are different again, with earthing clips on the sides and no defined polarities on the live and neutral contacts. That means you can insert them either way, which is fine for ungrounded appliances but creates confusion when you're wiring a grounded device.
Common Failures and What to Do About Them
The most common failure I see is the neutral wire being loose at the terminal. It looks tight. The screw is engaged. But the stranded copper has splayed out, and only half the strands are actually contacting the terminal plate. The result is intermittent connection, arcing inside the plug, and sometimes melted terminal block plastic. The fix is simple but requires patience. Strip the wire again, fold the strands back together tightly, and reinsert. If the terminal is a clamp-type rather than a screw-down type, make sure the wire goes all the way in before you squeeze the clamp. Partial insertion is the same problem. Another failure mode is earth connection resistance that's too high. This is harder to detect without a proper earth continuity tester. A cheap plug tester will light up and say "correct wiring" even when the earth path has several ohms of resistance. That's because the tester only checks connectivity, not impedance. In a real fault, high earth resistance means the protective device won't trip fast enough. If you're doing this for anything beyond a household lamp, use a low-resistance ohmmeter to verify earth continuity between the earth pin and any exposed conductive parts. The reading should be under 0.5 ohms for a proper installation. There's also the issue of wire strain relief in flexible cords. If you're using a flexible appliance cable, the cord grip needs to accommodate the flexibility. A stiff grip on a thin flexible cord will cut into the sheath over time, especially if the cord is pulled or twisted repeatedly. I use a split-grommet style cord grip for those applications. It distributes the clamping pressure over a larger area and doesn't deform the cable cross-section as much. Cheap molded plugs with fixed grips are fine for stationary appliances. Not fine for anything that moves.

Testing After Installation
A visual check gets you partway there. A multimeter gets you further. Set it to continuity mode and check between the earth pin and any exposed metal on the appliance. Check between live and neutral with the appliance switched off. You should get an open circuit, or at most the resistance of the appliance's internal circuitry if it has a switch in the live path. A direct short between live and neutral means you've cross-connected them. Rewire it. Then plug it in and run it. Touch the plug body after five minutes of operation. It should be warm at most, not hot. If it's hot, you have high resistance at a connection point, usually the terminal screw. Loosen the screw, reseat the wire, and retighten with proper torque. A terminal screw tightened by hand is almost never tight enough. Use a screwdriver with a reasonable handle and apply firm pressure. The wire should not move when you give it a gentle tug.
When Not to Wire a Plug Yourself
Sometimes the plug is molded on, permanently attached to the appliance. These are not field-replaceable in most cases. Cutting them off and wiring a new plug voids the manufacturer's warranty and may violate electrical codes depending on your jurisdiction. If the cable is damaged near the plug, the safe play is to replace the appliance or have a qualified electrician install a junction box with a detachable connector. I've seen people cut off molded plugs on corded drills and wire on new ones, then wonder why the drill trips the RCD every time they use it. The issue was usually a damaged inner conductor that wasn't visible during the strip, creating a partial ground fault that only manifested under load. Another case where you shouldn't DIY is high-current applications. Anything above 13 amps in the UK or 15 amps in the US should be hardwired or connected through a proper industrial connector, not a domestic plug. The terminal blocks in standard plugs aren't rated for sustained high current, and the contact resistance increases with temperature in a way that's hard to detect by inspection alone. If you need a reference diagram, most plug manufacturers publish wiring diagrams on their product pages or in installation manuals. I keep a folder of PDFs from different brands, but honestly, the markings on the plug itself are usually sufficient if you read them carefully. The diagram I rely on most is the one that comes printed inside the cover of a BS 1363 plug. It's right there when you open it, and it matches the actual terminal layout. For other plug types, the IEC 60320 standards documentation covers the terminal arrangements across most commercial connectors.
The whole process, from stripping to testing, takes about twelve minutes for someone who does this regularly. A first-timer should budget thirty to forty-five minutes. The extra time goes to double-checking connections and making sure the cord grip is seated correctly. Skipping that step saves about eight minutes and costs you a potentially hazardous installation.
