Where to Put Door and Window Sensors for Real Coverage
You bought a four pack of door and window sensors, stuck one on the front door, and now the other three sit in a drawer because you are not sure where they would actually help.

You bought a four pack of door and window sensors, stuck one on the front door, and now the other three sit in a drawer because you are not sure where they would actually help. Or worse, they are all mounted, and the back slider still reports "closed" when it is open two inches. Placement decides almost everything about how useful door and window sensors are, and most of the mistakes are easy to fix once you know what the little magnet is really measuring.
I have installed these on three houses and one very drafty rental, and the pattern is the same every time: people protect the doors they use, and skip the openings a stranger would actually choose.
How door and window sensors actually work
Almost every contact sensor sold for home use is a reed switch and a magnet. The body holds the switch and the radio. The smaller piece is just a magnet. When the two sit close together, the switch reads "closed." When the gap grows past a threshold, it reads "open" and sends an event to your hub or app.
That threshold is the detail nobody reads on the box. Most Zigbee and Z-Wave sensors trigger somewhere between 15 and 25 mm of separation. Some cheap Wi-Fi models need closer to 30 mm. On a steel door frame, that range can shrink by half, because the steel pulls the magnetic field away from the switch.
So the sensor does not know whether a door is "open." It only knows whether two pieces of plastic drifted more than about an inch apart. Every placement decision follows from that.
Where to put door and window sensors on doors
Mount the sensor body on the frame and the magnet on the moving door, on the side opposite the hinges. The latch side moves the most when the door opens, so even a small opening creates a big gap. A sensor on the hinge side might not trigger until the door is open 30 degrees, which is plenty of room for a person to slip through.
- Height: put it near the top corner. It stays out of reach of kids and dogs, and the top of a door moves just as far as the middle.
- Alignment: most sensors have a small line or arrow on each piece. Line them up within about 5 mm and keep the gap under 10 mm when closed.
- Sliding doors: mount the body on the fixed frame and the magnet on the leading edge of the sliding panel, as close to the handle as possible. A slider can be pried open 4 inches before a poorly placed sensor notices.
- Garage entry doors: these often have steel frames. Add a 3 mm plastic spacer under both pieces, then test before you trust it.
If you already have a smart garage door sensor, the door between the garage and the house still deserves its own contact sensor. They answer different questions.
Windows are where most coverage falls apart
Windows need more thought than doors, because they come in more shapes and people leave them partly open on purpose.
Double hung and single hung windows
Put the body on the side of the window frame and the magnet on the lower sash, near the top of that sash. When the window lifts, the magnet slides upward and away. If you like to leave the window open 3 inches for air, you have two choices: accept that the sensor will read "open," or add a second magnet higher on the sash so the "vent position" also reads closed.
Casement and awning windows
These crank outward, and the latch side moves first. Put the magnet on the latch side of the sash and the body on the frame beside it. Avoid the hinge side entirely.
Which windows to cover first
You probably do not need a sensor on a third floor bathroom window. Start with ground floor windows that face a side yard or the back of the house, windows behind shrubs or fences, and any basement windows. Those are the ones that are hidden from neighbors, which is exactly why someone would use them.
The advice I disagree with: "sensor every opening"
A lot of security guides tell you to put a sensor on every door and window in the house. For a typical home with 2 doors and 14 windows, that means 16 sensors at $15 to $30 each, plus 16 batteries to replace, plus 16 devices that can drop off your network.
I think that is the wrong goal. Contact sensors are one layer. A single well placed motion sensor in a hallway covers every bedroom window that opens into it, because anyone climbing through still has to walk past it. In my experience, 5 or 6 contact sensors on the high risk openings, plus 2 motion sensors in chokepoints, gives better coverage than 16 contact sensors and no motion.
The bigger reason is maintenance. A system with 16 sensors tends to have one with a dead battery at any given moment. Fewer, better placed devices keep you paying attention.
Testing door and window sensors after you mount them
Do not trust the sticker. Test each sensor three ways before you call the job done.
- The slow open. Open the door or window one centimeter at a time and watch the app. Note the exact point where it flips to "open." If that point is more than 5 cm on a door or 3 cm on a window, move the magnet.
- The rattle test. Close it and push hard on the door or sash. Loose doors can shift enough to cause phantom "open" events at 3 a.m. when the furnace kicks on and pressure changes.
- The range test. Walk to the far side of the house and open the sensor while someone watches the app. A delay longer than 2 seconds usually means the signal is struggling. Add a plug-in repeater or move the hub.
If you start getting random open and close events after a few weeks, it is usually the adhesive creeping or the batteries dropping below 2.7 volts. Our guide to handling false alarms from a smart security system covers the other common causes.
Small details that make a big difference
| Problem | Likely cause | Fix |
|---|---|---|
| Reads open when closed | Gap over 10 mm or steel frame | Shim the magnet, add a plastic spacer |
| Falls off in summer | Heat softening the tape | Clean with isopropyl alcohol, use a small screw |
| Delayed alerts | Weak mesh signal | Add a powered repeater within 10 m |
| Triggers when it is windy | Loose door or sash | Adjust the strike plate or add weatherstripping |
One more tip: write the install date on the back of each sensor with a marker. Most coin cell batteries last 12 to 24 months, and knowing which ones are oldest saves you from a surprise.
Frequently asked questions
Do door and window sensors work on metal doors?
They do, but steel frames weaken the magnetic signal and shrink the trigger gap. Mount both pieces on 3 to 5 mm plastic spacers and run the slow open test. If it still behaves oddly, look for a sensor sold specifically for metal frames, which uses a stronger magnet.
Should the magnet go on the door or the frame?
Put the magnet on the moving part and the sensor body on the frame. The body is bigger and holds the battery, so it is safer on a surface that does not swing or slide.
How many door and window sensors does a house need?
For most homes, sensors on every exterior door and on the ground floor windows that are out of sight from the street is enough. That is usually 5 to 8 sensors. Pair them with one or two motion sensors in hallways to catch anything the contact sensors miss.
More in Home Security
Home Security
Security Camera Night Vision and What It Actually Catches
Your camera caught something at 2:14 a.m., and the clip shows a pale gray smear crossing the driveway that could be a neighbor,...
Home Security
Battery vs Wired Security Camera and What Each One Misses
You bought a camera, mounted it over the driveway, and the first time something actually happened the clip started three...
Home Security
How to Handle False Alarms From a Smart Security System
A security system that cries wolf teaches a household exactly the wrong lesson.