
An occupancy sensor turns the lights on when you walk in and off after you leave. A vacancy sensor leaves turning the lights on to you, then switches them off once the room goes still. That one difference, who starts the light, decides which sensor belongs in which room.
Most homes need both. Hallways, laundry rooms and garages usually want the hands-free version. Bedrooms, bathrooms with a window and rooms full of daylight usually want the manual one. Below, I walk through how each works, where each fits, and the mistakes that make people rip a sensor back out of the wall.
TL;DR
- Occupancy sensor: automatic on, automatic off. Best where your hands are full or you need light immediately, like a pantry, garage or hallway.
- Vacancy sensor: manual on, automatic off. Best in bedrooms, daylit rooms and anywhere a light that pops on at the wrong moment would annoy you.
- "Motion sensor" is the looser term. It names the detection part. An occupancy or vacancy sensor is that detection plus a rule about what the light does.
- Many modern sensors do both. A mode setting often lets one device act as either, so you can change your mind later.
- Bathrooms: pick a sensor that catches small movement, set a longer timeout, and keep it away from fans and vents.
Table of Contents
- The core difference: who turns the light on
- Occupancy sensor vs. motion sensor
- How sensors detect you: PIR, ultrasonic and dual technology
- Which one for which room
- What about the bathroom?
- Timeouts, daylight and false shutoffs
- One sensor, either mode
- Perspective: sensors should disappear
- Putting it together: a simple plan for your house
- Where to go next
- FAQ
- Sources
The core difference: who turns the light on
The U.S. Department of Energy describes it plainly. An occupancy sensor is auto-on and auto-off, while a vacancy sensor is manual-on and auto-off. With a vacancy sensor you press the switch, and the sensor takes over only to turn the light off when it stops seeing movement.
The California Energy Commission's 2025 installer reference uses the same logic. It defines vacancy sensing controls as controls that turn lighting off automatically when a space is unoccupied but need a manual turn-on when someone is present.
Here is the comparison at a glance.
| Occupancy sensor | Vacancy sensor | |
|---|---|---|
| Turns lights on | Automatically | You, at the switch |
| Turns lights off | Automatically after a timeout | Automatically after a timeout |
| Best for | Hands-full rooms, dark rooms, pass-through spaces | Bedrooms, daylit rooms, shared bathrooms |
| Main risk | Light comes on when you don't want it | Light stays off when you wanted it on |
| Energy angle | Lights come on even when daylight is enough | Lights stay off when daylight is enough |
The last row matters more than it looks. The DOE notes that vacancy sensing can save more energy, because people can leave the lights off when daylight is sufficient, while an occupancy sensor switches lights on regardless of the light already in the room.
Occupancy sensor vs. motion sensor
People use these words interchangeably, and on the shelf they often blur. Here is how I keep them straight.
A motion sensor is a detector. It notices that something moved. That signal can do many jobs: trigger a camera, sound an alarm, open a door, or switch a light.
An occupancy sensor is a lighting control. In the U.S., the DOE defines it as an indoor device that turns lights on when a space is occupied and off when no movement is detected. So the occupancy sensor includes motion detection, plus a rule about lighting and a timer.
The practical lesson: when you shop, ignore the label on the front and look for three things.
- Does it turn lights on by itself, or only off?
- What technology does it use to detect people?
- Can you change the timeout, and can you switch modes?
If you want the room-by-room version for everyday spots, our indoor motion-sensor lighting guide covers where motion-triggered light earns its place and where it gets in the way.
How sensors detect you: PIR, ultrasonic and dual technology
The detection method matters as much as the mode. A sensor that misses you sitting still in the tub will leave you in the dark, whatever it is called.
PIR (passive infrared)
PIR sensors detect heat-based motion, and they need a clear, unobstructed line of sight to the person. They are passive: they only listen for change in the infrared that people give off. That makes them a good fit for rooms where you walk across the space, such as hallways, kitchens and entryways. Crestron's installation guidance says PIR suits areas with substantial movement.
The weak spot is a person who barely moves. If a shower curtain, a half wall or a tall cabinet blocks the view, the sensor may decide the room is empty.
Ultrasonic and other active sensors
Ultrasonic sensors are active devices. They send out high-frequency sound waves and read the changes that come back. The DOE fact sheet says this lets them detect minor movements like typing without a direct line of sight. That is why they suit places where people sit quietly, or where furniture and partitions break up the view.
Microwave sensors, the other name you will see in this comparison, belong to the same active family: they emit a signal and watch for what changes, instead of waiting for body heat to move. The trade-off is the same too. Active sensing is more forgiving of obstacles and stillness, and it is worth checking placement so it doesn't react to things outside the room you mean to cover. Check the manufacturer's coverage notes for any specific model.
Dual technology
Dual-technology sensors combine PIR with an active method, so the light needs agreement from both to switch on and either one to stay on. Crestron's guidance says ultrasonic or dual sensing is better where occupants make only small movements and false vacancy is a concern. A building-controls trade article likewise recommends dual-technology occupancy sensors in most interior spaces with no daylight.
A quick way to match the technology to the room:
| Room behavior | Sensor technology that fits |
|---|---|
| Walking through, short stays | PIR |
| Sitting still, reading, soaking | Ultrasonic or dual technology |
| Odd shapes, partitions, closets with shelves | Dual technology, or more than one sensor |
| Windowless interior room | Dual technology |
Which one for which room
Here is where I start with most homes. Treat it as a starting point, then adjust to how your household actually behaves.
Rooms where occupancy (automatic on) works best
- Garage, mudroom and laundry room. Your arms are full, and you want light before you take a step.
- Pantry and walk-in closets. Quick visits, often in the dark.
- Hallways and stairs. The DOE says vacancy sensors don't suit places where many entries lack switches or immediate light is needed, such as stairwells, unless the lights dim rather than switch off during expected use.
- Powder rooms used mostly by guests. Visitors don't have to hunt for the switch.
Sensor-controlled corridors are also a safety feature. A guide from a federal buildings program notes that occupancy sensors are preferable to vacancy sensors in corridors, since vacancy sensors would need switches by every doorway, as the wireless sensor guidance fact sheet is used in building design. In a house, that translates into a hallway with three doors and one dark corner.
Rooms where vacancy (manual on) works best
- Bedrooms. You don't want the ceiling light flaring at 2 a.m. when your partner gets up. Vacancy mode keeps the night path under your control. For the low, warm layer that does the night work, see our guide to bedroom night lighting.
- Daylit rooms. Sunny kitchens, sunrooms and home offices rarely need lamps at noon. The DOE points to vacancy sensors as a good choice in rooms with plenty of daylight or a switch at every entry.
- Nurseries. A sleeping baby and an automatic light don't mix. Manual on, auto off keeps the decision with you. Our nursery lighting guide goes through the layers.
- Home theaters. A light that turns on because someone shifted in the seat ruins the picture. Plan zones first, as in our home theater lighting plan.
A simple evening test
Walk through your house at dusk and ask one question in each room: if the light came on by itself right now, would I be glad?
If the answer is yes, because you are carrying laundry or groceries, choose occupancy. If the answer is "not really" or "depends on the hour," choose vacancy. Rooms that are different at different times, like a bathroom that you use at noon and at midnight, are the ones where a mode switch becomes useful.
What about the bathroom?
Bathrooms are where this choice goes wrong most often. You are in the shower, perfectly still, and the lights go out.
The DOE's guidance for restrooms gives a useful checklist:
- In-wall sensors can work well in individual restrooms.
- Use more than one sensor in odd-shaped rooms.
- Keep sight lines unobstructed.
- Keep sensors at least 4 feet from HVAC registers or fans, which can create moving air that confuses some sensors.
My own approach for a typical home bathroom:
- Choose dual technology or an active sensor if there is a tub, a shower enclosure or a door that blocks the view from the switch. The wall switch location is often the worst vantage point for catching you in the shower.
- Set a longer timeout than you think you need. Ten or fifteen minutes in a primary bath is not excessive. Short timeouts are what cause the "lights off in the shower" complaints.
- Use vacancy mode in a bathroom with a good window. In the morning you may not need the overhead light at all.
- Use occupancy mode in a guest or powder room. Guests will never look for the switch, and you won't worry about a light left on.
- Keep a dim night light on its own circuit or smart bulb. Then late-night visits don't require the main light.
If the bathroom wall is open during a remodel, the best time to think about all this is before the drywall goes up. A contractor's checklist on what to pre-wire before drywall is a good reminder that sensor locations, neutral wires and low-voltage runs are far easier to plan than to retrofit.
Timeouts, daylight and false shutoffs
A timeout is how long the sensor waits without detecting movement before it turns the light off. Set it too short and the sensor feels broken. Set it too long and you lose the savings.
A few guidelines I use:
- Start long, then trim. Begin at a generous setting and reduce it once you know the room is covered. Complaints go away faster that way.
- Give still-use rooms more time. Offices, reading nooks and bathrooms need more patience than closets.
- Consider dimming before off. The DOE suggests lights that dim instead of switching off for places where immediate light is expected.
- Look at how the sensor learns. Some multi-technology sensors adjust timeouts based on trigger points to prevent false on and off cycles, as one manufacturer's sensors do.
Networked sensors
In larger open spaces, one sensor may see only part of the room. The DesignLights Consortium says networked sensors share presence information across grouped devices, which improves coverage and reduces false shutoffs compared with isolated stand-alone units. The same group notes that occupancy and vacancy devices come as stand-alone units, ceiling- or corner-mounted units, fixture-integrated units and wall-box controls.
For an open-plan home, that is a good argument for zoning the lights before choosing hardware. We walk through that in open-concept lighting zones.
One sensor, either mode
You don't always have to decide at the store. The DesignLights Consortium notes that most modern sensors can operate in either occupancy or vacancy mode. If a product lists both modes, the choice becomes a setting.
Before you buy, check:
- Whether the mode switch is on the device or in an app.
- Whether the sensor needs a neutral wire. Many older homes don't have one in every switch box, and an electrician can tell you what you have.
- Whether it works with your dimmer and bulbs. LED loads can be picky, and the packaging usually lists compatible types.
- Whether it plays well with your smart home platform, so you can override it with a scene or a voice command. We cover the building blocks in voice control lighting.
Wiring work inside walls is a job for a licensed electrician, especially if you are replacing a switch in a box you haven't opened before. Turn off the breaker, and in many places permits apply to new circuits.
Perspective: sensors should disappear
We are fond of sensors in the right places and wary of them in the wrong ones. A sensor that works well is one you stop noticing. You walk down the hall, the light is there, and you never think about it.
The mistakes we see most often come from treating sensors as a feature to add everywhere. A bedroom with an occupancy sensor can feel jumpy. A living room with a sensor and no manual option feels like an office. The point of a connected home is that the technology blends in, so the room keeps its character, and lighting you control by choice is part of how a space feels calm.

So we sort rooms by how you use them. Utility spaces get automation. Rooms for rest get control. Shared rooms get a switch you can always find, plus a scene. If you want the broader reasoning, our guide to a smart home that doesn't look like one explains how to hide the hardware too, and the layered lighting basics show how sensor-controlled light fits with lamps and accents.
One more thought on hygiene. Touchless controls limit contact with shared switches, which the Illuminating Engineering Society has pointed to in workplace settings. In a home, the real benefit is simpler: no fumbling in the dark.
Putting it together: a simple plan for your house
If you want a shortlist rather than a framework, here is a plan for a typical two-story house.
| Room | Mode | Technology | Timeout starting point |
|---|---|---|---|
| Garage and mudroom | Occupancy | PIR | Moderate |
| Hallways and stairs | Occupancy, dim if possible | PIR | Moderate |
| Pantry and closets | Occupancy | PIR | Short |
| Primary bathroom | Vacancy, or switchable | Dual technology | Long |
| Guest bathroom | Occupancy | Dual technology | Long |
| Bedrooms | Vacancy | PIR or dual | Moderate |
| Home office | Vacancy | Dual technology | Long |
| Nursery | Vacancy | Dual technology | Long |
These are starting points, not rules. After a week, notice which rooms annoy you and change that one setting.
Where to go next
If you want to see how sensors fit with the rest of your lighting, start with our Connected Home hub. It collects our guides on scenes, hubs, plugs and voice control, written to help technology blend into a room instead of announcing itself. When you are ready to build a few routines around your sensors, eight smart lighting scenes is a good first read.

FAQ
Is a vacancy sensor the same as an occupancy sensor?
No. An occupancy sensor turns lights on and off automatically. A vacancy sensor requires you to turn lights on and turns them off when the room is empty. Many sensors can be set to either mode.
Which sensor is better for a bathroom?
It depends on the bathroom. A guest bath usually works best with occupancy mode, and a primary bath with a window can use vacancy mode. In either case, choose a sensor that detects small movement and set a long timeout, so the light doesn't switch off while you are still.
Which is more energy efficient?
Vacancy sensors can save more energy in rooms with daylight, because you can leave the light off when you don't need it, according to the Department of Energy. Occupancy sensors save energy by turning lights off after you leave, but they turn lights on whether or not daylight is enough.
What is the difference between PIR and ultrasonic sensors?
PIR sensors detect heat-based movement and need a clear line of sight. Ultrasonic sensors send out sound waves and can pick up small movements, such as typing, without a direct view, according to the DOE sensor guidance. Dual-technology sensors combine a passive method with an active one for rooms where people sit still.
Sources
- Wireless Occupancy Sensors for Lighting Controls, U.S. Department of Energy (2019)
- Evaluation of the Reliability of Passive Infrared (PIR) Sensors, U.S. Department of Energy (2022)
- Wireless Sensors Guidance fact sheet, Better Buildings Solution Center
- Occupant Sensing Lighting Controls installer reference, California Energy Commission (2025)
- Lighting Controls Best Practices, DesignLights Consortium (2024)
- Best Practices: Occupancy Sensor Placement and Technology, Crestron
- Lighting control basics: occupancy and vacancy sensors explained, Consulting-Specifying Engineer
- A Well-Oiled Machine, Illuminating Engineering Society (2021)



