Understanding Plug Wiring Diagrams
A wiring diagram for a plug shows you which conductor connects to which terminal inside the connector. That's basically all it does. Nothing more, nothing less. The reason people get stuck is that there are dozens of plug types, and each one has its own pin arrangement, wire color code, and voltage rating. A NEMA 5-15 diagram looks nothing like an IEC C13 diagram, even though both are used for AC power. You need to know which system you're working with before anything else. The three conductors you'll encounter most often are line, neutral, and ground. Line carries the incoming voltage. Neutral completes the circuit back to the source. Ground is a safety path that does nothing unless something goes wrong. In a standard US 120V setup, line is black or red wire, neutral is white, and ground is green or bare copper. Move to a different country and those colors change completely. The UK uses brown for line, blue for neutral, and green-yellow for ground under IEC standards. Mixing those up is how you get a dead appliance or a tripped breaker that won't reset.
Reading a Diagram Of Plug Wiring Correctly
When you look at a wiring diagram, the first thing to check is the orientation of the plug. Manufacturers don't always show the same face. Some diagrams show the pin side, some show the wire entry side. I spent about forty-five minutes once trying to wire a C14 IEC inlet because the diagram I was following depicted the front face while my actual connector had the cable coming from the back. The pin numbering was mirrored. The ground pin ended up on the wrong side. I had to cut the whole thing off and start over. Now I always verify the orientation against the physical connector before trusting the diagram. Pin numbering follows the National Electrical Manufacturers Association convention. You hold the plug facing you and number the pins left to right, top to bottom. For a standard NEMA 5-15, pin 1 is the grounded conductor (the wider slot), pin 2 is the ungrounded conductor (the narrower slot), and pin 3 is the equipment grounding conductor (the round pin). Simple enough until you're dealing with a NEMA 6-30 or a locking L5-30 where the slots are rotated and the ground pin position shifts. The diagram has to match the actual pin layout or you're guessing. Another thing most guides don't mention is terminal marking. Some connectors have the terminals clearly labeled L, N, and ground symbol. Others have nothing but a colored stripe or a raised dot. If the connector you're working with has no markings, you need to trace the internal paths with a multimeter set to continuity mode before you connect anything. I've had connectors where the ground terminal looked like it should connect to the metal strain relief but actually ran to a separate screw deeper in the housing. Happens more than you'd think on cheaper imported components.
Building Your Own Plug Wiring Diagram
If you need to create a diagram rather than read one, start with the connector itself. Take a photo of both the pin side and the wire entry side. Then use a multimeter to trace each terminal. Label them on the photos. Draw simple lines connecting each terminal to its corresponding wire. Add the wire gauge and color. Add the voltage and amperage rating of the connector. That's the entire diagram. You don't need fancy software. A piece of graph paper and a ruler work fine. The wire gauge matters more than people realize. A diagram that shows a 14 AWG connection on a 15-amp circuit is correct. But if that same diagram appears on a 20-amp circuit, you've got a problem. The terminals on many connectors are only rated for specific wire sizes. Force a thicker wire into a terminal meant for a smaller gauge and you'll get a poor connection. Force a thinner wire into a larger terminal and it won't clamp down properly. I've seen both cause arcing and melted insulation inside the plug body. The diagram should note the intended wire gauge range for each terminal. For high-current applications above 30 amps, the wiring diagram needs additional details. You'll want to include torque specifications for each terminal screw, the type of strain relief required, and whether the conductors need to be tinned or use ferrules. Loose connections under high current generate heat. Heat degrades insulation. Degraded insulation leads to short circuits. These aren't theoretical concerns. I once replaced a melting L6-30 plug on a piece of shop equipment and found the ground conductor had broken inside the insulation. The equipment was running fine on line and neutral. The ground was completely dead. That's the kind of failure a proper wiring diagram with inspection points would have prevented.
Get the Full Details

Common Mistakes and What They Cost You
The most common mistake I see is swapping line and neutral on polarized plugs. In low-voltage DC work this doesn't matter much. In 120 or 240V AC work it absolutely matters. Many devices have the switch on the line side for a reason. Flip line and neutral and that switch now disconnects neutral instead of line. The device turns off but remains energized internally. Touching any exposed part becomes a shock hazard. On appliances with metal cases, this is genuinely dangerous. Another frequent error is leaving the ground connection optional. Some people working on temporary setups or experimental gear will skip the ground wire because "it works fine without it." It works until it doesn't. A ground fault on an ungrounded device means the entire metal chassis becomes live. There's no breaker trip, no warning, just a path through whoever touches it. The diagram should always include the ground conductor regardless of how convenient it seems to omit it. Wire color confusion causes more problems than any single issue. The old US standard of black-line, white-neutral, bare-ground is being replaced by the IEC standard of brown-line, blue-neutral, green-yellow-ground in new equipment. If you're working on older gear and newer gear in the same space, you will mix these up. I've done it myself. The workaround is simple: label every wire at both ends with electrical tape before you make any connections. Takes thirty seconds per wire. Saves hours of troubleshooting later.
When Diagrams Fail You
No diagram covers every situation. Manufacturers change internal layouts between production batches without updating documentation. A connector that had five terminals in the 2018 version might have four in the 2022 version with different spacing. The diagram you find online might be for a different revision entirely. This happens constantly with Chinese-manufactured connectors where the supplier updates the mold without notifying downstream buyers. For specialized or custom connectors, off-the-shelf diagrams simply don't exist. In those cases you're building the diagram from scratch using the methods above. Multimeter tracing, photography, labeling. It takes longer but it's the only reliable approach. I once spent two hours documenting a custom military-spec connector that had no published wiring diagram anywhere. The workaround was continuity testing each pin against every terminal while referencing the connector's mechanical drawings for internal structure. Took the whole afternoon but now I have documentation that didn't exist before. If you're working with voltages above 240V or currents above 50 amps, a standard wiring diagram isn't enough. You need to account for creepage distances, insulation ratings, and conductor bundling effects. These factors don't appear on basic diagrams but they matter for safety and compliance. Consult the relevant standard for your region and application. NEC Article 400 for flexible cords, IEC 60320 for appliance couplers, UL 498 for attachment plugs. The diagram is a starting point, not a complete safety guide.