Skip to content
SensorLatch

HUB 03 · Sensors

The Best Door and Window Sensors

Ranked by the two things that actually decide the purchase: what radio it speaks, and what it needs before it will speak at all.

By Stephen V.Updated How we pick
#ad

We earn a commission if you buy through our links. It does not change the price you pay, and it does not decide our picks — our selection criteria are published in full. How this works.

The short answer

Quick picks

#ProductBest forScorePrice
01
Aqara Aqara Door and Window Sensor P2
Aqara Door and Window Sensor P2

Thread, and that is the whole point. It joins a Matter fabric directly, so it reports to Apple Home, Google Home, SmartThings or Home Assistant without Aqara's cloud anywhere in the path.

Best door and window sensor
8.8
$26.99Amazon
02
Aqara Aqara Zigbee Door and Window Sensor (3-pack)
Aqara Zigbee Door and Window Sensor (3-pack)

The cheapest way to cover a whole house. Zigbee, tiny, and sold in threes — which matters because a real perimeter is six to twelve sensors, not one.

Best value multi-pack
8.6
$49.99Amazon
03
THIRDREALITY THIRDREALITY Zigbee Contact Sensor (2-pack)
THIRDREALITY Zigbee Contact Sensor (2-pack)

The Home Assistant crowd's default. Plain Zigbee, no vendor cloud, no proprietary app requirement, and it is explicitly documented as working with Home Assistant, SmartThings and Hubitat.

Best for Home Assistant
8.6
$37.99Amazon
04
Ring Ring Alarm Contact Sensor (2nd gen)
Ring Alarm Contact Sensor (2nd gen)

The cheapest sensor here per unit, and the one with the longest published battery claim — but it is an endpoint for a Ring Alarm base station, not a device you can use alone.

Best for existing Ring Alarm owners
7.8
$14.99Amazon
05
SwitchBot SwitchBot Contact Sensor
SwitchBot Contact Sensor

A contact sensor with a built-in motion detector and its own audible alert, so it does something useful before you have bought a hub or picked an ecosystem.

Best standalone alarm sensor
8.0
$29.99Amazon
06
YoLink YoLink LoRa Door Sensor Starter Kit
YoLink LoRa Door Sensor Starter Kit

For the outbuilding. LoRa radio gives quarter-mile open-air range, which is the only technology here that reaches a detached garage, a barn or a gate at the end of a drive.

Best long range
7.5
$56.04Amazon
07
Ecolink Ecolink WST-232 Door/Window Sensor
Ecolink WST-232 Door/Window Sensor

The one with a screw terminal. An external input lets you wire it to an existing hardwired alarm contact, a gate switch or a roller-shutter reed — which nothing else in this roundup can do.

Best for wiring into existing contacts
7.1
$24.99Amazon

#ad · Prices pulled live from the Amazon Product API, last checked Jul 20, 2026. Where we have no verified live price we show none — we would rather leave a gap than print a number that has gone stale. Scores are our own, compiled from published specs; they are not test results.

The Aqara Door and Window Sensor P2is the one to buy. It speaks Matter over Thread, so it joins Apple Home, Google Home, SmartThings or Home Assistant directly and keeps running automations with the internet down. It needs a Thread border router. If you don't have one, the Aqara Zigbee three-pack covers a whole house for far less per opening.

What are the best door and window sensors?

Every contact sensor sold does the same physical job. A reed switch sits in one half, a magnet sits in the other, and when the two separate the switch changes state. That mechanism has not meaningfully changed in forty years and it is not where the differences between these products live.

The differences live in the radio. What the sensor says, who it says it to, and whether anything is listening when your internet connection drops are the three questions that decide whether a sensor is useful in your house or a dead plastic rectangle stuck to a window frame. That is why the first thing on this page is a protocol matrix rather than a list of features.

Products we claim to have tested: 0.Everyone else in this category says they stuck a dozen sensors on their own doors. We have not, and we say so. What we do instead: read the manufacturer's manual and spec sheet, check the protocol against the published Matter, Thread and Zigbee specifications, compute the running cost from cell datasheets, and cite all of it. The rubric is published at our methodology page so you can reproduce the ranking from the same public sources.

The protocol compatibility matrix

This is the table the rest of this category refuses to print. Every column here is a real buying decision, and the “hub required” column is the one that generates the returns. A sensor that needs hardware you do not own is not a cheap sensor.

Compiled from manufacturer specifications and published protocol documentation, July 2026. “Works offline” means the sensor's state change still triggers a local action with the internet connection down.
SensorMatter / ThreadZigbeeZ-WaveWi-FiHub required?Works offline?Battery
Aqara Door and Window Sensor P2Yes, Matter over ThreadNoNoNoThread border router, mandatoryYes, local automations1x CR2032
Aqara Zigbee Door and Window Sensor (3-pack)Only by bridging through a Matter-capable Aqara hubYes, Zigbee 3.0NoNoAqara hubYes, hub-local automations1x CR1632 each
THIRDREALITY Zigbee Contact Sensor (2-pack)Only by bridging through your coordinatorYes, Zigbee 3.0, any coordinatorNoNoAny Zigbee coordinator or stickYes, fully localReplaceable cell
Ring Alarm Contact Sensor (2nd gen)NoNoYes, but only to a Ring baseNoRing Alarm base stationBase-local alarm yes; app alerts need the internetReplaceable cell, approx. 3-year life (Ring)
SwitchBot Contact SensorNoNoNoNo, BluetoothNone for the audible alert; hub for phone alertsYes, the onboard alert is entirely localReplaceable cells
YoLink LoRa Door Sensor Starter KitNoNoNoNo, proprietary LoRaYoLink hub, included in the kitPartly, device-to-device triggers run without the internetAAA cells
Ecolink WST-232NoNoNo, 345 MHzNoHoneywell or 2GIG-family 345 MHz panelYes, the panel is localLong-life lithium cell

How to read the matrix

Work right to left. The “hub required” column tells you the true cost of entry. The Ring and Ecolink rows are not sensors you can buy on their own in any meaningful sense: the Ring contact sensor pairs to a Ring Alarm base and nothing else, and the Ecolink is legacy alarm hardware that needs a compatible 345 MHz panel already screwed to a wall. Both are excellent inside their system and inert outside it.

Then read the offline column. This is where the marketing and the engineering separate. A Zigbee or Thread sensor reporting to a local hub fires its automation on your own network, in milliseconds, with no round trip to a data center. A sensor whose alert path runs through a vendor cloud is offline exactly when your router is, which is a bad time for it to be offline. If that trade-off is new to you, our explainer on Matter and what it actually changes is the shortest route to understanding it.

Why the ranking looks like this

Aqara P2, first, on one property

Thread. It is not a faster Zigbee and it is not a Wi-Fi variant; it is a low-power IPv6 mesh, and a device on it is addressable by your home directly rather than by a manufacturer's server on your behalf. Combined with Matter, that means the P2 shows up as a native contact sensor in Apple Home, Google Home, SmartThings or Home Assistant, with no Aqara account in the path and no Aqara app required to run an automation. The price of that is a hard dependency: without a Thread border router in the house it joins nothing at all. The full argument, including which devices actually are border routers, is in our single-product review of the Aqara P2.

The Zigbee three-pack, second, on arithmetic

A real perimeter is six to twelve sensors, not one. The moment you multiply, per-unit cost stops being a detail and becomes the whole decision. Aqara's Zigbee sensors are sold in threes, are among the physically smallest contact sensors available, and run local automations through an Aqara hub. They are bound to that hub rather than joining a Matter fabric directly, which is a genuine downgrade from the P2 and the reason they are second rather than first.

THIRDREALITY, third, for anyone running their own coordinator

Plain Zigbee, no manufacturer hub, no vendor account, nothing that can be switched off from head office. If you already run a Zigbee stick on Home Assistant, Hubitat or SmartThings, this is the cheapest way to add openings to a system you fully control. It is third only because it assumes infrastructure most buyers do not have. It is physically larger than the Aqara units, so measure the sash before you order.

Ring, SwitchBot, YoLink and Ecolink cover the edges

The Ring sensor has the longest published battery claim here and the lowest per-opening cost once the base station exists, and it is locked to that base forever. The SwitchBot combines contact and motion in one body and makes a noise on its own, which is the right answer for a garage side door where a phone notification is not enough. YoLink's LoRa radio is the only technology on this page that reaches a detached garage or a gate at the end of a drive. The Ecolink has a screw terminal, so it can adopt a hardwired contact already sitting in your door frame. Each of those is a narrow answer to a specific problem, and if you do not have that problem you should buy something cheaper.

Real battery arithmetic

Battery claims in this category are printed without any working shown, so here is the working.

A CR2032 is a 3-volt lithium coin cell holding roughly 220 mAh, a figure published on the cell manufacturers' own datasheets rather than on the sensor box. Aqara rates the P2 at up to two years on one cell. Two years is about 17,500 hours. 220 mAh spread across 17,500 hours is an average draw of about 12.6 microamps. That number is the signature of a device that sleeps almost permanently and only powers its radio when the reed switch changes state, which is exactly what a well-designed contact sensor does.

Now apply the same arithmetic to the CR1632 in the Zigbee three-pack. Same 3-volt chemistry, physically thinner, and published capacities land around 120 to 140 mAh depending on the manufacturer. Roughly half the reservoir at a comparable duty cycle means roughly half the interval. Budget for changing those cells noticeably more often than the P2's, and buy them in a strip rather than one at a time.

Ring publishes an approximate three-year life on its contact sensor, the longest claim on this page. YoLink's sensors take AAA cells, which hold several times a coin cell's energy and are the reason a LoRa radio with far greater range can still last well.

What this means in practice: nine sensors on a roughly two-year cell is four to five coin cells a year. That is one evening with a screwdriver, once a year, and a strip of cells in a drawer. It is not a monthly line item, which is the entire difference between hardware you own and a monitoring plan that compounds over five years.

How many sensors does a house actually need?

Six to twelve. Here is how that range is derived, so you can redo it for your own floor plan rather than trusting ours.

The rule is: every opening a person can get through without a ladder. Not every window in the house. Not the second-floor bathroom over the driveway. The openings at ground level, plus anything a flat roof, a fence rail or a garbage bin turns into ground level.

For a typical three-bedroom detached house that resolves to:

  • Front door
  • Back or patio door, counted separately even if it is a slider
  • The door between the garage and the house
  • Kitchen window, one or two depending on the layout
  • Living or dining room windows, usually two
  • Any ground-floor bedroom window
  • Basement or utility window if it opens

That totals eight to eleven. Subtract the ones painted shut or blocked by a fitted unit and you land in the six-to-twelve band. Apartments and condos land at the bottom of it, usually three to five, because most of the perimeter is a shared corridor.

The per-opening cost math, with the formula

Do not compare sensors on unit price. Compare them on cost per opening, which includes the hub amortized across every opening it serves:

cost per opening = (pack price divided by sensors per pack) + (hub price divided by the number of openings you are covering)

Take the live prices from the cards above and run it yourself. Cover nine openings with three-packs and you buy three packs plus one hub: multiply the pack price by three, add the hub once, divide by nine. Then run the same sum for three openings. The hub term is the part that moves. At three openings the hub can be a third of the total; at twelve it is close to a rounding error.

That single behavior is the reason a hub-based Zigbee or Thread estate beats a hubless one on any house with more than roughly four openings, and the reason a hubless sensor is the right answer for a single apartment door. It is arithmetic, not preference.

What a contact sensor cannot do

A contact sensor knows one thing: whether two halves of it are next to each other. It does not know who opened the door, whether the pane beside the door was broken instead, or whether the window was slid open two inches and left there. Those are different sensors with different mechanisms, and a page that implies otherwise is selling you a false perimeter.

Vibration sensing on the frame catches a struck pane; acoustic detection catches a broken one; neither is a substitute for the other. Motion and presence sensing cover the interior volume rather than the opening. And a contact sensor on a door tells you the door moved, not that it is locked, which is the specific gap that a smart lock with state reporting fills. Sensors and locks are the same purchase made twice, a month apart, by most of the people reading this.

How we picked

Everything here is compiled from published sources: manufacturer manuals and spec sheets, the Matter and Thread specifications, Zigbee 3.0 documentation, and cell datasheets for the battery figures. Scores are judgments drawn from those documents, not bench measurements, and the methodology page publishes the rubric in full. If you are weighing ecosystems as well as sensors, our Ring versus eufy comparison covers what happens to your sensor data in each, and the sensors hub collects the rest of this category.

In detail

The picks, in full

01
Aqara Aqara Door and Window Sensor P2

Best door and window sensor

Aqara Door and Window Sensor P2

Matter over Thread1x CR2032Thread border router requiredLocal automations
Local, no cloudThread border router required
8.8/10

Thread, and that is the whole point. It joins a Matter fabric directly, so it reports to Apple Home, Google Home, SmartThings or Home Assistant without Aqara's cloud anywhere in the path.

Local control
9.5
Battery
9
Ecosystem
9
Install
9
Value
7.5

What it gets right

  • Matter over Thread means it is not tied to Aqara's app or servers — the sensor belongs to your smart home, not to a vendor
  • Local automations keep running when the internet is down, which is precisely when you want a door sensor to work
  • A single CR2032 in a device that only radios on state change is the best battery-life shape in home security

What it doesn't

  • Absolutely requires a Thread border router — this is not optional
  • More expensive per sensor than Zigbee alternatives

What it costs to run

1x CR2032. No hub subscription, no cloud account required for local automations.

Skip this if…

you have no Thread border router. Without an Apple TV 4K, HomePod mini, Google Nest Hub (2nd gen), SmartThings Station or an equivalent, this sensor will not join anything — and nothing on the box or the listing tells you that clearly enough.

$26.99on Amazon

$29.9910% off

Price last checked Jul 20, 2026. Prices move constantly — Amazon's at checkout is the one that counts.

#ad · we may earn a commission from this link to Aqara Door and Window Sensor P2

02
Aqara Aqara Zigbee Door and Window Sensor (3-pack)

Best value multi-pack

Aqara Zigbee Door and Window Sensor (3-pack)

Zigbee 3.01x CR1632Aqara hub requiredAmong the smallest sensors sold
Local via hubAqara hub required
8.6/10

The cheapest way to cover a whole house. Zigbee, tiny, and sold in threes — which matters because a real perimeter is six to twelve sensors, not one.

Local control
8.5
Battery
8.5
Ecosystem
7.5
Install
9
Value
9.5

What it gets right

  • Per-sensor cost is low enough that covering every ground-floor opening stops being a budget decision
  • Physically small enough to sit on a window sash without looking like an installation
  • Zigbee mesh through an Aqara hub runs locally, so automations survive an internet outage

What it doesn't

  • Needs an Aqara hub — this is a three-pack of endpoints, not a system
  • Zigbee rather than Thread, so it is bound to Aqara's hub rather than joining a Matter fabric directly

What it costs to run

1x CR1632 per sensor. No subscription.

Skip this if…

you do not own and do not want an Aqara hub. These are Zigbee endpoints: on their own they connect to nothing, and the hub is a separate purchase.

$49.99on Amazon

Price last checked Jul 20, 2026. Prices move constantly — Amazon's at checkout is the one that counts.

#ad · we may earn a commission from this link to Aqara Zigbee Door and Window Sensor (3-pack)

03
THIRDREALITY THIRDREALITY Zigbee Contact Sensor (2-pack)

Best for Home Assistant

THIRDREALITY Zigbee Contact Sensor (2-pack)

Zigbee 3.0Any Zigbee coordinatorHome Assistant / SmartThings / Hubitat2-pack
Fully localZigbee coordinator required
8.6/10

The Home Assistant crowd's default. Plain Zigbee, no vendor cloud, no proprietary app requirement, and it is explicitly documented as working with Home Assistant, SmartThings and Hubitat.

Local control
10
Battery
8.5
Ecosystem
8
Install
8
Value
8.5

What it gets right

  • Joins any Zigbee coordinator — there is no manufacturer hub you are forced to buy
  • No vendor account, no cloud, nothing that can be discontinued out from under you
  • Widely documented in the Home Assistant community, which is where this category's real information lives

What it doesn't

  • Physically larger than the Aqara sensors — check narrow sashes before ordering
  • Assumes you already run a Zigbee stick or hub

What it costs to run

Replaceable cells. No subscription, no cloud account, no vendor in the path.

Skip this if…

you have no Zigbee coordinator and no intention of running one. Plain Zigbee devices are wonderful inside a self-hosted setup and completely useless outside one.

$37.99on Amazon

Price last checked Jul 20, 2026. Prices move constantly — Amazon's at checkout is the one that counts.

#ad · we may earn a commission from this link to THIRDREALITY Zigbee Contact Sensor (2-pack)

04
Ring Ring Alarm Contact Sensor (2nd gen)

Best for existing Ring Alarm owners

Ring Alarm Contact Sensor (2nd gen)

Z-Wave to Ring baseApprox. 3-year battery (Ring)Ring Alarm base requiredSlim profile
Long battery lifeRing Alarm base station required
7.8/10

The cheapest sensor here per unit, and the one with the longest published battery claim — but it is an endpoint for a Ring Alarm base station, not a device you can use alone.

Local control
5.5
Battery
9.5
Ecosystem
6
Install
9
Value
9

What it gets right

  • Ring publishes an approximate three-year battery life — among the longest claimed in the category
  • Slim enough to fit frames where bulkier sensors will not close
  • Cheapest per-opening cost of any sensor in this roundup once you already own the base

What it doesn't

  • Locked to the Ring Alarm base station — it will not join Home Assistant, Apple Home or a Matter fabric
  • Ring's ecosystem pushes hard toward a subscription, even where the hardware does not require one

What it costs to run

Ring publishes an approximate three-year battery life. Sensor alerts to the app do not require a plan; professional monitoring does.

Skip this if…

you do not own a Ring Alarm base station. This is not a general-purpose Z-Wave sensor — it pairs to Ring's base and nothing else, so on its own it is inert.

$14.99on Amazon

$19.9925% off

Price last checked Jul 20, 2026. Prices move constantly — Amazon's at checkout is the one that counts.

#ad · we may earn a commission from this link to Ring Alarm Contact Sensor (2nd gen)

05
SwitchBot SwitchBot Contact Sensor

Best standalone alarm sensor

SwitchBot Contact Sensor

Contact + motionBluetoothLocal audible alertHub for remote alerts
Works without a hubHub required for phone alerts
8.0/10

A contact sensor with a built-in motion detector and its own audible alert, so it does something useful before you have bought a hub or picked an ecosystem.

Local control
8
Battery
8
Ecosystem
7
Install
9
Value
8

What it gets right

  • Detects both the door opening and movement in front of it, which two separate devices would otherwise cover
  • Makes a noise on its own — useful on a garage side door where a phone notification is not enough
  • Cheapest route to a working alarm on a single door with nothing else installed

What it doesn't

  • Phone notifications and automations need a SwitchBot hub
  • Bluetooth range is a real constraint in a house with thick internal walls

What it costs to run

Replaceable cells. No subscription; the hub is hardware.

Skip this if…

you want notifications on your phone while you are out. Without a SwitchBot hub this is a local noisemaker — it will not reach you at work.

$29.99on Amazon

$49.9940% off

Price last checked Jul 20, 2026. Prices move constantly — Amazon's at checkout is the one that counts.

#ad · we may earn a commission from this link to SwitchBot Contact Sensor

How to choose a door or window sensor

Start with the hub question, not the sensor

The order most buyers use is backwards. They pick a sensor, discover it needs something, and buy the something under duress. Decide the hub first and the sensor list collapses to two or three obvious candidates.

If you own an Apple TV 4K, a HomePod mini, a Google Nest Hub (2nd gen) or a SmartThings Station, you already have a Thread border router and the P2 is the answer. If you own none of those and want one box that covers both Thread and Zigbee, the Aqara Hub M200 does it for meaningfully less than the M3 and is the right call for a normal house. If you already run Home Assistant with a Zigbee stick, buy THIRDREALITY and skip hubs entirely.

Gap tolerance, and where the magnet goes

Every contact sensor has a maximum working gap between the two halves, published in its manual. Doors and windows that have settled, uPVC frames with deep reveals, and any opening with a storm door or secondary glazing routinely exceed it. Measure the gap you actually have before ordering, and mount the magnet on the moving leaf with the sensor body on the fixed frame, not the other way around, so the heavier half is not swinging.

Physical size is the spec people forget

Window sashes are the constraint, not doors. A sensor that fits a door frame with room to spare can stop a casement window closing. The Aqara units are among the smallest sold and the THIRDREALITY units are noticeably larger; on a narrow sash that is the whole decision, protocol be damned. Measure the flat run of frame you have, in millimeters, and check it against the dimensions in the manual.

What decides the price

Three things, in order. First, whether the radio is a licensed mesh standard: Thread and Zigbee silicon costs more than Bluetooth. Second, pack size, because a three-pack is almost always cheaper per opening than three singles. Third, whether the manufacturer is selling you a system or a component. Component sensors from THIRDREALITY and Aqara compete on price; system sensors from Ring and Wyze are priced low precisely because the base station carries the margin.

The mistake buyers make

Buying one sensor to try it. A single sensor on the front door tells you the front door opened, which you already knew because you were standing there. The value of a contact estate is entirely in coverage: it appears when the set is complete enough that an unexplained event is genuinely unexplained. Buy the pack, cover the ground floor, and treat any single-sensor purchase as an experiment rather than a solution.

The second mistake is treating notification as the goal. A notification you receive at work is information, not a response. Decide in advance what the sensor triggers locally, because a rule that runs on your own hub still runs when the connection is down, and read our guide on local versus cloud handling before you assume the alert path is the easy part.

How we picked

Products we claim to have tested: 0

Everyone in this category says they tested a dozen locks on their own front door. We have not tested any, and we say so. Here is what we do instead: read the manufacturer's manual and spec sheet, record the published protocol, power and storage figures, check the published standard where one exists, compute what the device costs to keep running, and cite all of it so you can check the work. Prices come live from Amazon's API and disappear rather than go stale.

The scores above are judgments from that documented research — not bench measurements. The full rubric, including what disqualifies a product, is published in full.

Questions

Frequently asked

Do door and window sensors need a hub?
Most do. Zigbee, Z-Wave and Thread sensors are all mesh endpoints and need a coordinator, a base station or a Thread border router before they will join anything. The exception on this page is the SwitchBot Contact Sensor, whose audible alert works with nothing else installed, and even that needs a hub before it can notify your phone from away. Our guide to no-hub door sensors explains why the phrase means three different things.
Do these sensors work without wifi?
Zigbee, Thread, Z-Wave and LoRa sensors do not use your Wi-Fi at all. They talk to their hub over their own radio, and if that hub runs automations locally the rule still fires with the internet down. What you lose in an outage is the remote notification, not the detection. Wi-Fi-native devices are the ones that genuinely stop being useful.
How long do the batteries last?
Between roughly a year and three, depending on the cell and the radio. Aqara rates the P2 at up to two years on a CR2032, Ring publishes approximately three years on its contact sensor, and the smaller CR1632 in the Aqara Zigbee three-pack holds around half a CR2032's capacity so expect a correspondingly shorter interval. The arithmetic is worked through above.
Is a contact sensor enough on a window?
It covers the window being opened. It does not cover the pane being broken and the frame being reached through, because the two halves never separate in that scenario. A combined contact and vibration sensor, or acoustic detection for a large pane, covers the other mechanism. Neither replaces the other and any page telling you one does is wrong.
Do I need a monthly plan for door sensors?
No. Every sensor on this page performs its core function with no subscription. Plans in this category buy professional monitoring or extended cloud retention, not detection. The shape of those costs over several years is broken down at our subscription-free section.

Keep reading

Receipts

Sources

We do not run a testing lab and we do not pretend to. Specifications come from the manufacturer's own published documents and from published standards; prices come from the live Amazon API. Where a figure is not published, the page says “not published” rather than guessing. Read the full method.