Fumbling for a light in a dark closet with your arms full of towels is a small daily annoyance that a five-dollar part can eliminate. A door light switch is a mechanical or magnetic device that automatically turns a light on when a door opens and off when it closes, the same way your refrigerator bulb behaves. These switches have been standard inside appliances for decades, but homeowners are increasingly wiring them into pantries, closets, cabinets, and garages where hands-free lighting genuinely saves time.
Part of our Windows & Doors guide — explore the full guide →
How a Door Light Switch Works
Most door switches use a spring-loaded plunger. When the door is closed, it presses the plunger in and breaks the circuit. Open the door and the plunger pops out, completing the circuit and energizing the light. It is a simple normally-open design, meaning the light stays off until the door releases the button.
Magnetic reed switches work on the same on-off logic without physical contact. A small magnet mounts on the door while the reed switch mounts on the frame. When the two separate, the internal contacts change state. Reed switches last longer because nothing wears against a moving part, which matters on a door you open dozens of times a day.
Common Places to Install One
Closets are the classic application. A plunger switch mounted in the door jamb turns on an overhead fixture the moment the door swings open, so you never grope for a pull chain again. Pantries, linen closets, and coat closets all benefit from the same setup.
Cabinet lighting is another popular use. Under-cabinet LED strips wired to a small door switch light up your countertop when a cabinet opens, which is handy for spice cabinets and deep corner units. Garage entry doors, gun safes, and vanity cabinets round out the list. Anywhere you routinely open a door in low light is a candidate.
Types of Door Switches
- Plunger door jamb switch: $3 to $8, mounts in a drilled hole in the door frame, best for closets
- Roller lever switch: handles doors that do not close flush, common in cabinets
- Magnetic reed switch: $6 to $15, no moving contact, ideal for high-use doors
- Battery-powered LED puck with door sensor: $12 to $25, no wiring required, peel-and-stick
For a rental or a quick fix, a battery-powered puck light with a built-in magnetic sensor is the easiest option. It installs in under two minutes and needs no electrical work. For a permanent, wired result that ties into an existing fixture, a hardwired plunger switch is the better long-term choice.
How to Wire a Door Light Switch
Wiring a jamb switch is a straightforward job for a confident DIYer. Always cut power at the breaker before touching any wiring, and use a non-contact voltage tester to confirm the circuit is dead.
- Choose the hinge side of the door jamb where the door will press the plunger fully when closed.
- Drill a hole sized to the switch body, usually 3/4 inch, angled so the plunger faces the door edge.
- Run the switched hot leg of your light circuit to the switch. The door switch interrupts the hot wire between the fixture and the power source.
- Connect the two switch leads inline with the hot conductor using wire nuts, then push the switch into the hole so only the plunger protrudes.
- Restore power and test by opening and closing the door.
If the switch is in a metal jamb or you are unsure about the circuit, hire a licensed electrician. The part is cheap, but a miswired hot leg is a fire risk.
Choosing the Right Amperage and Voltage
Match the switch to the load. A single LED strip pulls almost nothing, so a low-rated switch is fine. A pair of incandescent closet bulbs at 60 watts each draws about 1 amp on a 120-volt circuit, so pick a switch rated for at least 3 amps to leave headroom. Cheap automotive-style plunger switches are only rated for 12-volt low-voltage lighting, so read the packaging. For a 120-volt household fixture, buy a switch specifically labeled for line voltage.
Troubleshooting a Door Switch That Fails
If the light stays on with the door closed, the plunger is not being fully depressed. Shim the switch outward or adjust the door strike so the door presses it completely. If the light never comes on, the plunger may be stuck or the contacts corroded. Spray a little electrical contact cleaner and work the plunger by hand.
Magnetic switches fail when the magnet drifts out of alignment. The reed contacts need the magnet within about a quarter inch to hold their state, so re-seat the magnet so it sits directly across from the switch when the door closes. A door switch that clicks but does nothing usually means a broken conductor upstream, not the switch itself.
Normally Open vs Normally Closed
Door switches come in two logic types, and buying the wrong one is a common mistake. A normally open switch keeps the circuit off until the door releases the plunger, which is what you want for a closet light that turns on when the door opens. A normally closed switch does the opposite, turning the light off when the door opens, which suits an alarm or a warning light rather than closet illumination. Some switches are labeled SPDT and offer both terminals, letting you wire either behavior. Check the packaging for a diagram, and if you are unsure, a quick test with a multimeter on the continuity setting tells you which contacts close when the plunger is out.
Is It Worth Installing?
For under ten dollars in parts and thirty minutes of work, an automatic door light switch removes a daily friction point and improves safety in dark storage areas. It is one of the highest-value small upgrades you can make in a home, especially for closets and pantries where your hands are usually full. Start with a battery puck to test the idea, then hardwire the spaces you use most, and once you see how convenient it is you will likely add one to every dark cabinet and closet in the house.