How Does a Window Sensor Work?

SafeWise experts have years of firsthand experience testing the products we recommend. Learn how we test and review

Window sensors are must-haves for comprehensive home security systems—they can promptly notify you if someone attempts to access your home through a window.

Here’s how these devices work: A switch and a magnet attach to a window frame and pane, and as long as the window stays closed, the magnet keeps the switch’s circuit intact. When the window is opened and the magnet is pulled away from the switch, the circuit opens, which sends a signal to the control panel to sound the alarm.

Protect your property
Sign up for our weekly newsletter to get the latest deals, home security tips, and in-depth reviews.

By signing up, you agree to our Terms and Conditions and Privacy Policy.

The Anatomy of a Window Sensor

There are wired and wireless window sensors available, although most homeowners opt for the wireless version to avoid the mess of cords. Most window sensors, like door sensors, are composed of magnets and reed switches.

Reed switches are commonly used in everyday household items. When you close a laptop and the screen goes dark, that’s usually the work of a reed switch. A window sensor works much the same way. A reed switch with a small circuit inside sits on the frame of the window, while a magnet attaches to the pane, right next to the switch. When the magnet holds the switch’s metal contacts together—when the window is closed—an electric current flows in a continuous loop.

When the two pieces separate—when the window opens—the electrical current stops flowing and the circuit deactivates. The sensor then signals the security control panel, triggering an alarm.

Installing Window Sensors

Like their door sensor counterparts, window sensors take only a few minutes to install. You can use a strong adhesive to attach the sensor to the window. Place the main sensor on the window frame and attach the smaller piece to the window pane.

When the window is closed, the two pieces should be parallel with only a small space between them. If they aren’t placed evenly enough, they won’t maintain a circuit. When your window is pulled open, the two pieces will separate, and the sensor will alert the control panel. For more comprehensive protection, you should have a sensor placed on every window in your home.

Read more: How to Install Entry Sensors

With some systems, you can customize how and when your window sensors release an alarm. You may want to receive an alert only if a window opens when your alarm is armed. Or, you may want to hear a notification bell any time a window opens, regardless of whether the main alarm is set.

Like any device, window sensors require some maintenance. If you don’t use a strong enough adhesive, you may have to reapply the sensor if it falls off. The sensor may also eventually run out of batteries. If a window sensor sets off a false alarm or malfunctions, notify your home security company to replace it.

There are a variety of window sensors on the market, some of which offer unique features or integrations. Check out our guide to door and window sensors for comprehensive reviews of our top picks.


Compare the best home security systems

Brand
Installation
Monthly cost Icon Tooltip  Dark
Best for
Starter equipment price
Contract required
Smart home compatibility Icon Tooltip  Dark
Learn more
ProfessionalBest professional home security$599.00No *Amazon,
Google,
Z-Wave
ProfessionalMost trusted security brand$0.00YesAmazon,
Google,
Z-Wave
DIY or ProBest customer ratingQuote required
Online quiz
No *Amazon, Google
Ring
DIYBest budget-friendly pick$199.99NoAmazon, Google, Z-Wave
DIY or ProBest DIY home security$245.00NoAmazon,
Google

Info current as of post date. Offers and availability may vary by location and are subject to change. Read full disclaimer.
Full ADT disclaimer

Celeste Tholen
Written by
Celeste Tholen
Celeste has dedicated her decade-long career to reporting and reviews that help people make well-informed decisions. She oversees editorial strategy and production for SafeWise, with a goal to help everyone find the information they need to make their homes and lives safer. Prior to SafeWise, she worked as an editor and reporter for KSL and Deseret News. She holds a Bachelor's degree in Journalism. In her free time, she volunteers at the local botanical garden and writers for the community newspaper.

Recent Articles

woman adjusting thermostat in bright home
The Best Home Security Systems of 2024
After thousands of hours of tests and research, we picked Vivint and SimpliSafe as the...
Man and woman couple wife husband set up surveillance security camera
Best Apartment Security Systems
These renter-friendly apartment security systems help keep you safe and require less commitment than your...
diy-security-system-on-ipad
Best DIY Home Security Systems of 2024
SimpliSafe is the best DIY home security system because it's cost-efficient, effective, and easy to...
happy older women sitting together
Best Medical Alert Necklaces
If you find yourself in an emergency, a medical alert necklace can contact trained professionals...