Skip to main content

How does a window sensor work?

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.

Related 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.

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.

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.

Editors' Recommendations

How do smart thermostats work?
Ecobee smart thermostat installed on wall next to woman walking down staircase.

Smart thermostats are quickly becoming a staple of the modern household, offering more versatility and control when compared to traditional thermostats. But how exactly do they work? And are there any disadvantages to upgrading to the fancy new technology? Here's a closer look at how smart thermometers work, how they can streamline your heating and cooling needs, and how they can save you money.
How does a thermostat work?

Thermostats control how hot or cold your home gets. Before we explain the "smart" part of a smart thermostat, let's look at the basics of thermostat operation.

Read more
Best smart patio lights under $100
Govee Smart Outdoor String Lights set up on patio trellis at night.

Summertime is in full swing, and it's time to make your patio a little more inviting when friends and family come over. Take a look at these Wi-Fi-connected smart lights built to handle the outdoors. Not only do they offer color and control, but they squeak in under the $100 mark, making them a fine choice for the budget-conscious. If you're looking for other lighting options, check out our smart light bulb guide to see what other options are available.

Read more
The best air purifiers for mold issues
A Levoit Core 300 sitting on a console table.

Air purifiers can be an important appliance in your home if you have any issues with breathing or allergies — or you just care about having better air quality. Not all air purifiers are the same, though, and it's essential to make sure the one you buy will be best for treating the most common issues with air quality. This list will tackle the problem of clearing mold in your home and the purifiers that are best suited to do so.

Mold can be a common issue with homes depending on the average humidity in your environment, so you'll want to keep an eye out on your humidity levels if you start to see traces of a mold outbreak. With that said, the reason that mold is so annoying is that not only does it cause a smelly area, but it can also trigger basic to serious respiratory diseases.

Read more