Skip to main content
RK
Rojony Khatun
Last updated: Jun 10, 2026

Motion Sensor Wiring

Learn motion sensor with two-way switch wiring diagram, step-by-step installation, working, and testing guide for flexible control of lights in the home and office.

Advertisement
Advertisement
Single Phase DP MCB

Single Phase DP MCB

Double Pole Miniature Circuit Breaker for single-phase supply

Motion Sensor

Motion Sensor

Device that detects movement using infrared or ultrasonic signals

2 Way Switch

2 Way Switch

A switch that controls one device from two locations

Single phase Light

Single Phase LED Light

Energy-efficient LED light for single-phase supply

Single phase Light

Well Light Holder

Recessed light holder typically used in ceilings/walls

*Please note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Advertisement

Motion Sensor Wiring

Learn motion sensor with two-way switch wiring diagram, step-by-step installation, working, and testing guide for flexible control of lights in the home and office.

Advertisement

motion sensor two way switch connection

Two-way switch wiring. A motion sensor can be used with a light to control it manually or automatically. The PIR sensor and switch are connected in parallel, hence any of them can switch ON the light.

motion sensor with two way switch wiring

Two-way switch wiring (two-wire). A motion sensor is a system that combines manual and automatic control of a light or load. This arrangement comes in handy in staircases, corridors, bedrooms, or offices where you prefer to have the ability to switch lights ON/OFF both manually and automatically using a PIR motion sensor. A two-way switch and a PIR motion sensor are also wired together in parallel in this wiring. The phase (line) wire is attached to the common terminal on the switch and sensor input. The phase of the load is fed with the outputs of the switch and the sensor. Both the sensor and the load are directly connected to the neutral wire. In this manner, when the switch is ON, the light can be operated manually; when the switch is OFF, the light is operated by the PIR sensor.

Sponsored

Work / Installation (Inputs → Outputs)

  • Input: Phase (line) from supply connected to switch and PIR sensor.
  • Output: Light connected to both outputs of the switch and sensor.
  • Neutral: Connected directly to both sensor and light.

steps:

  • Connect the phase (line) wire to the common terminal of the two way switch and to the sensor input (L).
  • Connect the output terminal of the switch and the sensor output together, then to the phase terminal of the load.
  • Connect neutral from the supply to both the sensor and the load.
  • Connect the ground (earth) wire to the load body for safety.

Now the light can be controlled automatically (via motion sensor) or manually (via two way switch).

Testing and Final Adjustments

Once wired, ensure that all the connections are insulated and tight. Turn on and test the switch: when the switch is turned ON, the light must be on, no matter what the sensor status is. The motion sensor should be the only way that the light will be ON when the switch is OFF. Tune the PIR sensor on the sensitivity and time delay, and the lux level. On corridors or staircases, delay time should be increased; in bedrooms, sensitivity should be reduced. Re-test at other times (day/night) to confirm that it is working. Lastly, cover junction boxes with close lids, screws, and insulation tapes.

Advertisement

Frequently Asked Questions - Motion Sensor Wiring:

It is a connection that allows both manual and automatic control of a light.
It gives the option of manual ON/OFF control along with automatic operation.
In staircases, corridors, garages, bedrooms, and office areas.
The line wire connects to the common terminal of the switch and joins the sensor input.
The outputs of both the switch and the motion sensor are connected to the phase of the light.
Yes, neutral connects to both the sensor and the load directly.
Yes, if the switch is ON, the light works manually regardless of the sensor.
Yes, the earth wire should be connected to the light body for safety.
Yes, motion sensor with two way switch wiring supports LED lights.
Yes, if installed with proper insulation and correct wiring practices.
Advertisement
Advertisement
Advertisement