How to Wire a Switch to a Light: Circuit, Cable, and Safe Wiring

Wire A Switch To A Light — circuit diagram showing component connectionsBreakerSwitchLight230V AC UtilityLight Switch Wiring
How to Wire a Switch to a Light: Circuit, Cable, and Safe Wiring — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable wire a switch to a light: download the diagram as SVG or open it and print to paper or PDF.

Wiring a switch to a light requires breaking the line (live/hot) conductor in series through the switch, with the neutral conductor running unbroken from the supply to the light fitting and the earth conductor continuous throughout.

The fundamental rule of switch wiring is that the switch must interrupt only the line (live or hot) conductor — never the neutral. This rule exists because a switch opens the circuit by creating a physical gap in the conductor. If that gap is in the neutral conductor, the light fitting and its internal components remain at line potential when the switch is open — a shock hazard for anyone who touches the lamp cap or internal terminals believing the circuit is safe because the light is off.

In a basic one-way switch circuit supplying a single ceiling light, the supply cable enters at the consumer unit with three conductors: line (brown in IEC/UK post-2004 wiring; red in older UK wiring; black in North American wiring), neutral (blue IEC/UK; black older UK; white North American), and earth (green/yellow IEC/UK; green North American).

Two wiring configurations are common depending on where the cable enters first: switch-loop wiring and light-first wiring.

In switch-loop wiring (common where cable runs from the consumer unit to the ceiling rose first), the supply connects to the ceiling rose. A two-core switch drop cable runs from the ceiling rose down to the switch. In this drop cable, one conductor carries the permanent line supply down to the switch, and the other returns the switched line back up to the ceiling rose. The switched-live at the ceiling rose connects to the lamp, completing the controlled circuit. Current UK and NEC wiring practice requires the conductor being used as the switched line return to be sleeved or marked to indicate it is a line conductor, not a neutral.

In lighting-circuit wiring where the cable runs to the switch first, the supply line connects directly to the switch, the switched line returns to the fitting, and the neutral runs directly to the fitting without passing through the switch. This is generally the preferred arrangement as it avoids neutral-conductor identification ambiguity.

Earth (ground) conductors must be continuous throughout — connected at the consumer unit, at junction boxes, at metal switch plates, and at metal luminaire bodies. Plastic switch plates and plastic luminaire bodies do not require earthing of the fitting body, but the circuit earth must still be present and connected to the earth terminal in the back box.

Wiring a switch to a light in South Africa follows SANS 10142-1 which uses a colour scheme of red (phase/live), black (neutral), and green or green-and-yellow (earth). The phase conductor runs to one terminal of the switch and returns as a switched live to the lamp holder; the neutral goes directly to the lamp. In older installations the return conductor was sometimes re-sleeved red to indicate it is live when the switch is on. Understanding these local conventions is essential before any domestic wiring work. Build and annotate your South African light switch diagram free in the browser-based circuit editor.

How to wire wire a switch to a light

  1. Isolate the circuit and verify dead Switch off the relevant circuit breaker at the consumer unit and apply a lockout clip. Verify no voltage is present at the switch and light locations using a calibrated voltage tester. Do not proceed until you have verified dead at all points you will be working on.
  2. Plan the cable route Determine the cable route from the consumer unit or nearest supply point to the light fitting location and from the light location down to the switch. Use cable detectors to avoid drilling into existing concealed wiring.
  3. Select the correct cable Use a minimum 1.0mm² (for 6A lighting circuits) or 1.5mm² (for 10A lighting circuits) twin-and-earth cable. In North America, 14AWG for 15A circuits or 12AWG for 20A circuits is standard. Use appropriately rated heat-resistant flex at the light fitting.
  4. Run and terminate the supply cable at the ceiling rose or junction box Connect the supply line conductor to the line terminal block, supply neutral to the neutral terminal block, and supply earth to the earth terminal. In a ceiling rose, this is the supply-in terminal block (typically centre terminals).
  5. Wire the switch cable between the light location and the switch Run a two-core-and-earth cable from the ceiling rose or junction box down to the switch. At the ceiling rose: connect one core to the line terminal (permanent live supply down to switch) and the other core to the switched-live return terminal. Sleeve the switched-live return conductor with brown (or red) sleeving if it is the same colour as the neutral.
  6. Connect the switch At the switch, both switch cable cores (permanent live in, switched live out) connect to the two terminals of the switch. It does not matter which terminal each core goes to for a one-way switch — a one-way switch makes and breaks between its two terminals regardless of polarity.
  7. Connect the lamp and restore supply Connect the switched live and neutral to the lamp holder or light fitting terminals. Connect earth to the fitting's earth terminal (if metal) or the back box. Restore the circuit breaker, test operation, and verify the switch controls the light correctly in both positions.

Specifications

Standard lighting circuit rating (UK domestic)6A MCB (BS EN 60898 Type B), protecting 1.0mm² cable
Standard lighting circuit rating (North America)15A breaker protecting 14AWG (2.08mm²) copper; 20A protecting 12AWG
Minimum cable size (UK 6A lighting circuit)1.0mm² twin-and-earth
Switch voltage and current rating (UK)6A or 10A at 230V AC
Earth conductor identificationGreen/yellow sleeving (IEC/UK), green or bare copper (North America)
Line conductor colour (current IEC/UK)Brown (formerly red in older UK wiring)
Neutral conductor colour (current IEC/UK)Blue (formerly black in older UK wiring)

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Light does not turn on with switch in either position
Cause: Open circuit somewhere in the loop — possible broken conductor, loose terminal, faulty lamp, failed lamp holder, or tripped circuit breaker Fix: Verify the circuit breaker is not tripped. Test the lamp in a known working fitting. Measure voltage at the light fitting terminals (switched live and neutral) with switch on — if no voltage, trace back to the switch to confirm switched live output, then back to the supply.
Light stays on regardless of switch position
Cause: Switch is wired across the wrong conductors (e.g., across neutral and earth rather than in the live conductor), or switch has a mechanical fault and contacts are permanently closed Fix: Isolate, verify dead, open the switch, and inspect wiring. Confirm both cores of the switch cable are connected to the switch terminals. Test switch continuity with a multimeter — correct operation is open circuit with switch off, closed circuit with switch on.
Circuit breaker trips when switch is turned on
Cause: Short circuit between line and neutral or line and earth in the switch cable, at the light fitting wiring, or in the lamp itself Fix: Remove the lamp. Reset the breaker and try again — if it holds, the lamp was shorted. If it still trips, isolate and disconnect the switch cable at the ceiling rose; if the breaker now holds, the fault is in the switch cable or switch itself. Inspect all terminations for conductor-to-conductor contact.

Frequently asked questions

Why is the switch always wired in the line (live) conductor and not the neutral?

The switch must interrupt the line conductor because when the switch is open, the downstream wiring and fitting must be de-energised (at zero potential relative to earth) so it is safe to touch. A switch in the neutral leaves the fitting connected to line voltage even when the switch is open — the light is off but the circuit is still dangerous.

What is a switch loop and how do I identify it in existing wiring?

A switch loop is a wiring arrangement where a two-core cable runs from the light fitting down to a single-gang switch. One core carries the permanent live supply down to the switch; the other returns the switched live back up. In older wiring, both cores may be the same colour — the switched live return should be sleeved or taped brown (or red in older conventions) to indicate it is a live conductor.

Do I need to connect an earth wire to a plastic light switch?

A plastic (non-conductive) switch plate does not require an earth connection to the plate itself. However, the earth conductor must still be present in the back box, connected to the earth terminal if the back box is metal. If the back box is plastic and no other metal parts are present, the earth conductor is still connected through to provide continuity to the rest of the circuit.

Can I extend an existing light circuit to add more lights?

Yes — you can connect additional fittings from an existing junction box or ceiling rose, provided the circuit's total connected load does not exceed the circuit breaker's rating and the wiring ring or radial design allows for the extension. In most domestic lighting circuits, each circuit is protected by a 6A or 10A breaker, limiting total load to around 1,380W or 2,300W respectively.

What is the difference between a junction box wiring method and a ceiling rose method?

In the junction box method, a separate junction box in the ceiling void joins the supply cable, the switch cable, and the light fitting cable at a single point. In the ceiling rose method, the ceiling rose itself acts as the junction point — the rose has multiple terminals for supply in, supply out to next rose, switch cable, and lamp. Both are acceptable; the junction box method is tidier in retrofits where no ceiling rose is used.

How do you wire a light switch in South Africa according to SANS 10142?

Under SANS 10142-1, the phase (live) conductor is red, neutral is black, and earth is green or green-and-yellow. The red phase wire feeds one terminal of the switch; the return switched-live (also red, or sometimes re-sleeved red) runs from the other switch terminal to the lamp. The black neutral connects directly to the lamp holder's neutral terminal, and the green-and-yellow earth bonds the fitting's metal parts. Always isolate the circuit at the distribution board and confirm dead with a voltage tester before working on it.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor