Motion Sensor Light Wiring Diagram: PIR Switch Connection, Load Wiring & Override Modes

Motion Sensor Light Wiring Diagram — circuit diagram showing component connections+12V/24V SupplyPIRPIR Motion SensorPull-up RARDUINOUNOMCU / ReaderIndicatorPIR Motion Sensor Circuit
Motion Sensor Light Wiring Diagram: PIR Switch Connection, Load Wiring & Override Modes — interactive diagram. Open it in the editor to customise components and wiring.

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

Understand how to wire a passive infrared (PIR) motion sensor to control a light fixture — covering switched live routing, load connection, override test mode, and common single-sensor and multi-sensor configurations.

A passive infrared (PIR) motion sensor detects the difference in infrared radiation between a moving warm body (a person, animal, or vehicle) and the ambient background. It does not emit radiation — it only receives. When it detects motion, it closes an internal relay or triac, energising the connected lighting load for a preset time period (the hold-off or time delay, typically adjustable from 10 seconds to 30 minutes).

From a wiring perspective, a PIR motion sensor is simply an automatically operated switch inserted into the switched-live conductor of the lighting circuit. The mains supply (live and neutral) must reach the sensor — the sensor needs a small continuous power supply for its electronics. From the sensor's switched output, the switched-live travels to the lamp. Neutral goes directly from the supply to the lamp without passing through the sensor.

This three-wire requirement (live in, neutral in, switched live out) is the key wiring difference between a PIR sensor and a simple manual switch. A standard 2-core switch drop cable (live and neutral) is sufficient. The sensor body typically has three clearly labelled terminals: L (live in), N (neutral in), and a symbol or label for the load/switched output (sometimes marked with a lamp symbol or 'LOAD').

In a retrofit installation replacing a manual switch with a PIR sensor, the original switch typically had only the live conductor passing through it. To wire a PIR sensor in the same location, neutral must also be available at that location — either by using a three-core cable or by running a new two-core cable from the nearest junction point where both live and neutral are accessible.

Most PIR sensors include adjustable sensitivity (detection range), time delay (how long the light stays on after the last detected motion), and a lux (daylight) sensor that prevents the sensor from switching the light on in daylight — useful for outdoor security lighting that should only operate after dark.

Override modes are a frequently misunderstood feature. Many sensors have a manual-on override: holding the sensor's test button or keeping the wall switch off-on-off in a specific sequence latches the light permanently on until manually switched back to auto mode. The test mode reduces the time-delay to 2–5 seconds to allow function testing without waiting the full time delay.

All wiring must comply with IEC 60364, BS 7671, NEC Article 410, AS/NZS 3000, or the applicable national standard.

How to wire motion sensor light wiring diagram

  1. Confirm that both live and neutral are available at the sensor mounting location Check whether the existing switch drop contains only live (2-core cable with just a switched live path) or both live and neutral (3-core, or a 2-core where neutral is also present). If only live is present at the switch location, run a new 2-core or 3-core cable from the ceiling rose or junction box to the sensor location before proceeding.
  2. Isolate the circuit at the consumer unit and verify dead Switch off the circuit breaker for the lighting circuit. Lock it out. Test with a non-contact voltage tester at both the switch location and the ceiling rose to confirm all conductors are dead. Only proceed when confirmed dead.
  3. Identify and label all conductors at the sensor location before disconnecting the existing switch With the circuit isolated, use a multimeter in resistance mode (or a continuity tester) to identify which conductor is the permanent live feed and which is the switched live return to the lamp. Label each conductor. Also identify the neutral if present.
  4. Connect the PIR sensor terminals per the manufacturer's wiring diagram PIR sensor terminal labels vary by manufacturer but typically: L or LINE IN = permanent live supply (the live that was feeding the old switch), N = neutral, LOAD or output symbol = switched live going to the lamp holder. Insert conductors into the correct terminals and tighten. Apply dielectric grease to any outdoor-mounted sensor connector.
  5. Set initial sensor adjustments before restoring power Set TIME (time delay) to minimum for testing — typically fully anticlockwise. Set SENSITIVITY (range/detection distance) to mid-range. If outdoors, set LUX to a mid-position. In full daylight, the LUX inhibit may prevent testing — cover the LUX sensor window with tape during daytime testing, remembering to remove the tape afterwards.
  6. Restore power and test function in test mode Restore the circuit breaker. Stand within the detection zone and move — the light should switch on. With TIME at minimum, the light should switch off within 2–10 seconds of the last detected motion. If it does not switch on, check lux inhibit (cover the sensor window). If it switches on but immediately off, the relay is dropping out — check load rating compatibility.
  7. Adjust TIME and SENSITIVITY to desired settings and verify outdoor performance Increase TIME to the desired hold-off period (e.g. 5 minutes for a security light). Adjust SENSITIVITY to the desired detection range — start low and increase until the desired coverage is achieved without false triggering from foliage or passing traffic. At dusk, verify the LUX inhibit releases and the sensor operates in ambient darkness.

Specifications

Detection technologyPassive Infrared (PIR) — detects thermal radiation differential from moving warm bodies
Typical detection angle110°–180° horizontal; varies by sensor model and lens type
Typical detection range6–12 m (adjustable via SENSITIVITY control)
Supply voltage (typical)230 V AC 50 Hz (confirm sensor specification; some models 120V or 12/24 V DC)
Quiescent power consumption (sensor electronics)0.5–2 W (continuous, even when light is off)
Time delay (hold-off) adjustment range (typical)10 seconds to 30 minutes (adjustable via TIME control)
Minimum load (relay-switched, conventional)40–100 W — must not be exceeded downward for relay sensor; use LED-compatible sensor for LED loads
Maximum load (typical relay-switched sensor)1 000–2 000 W — confirm sensor rating label

Safety warnings

Tools needed

Common mistakes

Troubleshooting

Light does not switch on when person enters detection zone
Cause: LUX inhibit active (too bright, or LUX threshold set too low), SENSITIVITY set too low (detection range insufficient), sensor supply not reaching the unit, or faulty sensor Fix: Cover the sensor LUX window with tape to bypass the daylight inhibit and test — if the light now switches on, the LUX setting needs adjustment. If still no response, verify mains voltage is present at the sensor L and N terminals. Test SENSITIVITY at maximum range. If sensor has power and sensitivity is maximum but gives no output, the sensor is faulty.
Light switches on by itself with no person present
Cause: PIR detection zone sweeping a heat source (sun, vent, heating unit), detection of animals or foliage movement, SENSITIVITY set too high, or sensor facing into direct sunlight Fix: Reduce SENSITIVITY to minimum and test whether false triggers stop — if yes, increase sensitivity gradually until false triggers resume, then back off. Reorient sensor to avoid sweeping heat sources or foliage. If in direct sunlight, use a sensor shade or hood to reduce direct solar gain on the pyroelectric element.
LED light flickers rapidly when sensor triggers, then turns off
Cause: PIR sensor minimum load requirement not met by low-wattage LED fitting — relay contacts arc and bounce at the low inductive load Fix: Replace the PIR sensor with an LED-compatible model specifically rated for low minimum loads (0 W or low-load rated). Alternatively, if the installation permits, add a resistive load in parallel with the LED (a phantom load — not recommended as it wastes energy). The correct solution is an LED-compatible sensor.

Frequently asked questions

Why does a PIR sensor need both live and neutral, when a standard switch only uses live?

The PIR sensor contains active electronics: a pyroelectric detector, signal processing circuitry, a relay or triac, and often a lux sensor and timer. All of these require a continuous low-power supply (typically 0.5–2 W). A standard manual switch is a purely passive contact — it needs no power. The PIR sensor's electronics need both live and neutral to form the supply circuit, in addition to the switched output to the lamp.

Can I wire two PIR sensors to control the same light?

Yes — two PIR sensors can be wired in parallel on the switched-live path so that either sensor triggers the light. Connect both sensors' load outputs to the same switched-live going to the lamp. Both sensors must each have their own live and neutral supply. Detection by either sensor energises the light. This is useful for large areas, corridors, or rooms with multiple entry points.

What is the 'LUX' adjustment on a PIR sensor?

The LUX control sets the ambient light threshold below which the sensor is allowed to operate. When ambient light is above the threshold (daytime), the sensor is inhibited and the light will not switch on even if motion is detected. As ambient light drops below the threshold (dusk), the inhibit is released and the sensor responds to motion normally. For outdoor security lighting that should only activate at night, set LUX to a mid-range value and test at dusk.

My PIR sensor switches the light on and it immediately turns off — what is wrong?

The time-delay control (TIME) is set to its minimum value. The sensor correctly detected motion and switched the light on, but the hold-off period expired within seconds. Rotate the TIME adjustment clockwise to increase the hold-off period to the desired duration. If the sensor repeatedly switches on and immediately off in a loop, suspect a faulty sensor — specifically a failing relay or triac that drops out before the timer counts down.

Can I use a PIR sensor with LED lights?

Yes, but verify the sensor's minimum load specification. Many PIR sensors (particularly older relay-switched models) require a minimum load of 40–100 W to operate correctly. A modern LED fitting of 5–10 W falls below this threshold, causing the relay contacts to arc and bounce, the LED to flicker, or the sensor timer to behave erratically. For low-wattage LED loads, use a PIR sensor specifically rated for LED and low-load applications — the specification will show a minimum load of 0 W or state 'LED compatible'.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor