
Affiliate Disclosure
Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.
Installing a motion sensor light switch is a beginner electrical job — plan on 15 to 25 minutes, $15 to $40 for the switch, and no permit. You replace a standard wall switch with the sensor and set its timer and sensitivity. Cut the breaker and verify the wires are dead first. The one thing to check before buying: whether your box has a neutral wire, since many sensor switches need one — pick a no-neutral model if it does not. Anything at the service panel is a licensed electrician's job.
We never buy, test or physically handle the products we rank; recommendations come from aggregated owner reviews and expert consensus, described in how we rank. More at the indoor lighting hub.
Tools and materials
- Non-contact voltage tester, screwdrivers, and wire strippers.
- The motion sensor switch, matched to your wiring (neutral or no-neutral) and bulb type (LED-rated if you run LEDs).
- Wire nuts (usually included) and a cover plate.
- Compatible bulbs; for smart control alongside the sensor, our best smart bulbs picks pair well.

Step 1: Check the box for a neutral
Before buying, take off the cover plate and look for a bundle of capped white neutral wires at the back of the box. A neutral-required sensor switch is the most reliable if you have one; if the box has only the switched hots and a ground, buy a no-neutral model. Note whether the circuit is single-pole (two hots) or three-way (three hots) so you buy the matching switch.
Step 2: Cut the power and verify dead
Switch off the breaker for the circuit and confirm the wires are dead with the voltage tester before you touch them. As with any switch, the wall switch alone does not guarantee a de-energized box.

Step 3: Remove the old switch
Unscrew the old switch and pull it forward. Note which wire is line (incoming hot) and which is load (to the fixture) if the box makes it clear, and tag the neutral bundle. On many single-pole boxes the two hots are interchangeable, but the sensor switch's instructions will specify line, load, neutral, and ground leads.
Step 4: Connect the sensor switch
Match the switch's leads to the house wires per its diagram: line to incoming hot, load to the fixture wire, neutral to the white bundle (if required), and the green lead to the ground. Strip nicked ends to clean copper first. Twist each pair clockwise and cap firmly with a wire nut; tug to confirm. Fold the wires neatly back into the box — sensor switches are deeper than plain ones and need the room.

Step 5: Mount, set, and test
Screw the switch to the box, add the cover plate, and restore power. Set the mode (occupancy for auto-on, vacancy for manual-on/auto-off), the time delay, and the sensitivity or light threshold using the dials behind the faceplate. Walk through the detection zone to confirm it triggers, and let it time out to confirm it shuts off. Adjust sensitivity down if it false-triggers.
Common mistakes
- Buying the wrong neutral type. Check the box first; a no-neutral switch in a no-neutral box, and vice versa.
- Ignoring bulb compatibility. Use an LED-rated sensor with LED bulbs.
- Aiming the sensor at a vent or window. The top cause of false triggers. Point it into the room, lower sensitivity.
- Single-pole switch in a three-way circuit. Count the hots and match.
- Cramming a deep switch into a shallow box. Fold wires carefully; do not force it.
When to call an electrician
Bring in a licensed electrician if the box has no ground, if you find aluminum wiring, if the wiring does not match a pattern you recognize, or if any work reaches the panel — permit-and-pro territory, jurisdiction-specific, never DIY at the service panel. Replacing a switch on sound existing wiring is a homeowner job.
Related reading: how to install a dimmer switch, how to install a smart light switch, and how to replace a light switch.