To wire LED diodes for permanent home lighting, you must connect 120V AC mains wires (black, white, and bare copper) to the input terminals of an LED driver, then route the low-voltage DC output (red and black) to the LED diode strip’s V+ and V- contact pads. For a standard 15-amp residential lighting circuit, use 14 AWG NM-B cable for the high-voltage side and 16 AWG or 18 AWG stranded copper wire for the low-voltage side.

In home electrical applications, "LED diodes" rarely refers to bare through-hole components on a breadboard. Instead, it refers to hardwired LED strip lights, COB tape lights, or puck light arrays that contain surface-mount diodes (like SMD 2835 or 5050 chips). Because these diode arrays operate on low-voltage DC (typically 12V or 24V), they require a constant-voltage LED driver to step down the 120V AC household current. This guide covers the complete end-to-end wiring process, from the breaker panel to the final diode termination.

⚠️ MAINS VOLTAGE SAFETY WARNING

Working with 120V AC mains voltage carries a risk of fatal electric shock and arc flash. Before touching any wires, you must turn off the circuit breaker supplying the lighting circuit at the main panel. Lock out or tag the breaker if others are in the home. Verify the circuit is dead using a Non-Contact Voltage Tester (NCVT) and confirm with a digital multimeter set to AC voltage. If you are unsure about local electrical codes or your ability to safely terminate mains wiring, hire a licensed electrician. NEC-style guidance is provided here; your local Authority Having Jurisdiction (AHJ) has final authority.

Tools, Materials, and Circuit Sizing

Before pulling any wire, ensure your materials match the electrical load and the physical environment. LED drivers and diode strips are highly efficient, but improper wire sizing on the low-voltage side will cause severe voltage drop, resulting in dim or flickering diodes at the far end of the run.

Component Specification / Rating Purpose
Branch Circuit Breaker 15A (Single Pole) Overcurrent protection for the 120V AC lighting circuit.
Mains Cable 14 AWG NM-B (Romex) Carries 120V AC from the wall switch to the LED driver. Rated for 15A at 60°C.
LED Driver Constant Voltage, Dimmable (e.g., 12V DC, 60W max) Steps down 120V AC to 12V DC. Must be rated for at least 20% more wattage than the total diode load.
Low-Voltage Wire 16 AWG or 18 AWG Stranded (Red/Black) Carries DC from the driver to the LED diodes. Stranded wire flexes easily inside aluminum channels.
Wire Connectors Wago 221 Lever Nuts (Mains), Solder/Heat Shrink (DC) Secure, vibration-proof terminations for both AC and DC sides.
Testing Equipment NCVT, Digital Multimeter (CAT III rated) Verifying dead circuits and measuring voltage drop across the diode array.

Sizing Rule of Thumb: According to the NFPA 70 National Electrical Code, lighting loads that will be on for three hours or more are considered "continuous loads." This means you must derate the circuit by 20%. On a 15A breaker, your continuous load cannot exceed 12A (1,440W at 120V). A typical 60W LED driver draws only 0.5A, so you can safely daisy-chain multiple drivers on a single 15A circuit, provided the physical box fill capacities are not exceeded.

Step-by-Step: Wiring the LED Driver and Diodes

Follow this sequence to terminate both the high-voltage AC supply and the low-voltage DC output. Never mix up the AC and DC terminal blocks on the driver; doing so will instantly destroy the driver's internal switching components.

  1. Rough-in the Mains Switch Loop: Run your 14 AWG NM-B cable from the wall switch box to the junction box where the LED driver will be mounted. At the driver junction box, strip back 3/4 inch of the outer NM-B jacket. Strip 1/2 inch of insulation from the black (hot), white (neutral), and bare copper (ground) wires.
  2. Terminate the Ground Wire: Connect the bare copper ground wire from the NM-B cable to the green grounding screw on the LED driver's AC terminal block. If the driver is housed in a metal junction box, also run a 14 AWG bare copper pigtail from the driver's ground screw to the metal box's grounding hole.
  3. Terminate the AC Neutral: Insert the white neutral wire into the terminal marked "N" or "Neutral" on the driver's AC input block. Tighten the screw to the manufacturer's specified torque (usually around 0.5 Nm) and give the wire a firm tug to ensure it is seated below the pressure plate, not just pinched by the screw threads.
  4. Terminate the AC Hot: Insert the black hot wire into the terminal marked "L" or "Line" on the driver. Tighten securely. At this stage, the high-voltage side is fully wired. Tuck the wires neatly into the junction box and secure the driver's cover plate.
  5. Prepare the Low-Voltage DC Wires: Cut your 16 AWG or 18 AWG stranded red (V+) and black (V-) wires to the length needed to reach from the driver to the start of the LED diode strip. Strip 1/4 inch of insulation from both ends. Tin the stripped ends with a soldering iron to prevent stranded wire fraying in the terminal blocks.
  6. Terminate the DC Output at the Driver: Insert the red wire into the driver's DC output terminal marked "V+" or "+V". Insert the black wire into the terminal marked "V-" or "-V". Tighten the screws firmly. Reversed polarity here will prevent the diodes from lighting and may damage the strip's internal resistors.
  7. Connect the DC Wires to the LED Diodes: At the LED strip's contact pads, solder the red wire to the copper pad marked "+" or "12V/24V". Solder the black wire to the pad marked "-" or "GND". If using quick-connectors instead of soldering, ensure the red wire aligns with the positive pin and the black wire aligns with the negative pin. Slide heat shrink tubing over the solder joints and apply heat to seal them against moisture and short circuits.

Testing and Verification

Do not skip the testing phase. Verifying voltage before and after connecting the delicate LED diodes protects your investment and confirms your terminations are solid.

  1. Verify Mains Voltage: Turn the 15A breaker back on at the panel. Turn the wall switch to the "ON" position. Set your multimeter to AC Voltage (V~). Place the probes on the "L" and "N" terminals of the LED driver. You should read between 114V and 126V AC. If you read 0V, check the wall switch wiring and breaker.
  2. Verify Driver Output (Open Circuit): Before connecting the low-voltage wires to the actual LED diode strip, set your multimeter to DC Voltage (V⎓). Place the red probe on the red wire and the black probe on the black wire. You should read exactly 12.0V to 12.5V DC (for a 12V system). If you read a negative number, your probes are reversed, but the wiring is correct. If you read 0V, the driver's internal short-circuit protection may be tripped, or the driver is defective.
  3. Measure Voltage Drop Under Load: Connect the wires to the LED diode strip. Turn the system on. Measure the DC voltage at the driver output again, then measure it at the far end of the LED diode strip. According to Department of Energy solid-state lighting guidelines, LED diodes are sensitive to voltage drops. If the voltage at the far end of the strip drops below 11.4V DC (a drop of more than 5%), the diodes at the end of the strip will appear visibly dimmer than those at the beginning. If this occurs, you must upgrade from 18 AWG to 14 AWG low-voltage wire, or inject power at both ends of the diode strip.

The Most Common Wiring Botch

The most frequent mistake DIYers make when wiring hardwired LED diodes is pairing a standard leading-edge (TRIAC) incandescent dimmer with a non-dimmable or incompatible LED driver.

The Symptom: The LED diodes strobe violently, emit a loud buzzing noise from the driver, or suddenly drop out completely when dimmed below 40%.

The Cause: Standard TRIAC dimmers were designed for high-wattage resistive loads (like old 60W incandescent bulbs). They chop the AC sine wave to reduce power. LED drivers draw very little current, often falling below the minimum holding current required by the TRIAC dimmer to stay latched, causing the dimmer to rapidly cycle on and off (flickering). Furthermore, if the driver is not explicitly rated as "dimmable," the chopped AC wave will destroy the driver's input capacitors.

The Fix: Always check the manufacturer's LED compatibility matrix. Replace the wall switch with an ELV (Electronic Low Voltage / trailing-edge) dimmer or a dedicated 0-10V LED dimmer that matches your specific driver model. Ensure the total wattage of the LED diodes falls within the dimmer's specified minimum and maximum LED load range.

Frequently Asked Questions

Can I wire LED diodes directly to 120V AC without a driver?

No. Standard LED diode strips and arrays are designed for low-voltage DC (12V or 24V). Connecting them directly to 120V AC mains will cause an immediate, violent failure, likely resulting in a popped breaker, melted copper traces, and a severe fire hazard. The only exception is if you are installing a self-contained, UL-listed 120V AC LED fixture (like a standard LED light bulb or a hardwired 120V LED wraparound ceiling light), which has the driver circuitry miniaturized and sealed inside the fixture housing.

What happens if I wire the LED diode strip backward (reverse polarity)?

LEDs (Light Emitting Diodes) are polarized components, meaning they only allow current to flow in one direction. If you connect the red wire to the negative pad and the black wire to the positive pad, the diodes simply will not light up. Fortunately, modern 12V/24V LED strips have built-in current-limiting resistors that usually prevent the diodes from being destroyed by reverse polarity at these low voltages. Simply disconnect the power, swap the red and black wires at the terminal block, and the strip will function normally.

How far can I run the low-voltage wire from the driver to the LED diodes?

The maximum run distance is dictated by voltage drop, not by a strict code limit. For a 12V system drawing 5 Amps (60W), using 18 AWG copper wire, you will experience roughly a 0.6V drop per 10 feet of wire (20 feet total round-trip). To keep the voltage drop under the recommended 3% (0.36V) for optimal LED lifespan and color accuracy, you should keep 18 AWG runs under 5 feet. For runs up to 15 feet, upgrade to 14 AWG low-voltage wire. If you need to run wire 30+ feet, consider moving the LED driver closer to the diodes or switching to a 24V DC LED system, which cuts the amperage (and the voltage drop) in half for the same wattage.

Why do my hardwired LED diodes flicker when the wall switch is off?

This phenomenon, known as "ghosting" or "afterglow," is usually caused by a smart switch or an illuminated wall switch (a switch with a small neon locator light). These switches allow a tiny trickle of current (a few milliamps) to pass through the circuit even when turned off, so the switch's internal electronics or locator light can remain powered. Because LED diodes are incredibly efficient, this tiny trickle of current is enough to charge the capacitors inside the LED driver. Once the capacitor is full, it discharges into the diodes, causing a brief flash, and the cycle repeats. To fix this, install a bypass resistor (often provided by smart switch manufacturers) across the Line and Load terminals at the light fixture, or replace the illuminated switch with a standard mechanical toggle or a smart switch that requires a dedicated neutral wire.