Skip to main content
  1. Home
  2. Smart Home
  3. Evergreens

How does a window sensor work?

Add as a preferred source on Google

Window sensors are a critical part of any home security system. When cameras fail, a window sensor becomes your last line of defense. Install them on all your windows, and you will know when an intruder attempts to access your house using one of your windows.

Some window sensors use loud chimes or siren-like alarms, while others send a notification to your phone. Regardless of how they alert you, most window sensors work the same way. Knowing how these window sensors work will help you install them properly, so they don’t fail you when you need them the most.

Recommended Videos

What is a window sensor?

Quirky Tripper window sensor on window.

A window sensor package is composed of two small units with adhesive backing or screws for mounting. One unit attaches to the window, and another unit affixes to the stationary window frame. The two sensor units typically are positioned close together in a location on the window where they cannot be seen or tampered with from the outside. Once the sensors are activated, an alarm will sound, and alerts will be sent out when the window is opened. It’s not an always-on form of security. Most window sensors have a switch that lets you turn them off, so you can open your windows without triggering the alarm.

Magnetism is key

Scout window sensor being installed on window.
Image used with permission by copyright holder

Window sensor alarms may seem sophisticated, but they are surprisingly simple. At their core, window sensors rely on magnetism and a basic electronic switch. Remember how we said there were two units in a window sensor package? They each serve a different purpose. The window-based unit contains a small magnet that interacts with the reed switch and security system inside the window frame unit. The magnet is a trigger that controls the switch inside the window frame unit. It is this reed switch that turns on and also turns off the security system. This security system can be as simple as a loud audible alarm or as complex as a wireless module that alerts your smartphone.

What is a reed switch?

A closeup look at a Reed Switch window sensor.
André Karwath/Wikipeida

You may have never heard of a reed switch, but you likely use one every day. If you have a laptop that turns on when you open it and turns off when you close it, there likely is a reed switch and magnet somewhere in the casing. Kindles, iPads, and other tablets also use a reed switch that interacts with a magnetic cover to turn the display on and off. Reed switches are found in everything from dishwashers to weather anemometers. They were first invented in the 1930s by Walter B. Elwood of Bell Laboratories.

The reed switch is a relatively simple but very effective switch. It is composed of two or more flat ferrous reeds that are magnetized. These reeds are enclosed inside a glass capsule filled with an inert gas that helps to keep them free from external contaminants and corrosion.  These reeds move closer to each other and eventually make contact in the presence of a magnet. They then break apart when the magnetic field is moved away. These reeds move slowly and smoothly, making contact along their flat surface. It’s this slow and secure contact that makes the reed switch so reliable and long-lasting.

How the reed switch works in a window sensor

Scout window sensor being installed on window.
Image used with permission by copyright holder

The reed switch is the core component in a window alarm. When the window is closed, the magnet causes the reeds to move together until they touch. When the reeds are in contact with each other, they complete the electric circuit inside the window sensor, allowing electricity to flow in a continuous loop. When the windows open, the magnet moves away, and the reeds break apart. This opens the circuit, which halts the electrical current and triggers the security system inside the window sensor. The security system then sounds an alarm or sends out alerts.

Kelly Hodgkins
Kelly's been writing online for ten years, working at Gizmodo, TUAW, and BGR among others. Living near the White Mountains of…
Apple’s busy month could see another batch of new devices in late October
More macs, updated HomePod mini, refreshed iPad mini, the long-awaited smart home hub, and more.
Apple-TV-4K

Apple's Fall launch slate for 2026 is looking absolutely stacked. The company has already lifted the covers from next-generation Mac hardware, alongside new iPhones, AirPods, and a couple of updated smartwatches. But it seems the company has a lot more to show before the year comes to an end.

It was recently reported that the company has set the date for an event on October 13, where it could reveal updated Apple TV hardware, its long-awaited smart home hub device, and a refreshed HomePod mini. Now, a fresh rumor claims that the companty has a second batch of product reveals lined up for late October.

Read more
Baseus’ new 4K security camera turns your window into a no-drill monitoring setup
The PrimeSentinel W1 records full-color video through glass at night while reducing glare.
Baseus 4k AI security camera

Outdoor security cameras are not always practical if you live in an apartment or rental. Drilling into an exterior wall may be off-limits, while pointing a regular indoor camera through a window can create another problem once reflections start showing up after dark.

Baseus is trying to solve both issues with the new PrimeSentinel W1, a $69.99 security camera designed specifically to monitor the outdoors through glass. It mounts directly to a window without drilling and uses a 4K Starlight sensor with an F1.0 aperture for full-color monitoring during the day and at night.

Read more
Let a robot do the dirty work with these 5 early Prime Day deals
Prime Day isn’t here yet, but these 5 robot vacuum deals already clean up nicely
Computer Hardware, Electronics, Hardware

Robot vacuums have come a long way from bumping around furniture and hoping for the best. LiDAR mapping, self-emptying docks, spinning mop pads, carpet detection, and automatic mop washing can now take a surprising amount of floor cleaning off your hands. The catch is that piling on those conveniences can make the better models seriously expensive.

Robot vacuums have come a long way from bumping around furniture and hoping for the best. LiDAR mapping, self-emptying docks, spinning mop pads, carpet detection, and automatic mop washing can now take a surprising amount of floor cleaning off your hands. The catch is that piling on those conveniences can make the better models seriously expensive.

Read more