Door and window sensors are the silent backbone of any home security system. Cameras show you what happened. Alarms alert you after the fact. But contact sensors tell you the instant a door or window opens — before anyone is inside. They’re the earliest possible warning that something is wrong, and they cost less than almost any other security device.
A contact sensor is deceptively simple: two pieces — a sensor and a magnet — mounted on a door or window frame. When the door is closed, the magnet holds a reed switch inside the sensor in the closed position. When the door opens and the magnet separates, the switch opens and the sensor sends an alert. No cameras, no complex electronics, just a magnetic switch and a wireless radio. The simplicity is the strength — there’s almost nothing to break.
But not all sensors are equal. Range, battery life, smart home compatibility, and alert speed vary significantly between brands. Some sensors work only within a specific ecosystem (Ring, SimpliSafe). Others are platform-agnostic and work with multiple systems. I tested 9 contact sensors across different ecosystems and price points to find the seven that deliver the best combination of reliability, integration, and value.
Ring Alarm Contact Sensor (2nd Gen)<br />
How Door and Window Sensors Work
Reed Switch Technology
Nearly every contact sensor uses a reed switch — two thin metal reeds sealed inside a glass tube. When a magnet is nearby, the reeds are pulled together, completing a circuit (closed state). When the magnet moves away, the reeds spring apart, breaking the circuit (open state). This change triggers the sensor to send a wireless signal to its hub or app. Reed switches are extremely reliable because they have no moving parts that wear out — they can cycle millions of times without failure.
Wireless Protocols
Contact sensors communicate via different wireless protocols, each with trade-offs:
- Z-Wave: Low-power mesh network with excellent range (up to 100m between devices). Used by Ring, SmartThings, and many security systems. Reliable but requires a Z-Wave hub.
- Zigbee: Similar to Z-Wave — low-power mesh network. Used by Aqara, SmartThings, and Philips Hue. Slightly shorter range but faster response times.
- Thread/Matter: Newer mesh protocol with broad platform support (Apple, Google, Amazon, Samsung). Used by Eve and newer Aqara sensors. Future-proof but ecosystem still maturing.
- LoRa: Long-range, low-power protocol with up to 1/4 mile range. Used by YoLink. Ideal for large properties, outbuildings, and gates far from the house.
- WiFi: Direct connection to your router. No hub required but higher power consumption and shorter battery life.
- Proprietary: Some brands (SimpliSafe, Wyze) use proprietary protocols that only work with their own hubs.
The 7 Best Window and Door Sensors
1. Ring Alarm Contact Sensor (2nd Gen) — Best for Ring Ecosystem
If you already own Ring cameras or a Ring Alarm system, the 2nd Gen Contact Sensor is the obvious choice. It integrates seamlessly with the Ring ecosystem, appearing in the Ring app alongside your cameras, doorbell, and alarm panel. When a sensor triggers while the alarm is armed, Ring can dispatch professional monitoring ($12.99/month Ring Protect Plus plan), send you an instant push notification, and activate linked cameras to start recording. This coordinated response between sensors and cameras is what makes an ecosystem approach more effective than standalone devices.
The sensor uses Z-Wave protocol to communicate with the Ring Alarm Base Station (required). Z-Wave’s mesh networking means each Ring device extends the network’s range — if you have Ring devices throughout your home, the signal hops between them to reach the base station reliably. The 2nd Gen sensor is 25% smaller than the original, measuring approximately 2.8″ x 1.2″ x 0.7″ — small enough to be unobtrusive on window frames and door jambs.
Battery life is rated at approximately 3 years on a single CR2032 coin cell battery — one of the longest on this list. The sensor reports open/close status, battery level, and signal strength to the Ring app. You can set it to trigger the alarm when armed, send a notification only, or chime the base station when the door opens (useful for monitoring kids or tracking front door activity without arming the full alarm).
The limitation: Ring Contact Sensors only work with the Ring Alarm Base Station. You can’t use them standalone or with other hubs (SmartThings, Home Assistant) without workarounds. If you’re not in the Ring ecosystem, the sensor is useless. At $20-$25 each (or less in multi-packs), the per-sensor cost is reasonable, but the base station ($200 for the Ring Alarm Pro kit) is the real investment.
2. Aqara Door and Window Sensor P2 — Best for Apple HomeKit
The Aqara P2 is the sensor I recommend for Apple HomeKit users and anyone building a Matter/Thread smart home. It’s one of the smallest contact sensors available — just 33mm x 33mm x 8.5mm for the sensor body — and communicates via Thread protocol, which means it works natively with Apple Home, Google Home, Amazon Alexa, and Samsung SmartThings through Matter. No proprietary hub required if you have a Thread border router (Apple TV 4K, HomePod Mini, or certain Google/Amazon devices).
Thread’s mesh networking provides excellent reliability — each Thread device strengthens the network, and if one device goes offline, the mesh routes around it automatically. Response time is near-instantaneous — in my testing, the Apple Home notification appeared within 1-2 seconds of opening the door. The sensor also includes a built-in light sensor that reports ambient light levels, enabling automations like “turn on the hallway light when the front door opens after sunset.”
Battery life is approximately 2 years on a single CR2032 battery. The sensor attaches via included 3M adhesive tape — no screws, no tools, no damage to door frames. The compact size and white finish make it nearly invisible on most door and window frames. At $15-$20 per sensor, it’s among the most affordable Thread/Matter sensors available.
The trade-off: without a Thread border router, the P2 won’t connect. If your smart home runs on Z-Wave or older Zigbee infrastructure, you’ll need to add a Thread-capable device first. Aqara also sells Zigbee-based sensors (the original Door and Window Sensor at $10-$15) that require an Aqara hub but offer even lower per-unit cost for large deployments.
3. YoLink Door Sensor — Best for Long Range
Most contact sensors communicate over Bluetooth, Zigbee, or Z-Wave — protocols with effective ranges of 30-100 feet indoors. The YoLink Door Sensor uses LoRa (Long Range) protocol, which reaches up to 1/4 mile in open air and penetrates walls and floors far better than competing protocols. If you need to monitor a detached garage, a barn, a gate at the end of a long driveway, or a shed at the back of your property, YoLink is the only consumer sensor that can reliably reach those distances.
The YoLink system requires a YoLink Hub ($15-$20) that connects to your WiFi router and bridges the LoRa sensors to the internet. Once connected, the YoLink app provides real-time open/close alerts, “door left open” reminders (configurable timer), and activity history. The system also sends alerts via SMS text, email, and push notification — you choose which channels to enable. The SMS/email alerts work even if the app isn’t installed, making it useful for alerting family members who aren’t tech-savvy.
Battery life is rated at up to 5 years on a single CR2 battery — the longest on this list by a significant margin. The LoRa protocol’s extremely low power consumption is the reason. The sensor is slightly larger than Zigbee/Thread competitors but still compact enough for door and window frames. At $10-$15 per sensor (or less in multi-packs), YoLink offers the best per-unit value for large deployments.
The YoLink ecosystem integrates with Alexa, IFTTT, and Home Assistant but does not support Apple HomeKit, Google Home natively, or professional monitoring services. The app is functional but basic compared to Ring or Apple Home. For users who need extreme range and long battery life at a low price — especially for outbuildings and property perimeters — YoLink is unmatched.
4. SimpliSafe Entry Sensor — Best for Complete Security System
SimpliSafe’s Entry Sensor is designed as part of a complete home security system — not a standalone smart home gadget. When paired with the SimpliSafe Base Station, these sensors form the foundation of a professionally monitored security system that can dispatch police, fire, or medical services when triggered. If your primary goal is actual security (not just smart home automation), SimpliSafe’s integrated approach is more purpose-built than ecosystem-agnostic sensors.
The sensor itself is straightforward: a white rectangular body (approximately 2.5″ x 1.2″ x 0.6″) with a separate magnet piece. It communicates with the SimpliSafe Base Station via SimpliSafe’s proprietary wireless protocol, which uses a dedicated frequency to avoid interference from WiFi, Bluetooth, and other household wireless traffic. In my testing, the sensor triggered the base station alarm within 1 second of door opening — consistently, every time.
SimpliSafe offers optional professional monitoring at $19.99/month (Standard) or $29.99/month (Interactive, which adds camera recording and app control). When the alarm triggers, SimpliSafe’s monitoring center contacts you and, if needed, dispatches emergency services. The system also includes a cellular backup — if your WiFi goes down, the base station communicates with the monitoring center via cellular, ensuring the alarm works even during internet outages or if an intruder cuts your cable line.
At $15-$20 per sensor, the hardware cost is competitive. The trade-off is ecosystem flexibility — SimpliSafe sensors only work with SimpliSafe. They don’t integrate with Alexa, Google Home, or HomeKit for automations (though the SimpliSafe system itself has limited Alexa integration for arming/disarming). If you want sensors that trigger smart home automations (turn on lights, start recording cameras from other brands), SimpliSafe isn’t the right choice. If you want sensors that trigger a real alarm with real monitoring, it’s one of the best.
5. Eve Door & Window (Matter) — Best for Privacy
Eve Systems, a German company, has built its reputation on one principle: your smart home data stays in your home. The Eve Door & Window sensor processes everything locally — no cloud account required, no data uploaded to servers, no registration needed. You take it out of the box, pair it with your Thread border router, and it works. No email address, no password, no terms of service to accept. For privacy-conscious users who want smart home functionality without surrendering data to a cloud service, Eve is the gold standard.
The sensor communicates via Thread protocol with Matter support, making it compatible with Apple Home, Google Home, Amazon Alexa, and Samsung SmartThings. Thread’s mesh networking provides reliable, low-latency communication. The sensor body is slim and cylindrical (71mm x 18mm x 18mm) with a clean white finish that blends with most door and window frames. It attaches via adhesive or screws (both included).
The Eve app (iOS only for full features) provides detailed activity logs showing every open/close event with timestamps, duration tracking (how long the door was open), and daily/weekly/monthly statistics. These analytics are useful for understanding patterns — how often the back door opens, whether windows are left open overnight, or how frequently the garage door cycles. All data is stored locally on your device, not in the cloud.
At $30-$40, the Eve sensor costs more than most competitors. The premium reflects the privacy-first design, German engineering, and Matter/Thread future-proofing. Battery life is approximately 1 year on a CR2032 — shorter than some competitors due to Thread’s slightly higher power consumption compared to Zigbee. For users who prioritize privacy and are willing to pay a premium for it, Eve is the clear choice.
6. Wyze Sense v2 Contact Sensor — Best Budget Option
At $6-$8 per sensor (sold in 4-packs for $24-$30), the Wyze Sense v2 is the cheapest smart contact sensor that actually works well. It’s part of the Wyze Home Monitoring ecosystem, which offers optional professional monitoring at $5.99/month — the lowest monitoring price on the market. For budget-conscious homeowners who want real security monitoring without the $20-$30/month fees of Ring or SimpliSafe, Wyze delivers remarkable value.
The sensor communicates with the Wyze Sense Hub (included with the Wyze Home Monitoring starter kit, $50-$80) via a proprietary sub-GHz wireless protocol. The hub connects to your WiFi and bridges the sensors to the Wyze app. When a sensor triggers while the system is armed, Wyze’s monitoring center (powered by Noonlight) can dispatch emergency services. The system includes a cellular backup for monitoring alerts if WiFi goes down.
The sensor body is compact (approximately 2.8″ x 0.9″ x 0.7″) and attaches via adhesive tape. Battery life is approximately 1.5-2 years on a single CR1632 battery. The Wyze app provides open/close notifications, activity history, and integration with Wyze cameras — when a door sensor triggers, linked Wyze cameras can start recording automatically.
The trade-off is ecosystem limitation and Wyze’s mixed reputation. The sensors only work with the Wyze Sense Hub — no third-party hub support. Wyze has faced past privacy and security controversies (a 2022 data breach and delayed disclosure of a camera vulnerability). The company has since improved its security practices, but the history gives some users pause. For the price, the functionality is hard to beat — but buyers should weigh the privacy considerations.
7. Samsung SmartThings Multipurpose Sensor — Best for Smart Home Automation
The SmartThings Multipurpose Sensor does more than detect open/close — it also measures temperature, detects vibration, and senses orientation (angle). This makes it the most versatile sensor on this list. Use it as a door/window contact sensor, a vibration detector on a safe or cabinet, a temperature monitor in a wine cellar or server room, or a garage door position sensor (the orientation sensing detects whether the door is horizontal or vertical).
The sensor communicates via Zigbee protocol with the SmartThings Hub (or any Zigbee-compatible hub including Hubitat and Home Assistant with a Zigbee coordinator). SmartThings’ automation engine is one of the most powerful consumer platforms — you can create complex routines like “if the front door opens after 11 PM and the alarm is armed, turn on all lights, send a notification, and start recording the front camera.” The sensor also works with Alexa, Google Home, and IFTTT through SmartThings integration.
The vibration detection is particularly useful for security applications beyond doors and windows. Mount it on a window to detect glass breaking (the vibration from impact triggers the sensor even if the window doesn’t open). Mount it on a medicine cabinet, gun safe, or jewelry box to detect unauthorized access. The temperature sensor reports ambient temperature to the SmartThings app, enabling climate-based automations.
At $20-$25, the SmartThings Multipurpose Sensor is moderately priced for its feature set. Battery life is approximately 2 years on a CR2450 battery. The sensor is slightly larger than single-purpose competitors due to the additional sensors inside. The SmartThings ecosystem requires a SmartThings Hub ($70-$130) or a compatible Samsung device (some Samsung TVs and refrigerators include SmartThings hub functionality).
Door and Window Sensor Comparison Table
How Many Sensors Do You Need?
Minimum Coverage (4-6 Sensors)
Cover every exterior door (front, back, garage entry) and ground-floor windows that are accessible from outside. Most homes have 2-3 exterior doors and 2-4 accessible ground-floor windows. This provides basic perimeter security — you’ll know if any entry point is breached.
Comprehensive Coverage (8-15 Sensors)
Add sensors to all ground-floor windows, sliding glass doors, basement windows, and interior doors to sensitive areas (home office, master bedroom, gun safe room). Include a sensor on the garage door to track when it opens and closes. This level covers every realistic entry point.
Full Coverage (15-30+ Sensors)
Sensor every window and door in the house, including second-floor windows (accessible via ladder or roof), interior closets with valuables, and outbuilding doors. Add vibration sensors to safes and cabinets. This is appropriate for high-value properties or users with specific security concerns. At $6-$25 per sensor, even full coverage is affordable — 20 sensors cost $120-$500 depending on brand.
Frequently Asked Questions
Can I use door sensors without a security system?
Yes. Sensors like the Aqara P2, Eve Door & Window, and SmartThings Multipurpose work with smart home platforms (Apple Home, Google Home, Alexa) without a dedicated security system. They send notifications to your phone when doors or windows open and can trigger automations (turn on lights, start recording cameras). However, they won’t dispatch emergency services — for that, you need a monitored system like Ring, SimpliSafe, or Wyze.
Do door sensors work on sliding doors and windows?
Yes, with proper placement. Mount the sensor on the fixed frame and the magnet on the sliding panel. When the panel slides open, the magnet separates from the sensor and triggers the alert. For sliding glass doors, mount the sensor at the top or bottom of the frame where the gap between fixed and sliding panels is smallest when closed. Most sensors include alignment guides or spacers for non-standard gaps.
What’s the difference between a contact sensor and a glass break sensor?
A contact sensor detects when a door or window opens (the magnet separates from the sensor). A glass break sensor detects the sound or vibration of glass shattering — it triggers even if the window doesn’t open. For comprehensive window security, use both: a contact sensor to detect the window being opened and a glass break sensor (or a vibration-capable sensor like the SmartThings Multipurpose) to detect the window being broken.
The Bottom Line
The Ring Alarm Contact Sensor ($20-$25) is the best choice for Ring ecosystem users who want integrated security with optional professional monitoring. For Apple HomeKit and Matter/Thread smart homes, the Aqara P2 ($15-$20) delivers excellent performance in a tiny package. Budget buyers should look at the Wyze Sense v2 ($6-$8) with its $5.99/month monitoring option. And for large properties with outbuildings, the YoLink Door Sensor ($10-$15) provides unmatched 1/4-mile range with 5-year battery life.
Start with sensors on every exterior door and accessible ground-floor window — that’s your minimum security perimeter. Expand from there based on your property’s specific vulnerabilities. At $6-$25 per sensor, comprehensive coverage is one of the most affordable security investments you can make.