To add a light switch to an existing always-hot light fixture, you must run a 2-wire (plus ground) switch loop from the ceiling fixture to a new wall switch box. Use 14 AWG NM-B cable on a 15-amp circuit or 12 AWG NM-B on a 20-amp circuit. The white wire in the switch loop must be re-identified with black tape to serve as the hot feed, while the black wire serves as the switched hot returning to the light.
Converting a pull-chain fixture or a hardwired always-hot ceiling light to a standard wall switch is one of the most common home electrical upgrades. It requires understanding the 'power-at-the-light' switch loop configuration, which differs from wiring a standard outlet. This guide walks you through the exact terminations, code requirements, and testing procedures to get it right the first time.
⚠️ Mains Voltage Safety Protocol
Working with household AC voltage (120V) is lethal. Before opening any junction box or light fixture, you must de-energize the circuit at the main breaker panel. Lock out or tag the breaker so no one accidentally flips it back on. Always verify the circuit is dead using a known-working non-contact voltage tester (NCVT) and a multimeter at the fixture wires before touching any bare copper. If you are unsure about your panel's labeling or local codes, consult a licensed electrician. Local AHJ (Authority Having Jurisdiction) rules always supersede general DIY guidance.
Tools and Materials Checklist
Gather these specific components before starting. Using the correct gauge and device rating ensures your installation passes inspection and prevents fire hazards.
- Cable: 14/2 NM-B (Romex) for 15A circuits, or 12/2 NM-B for 20A circuits. (Check your breaker size first).
- Switch: 15A, 120V Single-Pole Switch (e.g., Leviton Decora 5601) for 15A circuits, or a 20A rated switch (e.g., Leviton 5602) for 20A circuits.
- Boxes: 1-Gang 'Old Work' drywall box (e.g., Carlon B114R) for the wall switch location.
- Wire Prep: Wire strippers (e.g., Klein 11055), lineman's pliers, and black electrical tape (for re-identifying the white wire).
- Testing: Non-contact voltage tester (e.g., Klein NCVT-2) and a digital multimeter (e.g., Fluke 117).
- Hardware: Cable ripper, Romex staples (if running through unfinished joist bays), and wire nuts (yellow and red sizes).
Understanding the Switch Loop and NEC Color Codes
When power originates at the light fixture and you are routing a cable down to a new switch, you are creating a switch loop. In a standard 14/2 cable, you have a black (hot), white (neutral), and bare (ground) wire. However, a switch does not use a neutral wire; it only interrupts the hot leg.
Because you need two hot wires (one bringing power down to the switch, one carrying switched power back up to the light), you must repurpose the white wire in the cable to act as a hot conductor. According to NEC Article 404.2(A), when a white wire is used as an ungrounded (hot) conductor in a switch loop, it must be permanently re-identified with black tape or paint at both ends.
| Wire Color & Status | Termination Point | Screw / Connector |
|---|---|---|
| Panel Black (Hot) | Ceiling Light Box | Wire nut to 14/2 White (taped black) |
| Panel White (Neutral) | Ceiling Light Box | Wire nut to Fixture White |
| 14/2 White (Taped Black) | Wall Switch Box | Brass Screw (Hot Feed) |
| 14/2 Black | Wall Switch Box | Brass Screw (Switched Hot) |
| 14/2 Black | Ceiling Light Box | Wire nut to Fixture Black |
| All Bare Copper | Both Boxes | Green Ground Screw / Box Ground |
Step-by-Step Installation: Running the Switch Loop
Follow these steps precisely. Every termination must match the wire colors and screw types listed below.
- Cut and Mount the Switch Box: Use a drywall saw to cut a hole for your 1-gang old-work box at the desired switch height (standard is 48 inches from the floor to the box center). Insert the box and tighten the mounting screws until the drywall clamps pull flush against the wall.
- Run the NM-B Cable: Feed your 14/2 or 12/2 NM-B cable from the ceiling fixture hole down through the wall cavity to the new switch box. Leave at least 8 inches of cable protruding from both boxes. Strip back 3/4 inch of insulation from the individual conductors at both ends.
- Re-identify the White Wire: Wrap black electrical tape completely around the last 2 inches of the white wire at both the ceiling box and the switch box. This marks it as a hot conductor per NEC code.
- Wire the Ceiling Fixture (Line Side):
- Connect the incoming Black (hot) wire from the breaker panel to the White wire (taped black) of your new 14/2 cable using a yellow wire nut.
- Connect the incoming White (neutral) wire from the panel directly to the White wire of the light fixture.
- Connect the Black wire of your new 14/2 cable to the Black wire of the light fixture.
- Pigtail all Bare copper grounds together and attach them to the metal box (if applicable) and the fixture's green ground screw.
- Wire the Wall Switch (Load Side):
- Connect the White wire (taped black) to one of the Brass screws on the single-pole switch. (On a standard single-pole switch, the two brass screws are interchangeable; there is no 'line' or 'load' distinction like on a GFCI).
- Connect the Black wire to the other Brass screw on the switch.
- Loop the Bare copper wire clockwise around the Green ground screw at the bottom of the switch yoke and tighten securely.
- Tuck and Mount: Carefully fold the wires into the back of the switch box, ensuring no bare copper is exposed outside the wire nuts or terminal screws. Mount the switch to the box using the provided 6-32 machine screws, then attach the wall plate.
Verify and Test: Expected Meter Readings
Never skip the testing phase. According to OSHA electrical safety guidelines, verifying a safe installation prevents arc faults and shock hazards. Keep the breaker OFF for the first two tests.
- Visual Inspection: Tug gently on every wire nut. Ensure no bare copper is visible outside the connector. Verify the white wire has black tape at both ends.
- Continuity Test (Breaker OFF): Set your multimeter to continuity (the diode/beep setting). Place one probe on the switch's green ground screw and the other on the bare ground wire at the ceiling fixture. You should hear a continuous beep, reading < 1 ohm, confirming a solid ground path.
- Short Circuit Check (Breaker OFF): With the switch in the 'ON' position, place one probe on the black wire terminal and one on the ground terminal at the ceiling fixture. The meter should read 'OL' (Open Line) or infinite resistance. If it beeps, you have a short circuit—do not turn the breaker on.
- Voltage Test (Breaker ON): Turn the breaker on. Set your multimeter to AC Voltage (V~). Carefully measure between the Black fixture wire and the White fixture wire at the ceiling box. You should read 120V (±5V) when the switch is ON, and 0V when the switch is OFF. Measure between the White (neutral) and Bare (ground) wires; this should read < 2V under load, confirming the neutral is not carrying stray voltage.
The Most Common Botch: Switching the Neutral
The most frequent and dangerous mistake DIYers make when learning how to add a light switch to a light is switching the neutral instead of the hot wire.
The Symptom: The light turns on and off perfectly when you flip the switch, so you assume the job is done. However, when you go to change a burnt-out bulb and accidentally touch the inside of the socket, you receive a 120V shock.
The Cause: This happens if you route the panel's black (hot) wire directly to the light fixture, and use the switch loop to interrupt the white (neutral) wire instead. The switch successfully breaks the circuit, turning off the light, but the light socket remains continuously energized with 120V from the panel. Always ensure the switch loop interrupts the black (hot) feed, and the white (neutral) from the panel goes directly to the fixture without passing through the switch.
Frequently Asked Questions
Can I add a light switch to a light without running new wire?
If fishing a 14/2 cable through finished drywall is impossible, you can use a wireless smart switch system. Devices like the Lutron Caséta Wireless system allow you to wire a smart receiver directly into the ceiling fixture (replacing the always-hot connection) and mount a battery-powered Pico remote on the wall where you want the switch. This avoids running NM-B cable entirely while maintaining code compliance, as the wall plate is just a low-voltage remote.
What gauge wire and device rating do I need for a standard light switch?
Your wire gauge must match or exceed the breaker rating protecting the circuit. Use 14 AWG copper wire for a 15-amp breaker, and 12 AWG copper wire for a 20-amp breaker. For the device rating, a standard 15A, 120V single-pole switch is legally permitted on a 20A circuit if it controls only a lighting load (per NEC 404.14(C)(1)). However, best practice is to install a 20A-rated switch on a 20A circuit to ensure the internal contacts can handle the heavier current without degrading over time.
Which screw does the black wire go on a single-pole switch?
On a standard single-pole toggle or Decora rocker switch, there are two brass screws and one green ground screw. The black (hot) wire and the re-identified white (hot feed) wire can go on either of the two brass screws. Unlike GFCI receptacles or 3-way switches, standard single-pole switches are not directional; they simply act as a bridge between the two brass terminals. The bare copper ground wire must always go on the green screw.
Why does my light switch have a red wire?
If you are replacing an existing switch and find a red wire connected to it, you are likely not looking at a standard single-pole switch loop. A red wire typically indicates a 3-way switch setup (where two switches control the same light) or a multi-wire branch circuit (MWBC). It can also be present if the switch is a smart switch or timer that requires a neutral connection (though neutrals are usually white). If you see a red wire, stop and trace the circuit; do not wire it as a standard single-pole loop.






