How to Wire a Switch to a Light: Circuit, Cable, and Safe 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
- 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.
- 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.
- 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.
- 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).
- 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.
- 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.
- 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 identification | Green/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
- Fixed electrical wiring work, including adding, modifying, or replacing light switches and circuits, must comply with local electrical regulations. In the UK, notifiable work under Part P of the Building Regulations requires notification to a registered electrician or local authority. In most countries, this work requires a licensed electrician or must be inspected and certified.
- Always isolate the circuit at the consumer unit, apply a lockout on the circuit breaker, and verify there is no voltage at the switch and light locations using a calibrated voltage tester before touching any wiring.
- The switch must interrupt only the line (live) conductor. Never wire a switch in the neutral conductor — this leaves the fitting energised even when the switch is open.
- Earth continuity is mandatory throughout the circuit. A missing earth connection on a metal switch plate or metal luminaire body means a live-to-metal fault has no safe path to earth and will leave the metalwork at mains voltage until someone touches it.
- In bathrooms and other wet locations, special zone requirements apply (IEC 60364-7-701, BS 7671 Section 701) — light switches must not be installed within specific zones near water sources, and only approved IP-rated fittings may be used.
Tools needed
- Calibrated voltage tester or non-contact voltage detector (mandatory before starting work)
- Cable and pipe detector (for avoiding concealed services when chasing or drilling)
- Screwdrivers (flat and cross-head)
- Wire strippers rated for cable sizes being used
- Electrician's knife for removing cable sheathing
- Drill and appropriate bits (for back box installation and cable routing)
- Green/yellow earth sleeving and brown sleeving/tape for conductor identification
Common mistakes
- Wiring the switch in the neutral conductor instead of the live — the light turns off correctly but the fitting remains live and is dangerous to service.
- Failing to sleeve or identify the switch-loop return conductor as a live conductor — maintenance personnel may mistakenly treat it as a neutral based on its colour (blue or white) and receive an electric shock.
- Not connecting the earth conductor to metal switch back boxes or metal light fitting bodies — creates a shock hazard if an insulation fault develops.
- Using cable rated below the circuit breaker's current rating (e.g., 0.5mm² cable on a 10A circuit) — undersized cable overheats under load and is a fire risk.
- Making wiring connections with the circuit live — an obvious but frequently occurring cause of electric shock incidents during DIY and maintenance work.
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
- 2 wire light switch
- 4 wire light switch diagram
- wiring a switch to an outlet
- wiring diagram for light switch to multiple lights
- 1 way light switch wiring diagram
- 1 wire oil pressure switch wiring diagram