When DIYers ask 'how to wire an electric plug,' they are usually referring to one of two distinct devices: the female wall receptacle (technically a NEMA 5-15R) or the male replacement cord cap (a NEMA 5-15P). Both devices serve as the critical interface between your home's fixed wiring and your appliances, and both demand exact adherence to color-coding and torque standards.

The direct answer for standard 120V 15A/20A wiring: The black (hot) wire lands on the brass screw, the white (neutral) wire lands on the silver screw, and the bare or green (ground) wire lands on the green screw. This rule applies universally to both wall receptacles and replacement cord plugs in North America.

Tools, Materials, and Device Ratings

Before stripping a single wire, you must match your wire gauge to your breaker size and device rating. A 15-amp circuit requires 14 AWG copper wire and a 15A receptacle. A 20-amp circuit requires 12 AWG copper wire and can use either a 20A receptacle (which has a T-shaped neutral slot) or a standard 15A receptacle.

Required Materials

  • Wall Receptacle: Leviton 5262-SW (15A) or Leviton 5362-SW (20A) duplex receptacle (approx. $3.50 - $4.50).
  • Replacement Cord Plug: Leviton 5266-P (15A male plug) or equivalent NEMA 5-15P cord cap (approx. $4.00).
  • Wire: 14/2 NM-B (Romex) for 15A circuits; 12/2 NM-B for 20A circuits. For cord repairs, use 14/3 or 12/3 SJTW flexible cord.

Required Tools

  • Wire Strippers: Klein Tools 11055 (for 10-18 AWG solid/stranded).
  • Voltage Tester: Fluke 1AC-II Non-Contact Voltage Tester (NCVT) and a CAT III digital multimeter.
  • Screwdrivers: #2 Robertson (square) and #2 Phillips insulated screwdrivers.
  • Torque Tool: Inch-pound torque screwdriver (ideal for NEC 110.14(D) compliance, though often skipped by DIYers, it prevents loose connections).

CRITICAL MAINS SAFETY PROTOCOL

Working on a wall receptacle involves lethal 120V AC mains voltage. You must de-energize the circuit at the main breaker panel before opening the junction box. Lock out the breaker or apply tape over it so no one accidentally flips it on. Once the cover plate is removed, verify the circuit is dead by testing between the black and white wires, and between the black and bare ground wires, using a tested CAT III multimeter. Never rely solely on a non-contact voltage tester, as they can yield false negatives on shielded cables. If you are unsure about your panel's labeling, shut off the main breaker. Local codes may require a licensed electrician for panel work; this guide follows NEC-style guidance for branch circuit terminations.

Step-by-Step: Wiring a 15A Wall Receptacle

This procedure assumes you are replacing an existing 15A duplex receptacle on a standard 120V branch circuit with 14/2 NM-B cable.

  1. Prepare the Box and Wires: Remove the old receptacle. Inspect the wire insulation for heat damage. Use your wire strippers to strip exactly 3/4 inch of insulation from the black, white, and bare copper wires. If the wire is 12 AWG, strip to the gauge marker on the tool to avoid nicking the copper.
  2. Form the J-Hooks: Using the needle-nose pliers built into your wire strippers, bend the stripped ends of the black, white, and bare wires into clockwise 'J' hooks. The clockwise direction ensures the screw pulls the loop tight as you tighten it, rather than pushing the wire out.
  3. Terminate the Ground: Loop the stripped end of the bare copper (ground) wire clockwise around the green grounding screw at the bottom of the receptacle. Tighten firmly until the loop is flat and secure.
  4. Terminate the Neutral: Loop the stripped end of the white (neutral) wire clockwise around one of the silver screws on the right side of the receptacle. Ensure no bare copper is exposed outside the screw head, and no insulation is trapped under the screw plate.
  5. Terminate the Hot: Loop the stripped end of the black (hot) wire clockwise around one of the brass screws on the left side of the receptacle. Tighten securely.
  6. Fold and Mount: Carefully fold the wires into the back of the junction box. Push the ground wire in first, followed by the neutral, then the hot. Mount the receptacle using the provided 6-32 machine screws, ensuring the 'TOP' marking on the yoke is facing up. Install the cover plate.

Step-by-Step: Wiring a 15A Replacement Cord Plug

If an appliance cord is damaged near the plug, cut off the old molded plug and wire a replacement NEMA 5-15P cord cap.

  1. Strip the Outer Jacket: Carefully slit and remove 2 inches of the cord's outer rubber jacket using a cable ripper or utility knife, exposing the inner conductors without nicking them.
  2. Strip the Conductors: Strip 1/2 inch of insulation from the inner wires. If your flexible cord uses stranded wire, twist the strands tightly so they don't fray under the screw terminals.
  3. Thread the Cord Grip: Unscrew the rear cord grip assembly of the new plug and slide it onto the cable before making any terminations.
  4. Terminate the Ground: Connect the green (or bare) wire to the green grounding terminal (usually the longest prong inside the assembly). Tighten the screw securely.
  5. Terminate the Neutral: Connect the white (or ribbed-side) wire to the silver screw terminal. If the cord has no white wire, the neutral is identified by a ribbed jacket or a printed stripe.
  6. Terminate the Hot: Connect the black (or smooth-side) wire to the brass screw terminal.
  7. Secure the Cord Grip: Slide the cord grip assembly up so it clamps firmly over the outer jacket of the cord, not the inner colored wires. Tighten the grip screws to provide strain relief.

Verify and Test: Expected Meter Readings

Never assume a wired receptacle is correct just because it looks neat. You must verify the electrical parameters before plugging in a load.

Test Points Multimeter Setting Expected Reading (120V System) What it Verifies
Hot (Brass) to Neutral (Silver) AC Voltage 114V - 126V Correct line voltage and continuity
Hot (Brass) to Ground (Green) AC Voltage 114V - 126V Equipment grounding path is intact
Neutral (Silver) to Ground (Green) AC Voltage 0V - 1.5V Neutral is not carrying stray current; no reverse polarity

If your Hot-to-Ground reading is 0V, you have an open ground (the bare wire is disconnected upstream or at the panel). If your Hot-to-Neutral is 0V but Hot-to-Ground is 120V, you have an open neutral. Stop and trace the fault.

The Most Common Botch: Backstabbing and Its Symptoms

The single most common mistake when wiring a wall receptacle is using the 'push-in' or 'backstab' terminals on the rear of the device instead of the side screw terminals.

The Physics of the Failure: Backstab terminals rely on a tiny, spring-loaded steel clip to bite into the copper wire. Steel is a poor conductor compared to copper, and the contact surface area is minuscule. When a high-draw appliance (like a space heater pulling 12A to 15A) is plugged in, this high-resistance joint generates heat. Over months of thermal expansion and contraction, the spring steel loses its tension.

The Symptom: You will experience intermittent power loss, a faint burning plastic smell near the baseboards, or a receptacle faceplate that feels warm to the touch. In severe cases, the plastic housing melts, and the device fails catastrophically. According to NFPA 70 (NEC) best practices and widespread electrician consensus, side-wiring (looping under the screw) or using screw-clamp plate receptacles (which allow you to insert a straight stripped wire under a metal plate that the screw clamps down on) are the only acceptable methods for long-term reliability.

Frequently Asked Questions

How to wire electric plug with 4 wires (240V)?

A 4-wire plug (like a NEMA 14-50 for an EV charger or electric range) operates on 240V and includes two hot legs, a neutral, and a ground. The wiring rules scale up: the bare/green wire goes to the green ground screw, the white neutral goes to the silver neutral terminal, and the black and red hot wires go to the two brass (or uncolored) hot terminals. Because these circuits carry 50A and lethal 240V, they require 6 AWG copper wire and strict adherence to torque specifications. Always consult OSHA electrical safety guidelines and local codes before attempting high-amperage 240V terminations.

What happens if you wire an electric plug backwards?

Wiring a plug backwards (connecting the black hot wire to the silver screw and the white neutral to the brass screw) creates a 'reverse polarity' condition. The receptacle will still power your devices, but it creates a severe shock hazard. For example, in a standard table lamp, the switch interrupts the hot wire. If reversed, the switch interrupts the neutral, meaning the metal threads of the lightbulb socket remain energized at 120V even when the lamp is turned off. Touching the threads while changing a bulb can result in a fatal shock.

How to wire electric plug for a 20-amp load?

If your load requires 20 amps (such as a large window AC unit or a workshop dust collector), you must ensure the branch circuit is protected by a 20A breaker and wired with 12 AWG copper. You can install a standard 15A receptacle on a 20A circuit (NEC allows this for multi-outlet branch circuits), but if you need a dedicated 20A receptacle, you must use a NEMA 5-20R device. The 5-20R has a T-shaped neutral slot to accept 20A plugs. The color-coding remains identical: Black to Brass, White to Silver, Bare to Green. Never install a 20A receptacle on a 15A breaker, as the breaker will trip before the receptacle reaches its rated capacity, and the 14 AWG wire upstream could overheat if multiple devices are daisy-chained.