Wiring a single-pole switch to control a hardwired light fixture is a foundational electrical skill. When executed correctly, the circuit provides reliable operation, meets modern code requirements for neutral availability, and eliminates shock hazards during bulb changes. This guide details exactly how to wire up a light to a switch using standard 14/2 NM-B (Romex) cable on a 15-amp branch circuit, routing power from the breaker panel to the switch box first, and then to the light fixture.

Tools, Materials, and Wire Sizing Specs

Before pulling any wire, verify your components match the circuit ampacity. A standard residential lighting circuit operates at 15 amps and 120V AC. Using 14 AWG copper wire is standard, but if your home uses 20-amp lighting circuits, you must upgrade to 12 AWG wire and a 20-amp rated switch.

Required Tools and Materials

  • Cable: 14/2 NM-B (Romex) with ground. You need one run from the panel to the switch box, and a second run from the switch box to the light fixture box.
  • Switch: 15A, 120V AC single-pole toggle or rocker (e.g., Leviton Decora 5601 or Eaton 12015).
  • Boxes: Single-gang nail-on or old-work boxes (minimum 18 cubic inches for the switch location).
  • Connectors: Yellow or red wire nuts (rated for 2 to 3 14 AWG wires) and push-in cable connectors for the boxes.
  • Tools: Klein Tools 11055 wire strippers, lineman pliers, Phillips screwdriver, non-contact voltage tester (NCVT), and a CAT III digital multimeter.

Component Specification Sheet

Component Specification NEC Reference / Reason
Branch Circuit Breaker 15A, 120V Single Pole NEC 240.4(D) limits 14 AWG copper to 15A max
Cable (Power & Load) 14/2 NM-B (Romex) NEC 334.10 (Approved for dry, indoor residential)
Wall Switch 15A, 120V AC Single-Pole Must match or exceed circuit ampacity
Switch Box Volume Minimum 18 cubic inches NEC 314.16 box fill: 4 current-carrying conductors + grounds + device yoke
Wire Connectors Yellow/Red Wire Nuts UL listed for 14 AWG solid copper combinations

Mains Safety and Pre-Wiring Verification

WARNING: LETHAL VOLTAGE HAZARD

Working on branch circuits involves 120V AC mains voltage, which can cause fatal electrocution or arc flash injuries. Never rely solely on a wall switch to de-energize a circuit.

  1. Turn off the 15A breaker controlling the lighting circuit at the main service panel.
  2. Apply a lockout/tagout device to the breaker panel if others are present in the home.
  3. Test your NCVT and multimeter on a known live circuit (like a plugged-in lamp) to verify the testers are functioning.
  4. Insert the NCVT into the switch box and light box. It must remain completely silent and unlit.
  5. Verify dead with a multimeter set to AC Voltage: measure between the black (hot) and white (neutral) wires, and between the black wire and the bare ground. Both readings must be 0.0V.

Note: Local codes and the Electrical Safety Foundation International (ESFI) recommend hiring a licensed electrician if you are unsure about identifying the correct breaker or verifying a dead circuit.

Step-by-Step: How to Wire Up a Light to a Switch

This procedure assumes power enters the switch box first, which is the preferred modern method. It ensures a neutral wire is present at the switch location, complying with NEC 404.2(C) for future smart switch upgrades.

Step 1: Prepare the Cables and Boxes

  1. Strip the outer yellow NM-B jacket back exactly 3/4 inch past the cable clamp inside both the switch box and the light box using your cable ripper or lineman pliers.
  2. Strip 3/4 inch of insulation from the ends of all black and white conductors. Do not nick the copper; a nicked wire creates a weak point that can snap under the screw terminal.
  3. Leave the bare copper ground wires at their full length, but strip the last 1/2 inch if they are coated with any residual clear insulation.

Step 2: Terminate the Ground Wires (Bare Copper)

  1. In the Switch Box: Twist the bare copper wire from the panel, the bare copper wire going to the light, and a 6-inch bare copper pigtail together. Secure with a yellow wire nut. Attach the free end of the pigtail to the green ground screw on the switch yoke.
  2. In the Light Box: Connect the bare copper wire from the switch to the bare copper fixture wire (or the green ground screw on the fixture mounting bracket) using a wire nut or grounding clip.

Step 3: Terminate the Neutral Wires (White)

  1. In the Switch Box: The switch itself does not connect to the neutral. Twist the white wire from the panel and the white wire going to the light together. Cap them with a red or yellow wire nut. Push this bundle neatly into the back of the box.
  2. In the Light Box: Connect the white wire from the switch to the white (neutral) fixture wire. If the fixture uses screw terminals, land the white wire on the silver-colored screw. If it uses wire leads, twist them together and cap with a wire nut.

Step 4: Terminate the Line and Load Hot Wires (Black)

  1. In the Switch Box (Line): Take the black wire coming from the breaker panel. Form a J-hook and wrap it clockwise around the bottom brass-colored screw on the switch. Tighten the screw until the yoke makes firm contact (approx. 12-14 in-lbs of torque).
  2. In the Switch Box (Load): Take the black wire running to the light fixture. Form a J-hook and wrap it clockwise around the top brass-colored screw on the switch. Tighten securely.
  3. In the Light Box: Connect the black wire from the switch to the black (hot) fixture wire. Land this on the brass-colored screw on the fixture, or twist with the black fixture lead and cap with a wire nut.

Step 5: Final Assembly

  1. Fold the wires into the boxes using a specific sequence: grounds first (pushed to the back), then neutrals, then hots. This prevents pinching the insulation against the metal yoke.
  2. Secure the switch to the box using the provided 6-32 machine screws. Ensure the yoke sits flush against the drywall or plaster ear.
  3. Mount the light fixture to its electrical box according to the manufacturer's hardware instructions.

The Most Common Botch (And How to Avoid It)

When learning how to wire up a light to a switch, beginners frequently make two critical errors that lead to immediate failure or long-term fire hazards.

Botch 1: Using Push-In 'Backstab' Connectors

The Mistake: Stripping the wire too long and shoving it into the small holes on the back of the switch rather than using the side screw terminals.

The Symptom: The light works initially, but after a few months of thermal expansion and contraction, the internal spring grip loosens. This creates a high-resistance joint, leading to voltage drop, flickering lights, and eventually a melted plastic switch housing or arc fault.

The Fix: Always use the side screw terminals. Wrap the wire clockwise so the tightening action pulls the loop closed. If your switch only has back-wire clamps (where a screw tightens a plate over the wire), those are acceptable, but standard push-in holes are forbidden by best practices for 14 AWG solid wire.

Botch 2: Switching the Neutral Instead of the Hot

The Mistake: Breaking the white neutral wire through the switch while tying the black wires directly together.

The Symptom: The light turns on and off normally. However, when you turn the switch off to change a bulb, the light socket remains fully energized at 120V AC. Touching the wrong part of the socket can result in a severe shock.

The Fix: The switch must always interrupt the ungrounded (hot/black) conductor. If you are working with an older 'switch loop' where power goes to the light first, the white wire running down to the switch must be re-identified with black tape and used as the hot line, ensuring the black wire is the switched return. By routing power to the switch box first (as detailed in this guide), you naturally avoid this hazard.

Verify and Test Your Work

Before installing the wall plate and light bulb covers, you must verify the circuit integrity. According to NFPA and NEC standards, testing ensures no short circuits exist before energizing the breaker.

Continuity and Short Circuit Check (Power OFF)

  1. Set your multimeter to Continuity (the diode/beep symbol) or Resistance (Ohms).
  2. Place one probe on the black (hot) wire at the panel and the other on the white (neutral) wire at the panel. The meter should read 'OL' (Open Line) or infinite resistance. If it beeps or reads near 0 ohms, you have a dead short. Do not turn the breaker on.
  3. Place one probe on the black wire and the other on the bare ground. It should also read 'OL'.

Voltage Verification (Power ON)

  1. Ensure the wall switch is in the OFF position.
  2. Turn the 15A breaker back on at the panel.
  3. Set your multimeter to AC Voltage (V~).
  4. At the light fixture (before installing the bulb), place the black probe on the brass socket contact and the red probe on the silver threaded sleeve. Expected Reading: 0.0V to 0.5V.
  5. Flip the wall switch to the ON position. Expected Reading: 114V to 126V (standard US nominal 120V range).
  6. Finally, measure between the brass socket contact and the bare ground wire in the box. It should also read ~120V with the switch on.

Once these readings are confirmed, turn the breaker off one last time to safely install the wall plate and fixture canopy, then restore power for final operational use. For further reading on residential wiring safety and arc-fault protection, refer to the OSHA electrical safety guidelines regarding branch circuit maintenance.