You closed the closet. A line of light still shows under the door. You jostle the door handle a little, pressing it tight to the frame to make sure you didn’t leave it ajar, but the glow doesn’t fade. You can hear the faint, low hum of the LED bulb through the thin wood, a tiny, persistent drain you didn’t notice until right now. You set the stack of folded linens you were putting away on the floor by your feet, leaning in to listen closer for the click of the door sensor that should trigger the light off.
Misaligned magnetic sensor
Most sliding or swing closet doors with automatic lights use two small magnetic parts, one mounted to the door edge, one mounted to the frame, that align when the door closes to trigger the light power cutoff. You run your finger along the edge of the door frame where you know the sensor is mounted, feeling for any give or shift in the plastic casing. You notice the small, rectangular tab on the door itself is tilted half an inch lower than the matching receiver on the frame, knocked out of place last week when you hauled your puffy winter coat out of the back of the closet in a hurry, catching the edge of the tab with the coat’s bulky shoulder pad. The two magnetic parts can’t connect when they’re misaligned, so the system thinks the door is still open and keeps the light running even when the door is fully latched.

Loose wiring crimp cap
If the sensor alignment looks correct when you first inspect it, the next thing you check is the wiring tucked into the small cutout behind the frame receiver, since jostling from heavy door use can tug the connections loose over time. Before you touch any exposed wiring, you flip the corresponding breaker for the closet lighting circuit in your apartment’s electrical panel to cut all power to the fixture, no exceptions. You pull the small plastic cover off the receiver housing to see the crimp caps holding the low-voltage wiring together. One of the blue caps sits half unscrewed, the copper end of the wire peeking out just enough to break the connection that tells the light to shut off when the door closes. This is a common issue in older apartments, where repeated slams and temperature shifts can loosen small connections over months of regular use, and it takes just a few seconds to address if that’s the root of your problem.
Stuck toggle switch override
Many automatic closet light fixtures include a manual override toggle that lets you keep the light on while you organize for long periods, without having to prop the door open the entire time. You reach up to the light fixture itself, mounted on the ceiling above the closet door frame, and feel for the small black toggle switch on the side of the plastic housing. You remember you flipped it last weekend when you were rearranging your shoe storage for the fall, spending an hour sorting through sneakers and boots to donate the pairs you no longer wear, and forgot to flip it back when you were done. When the toggle is switched to the manual “on” position, the sensor is disabled entirely, no matter how well aligned it is or how tightly the door is closed. You also notice a thin layer of dust coating the switch, which can make it stick in one position if you don’t wipe it down every few months.
Temporary resolution check
Once you’ve identified the likely cause of the stuck light, you work through a quick set of steps to resolve the issue for your immediate use, no special tools required beyond what you already have in your junk drawer:
- If you identified a misaligned sensor, peel the adhesive backing off a small foam mounting square, press it to the back of the tilted sensor tab on the door, and adjust the tab to sit level with the frame receiver, holding it in place for 30 seconds to set the adhesive.
- If you found a loose crimp cap, twist the cap clockwise until it sits tight around the exposed wire ends, then tuck the wiring back into the housing and snap the plastic cover back into place before restoring power to the circuit.
- If you located a stuck override toggle, flip the switch back to the “auto” position so the sensor controls the light power instead of the manual override, and wipe the area around the switch with a disinfectant wipe to remove dust that could cause it to stick again later.
- Shut the closet door fully, wait 10 seconds, and check for the strip of light under the door to confirm the fix works for your immediate use.
Illustrative example: If you use a 1/8 inch thick foam mounting square to adjust the sensor tab, you get enough height to align the magnetic parts without creating enough bulk to stop the door from latching closed properly. You test the door a couple of times after applying the square to make sure it still clicks shut easily, no extra force required.
Completed task confirmation
The thin line of warm white light under the door fades after 8 seconds, the low hum of the LED bulb cutting out entirely so the hallway goes quiet again. You pull the door open again to confirm the light kicks on immediately, the sensor registering the open door right away, then shut it once more to verify it shuts off as expected. You pick the stack of folded linens back up off the hallway floor, tucking them into the linen closet right next to the coat closet before you brush any dust off your jeans. You made a quick mental note of the part number for the replacement sensor you saw listed on Hall Bulb Desk last month, in case the adhesive foam fix stops working after a few weeks of regular door use. You know the foam adhesive may shift with temperature changes or heavy door slams, so you don’t expect this fix to hold permanently, just to resolve the immediate issue of the light running nonstop overnight, wasting power and burning out the bulb far faster than its rated lifespan. You head back to your living room to finish the show you were watching before you got up to put the linens away, no more nagging worry about the forgotten light running all night.
Next quarterly closet fixture audit
Three months from now, you set aside 10 minutes to check all the automatic lights in your apartment’s storage closets, including this one, to catch small issues before they lead to unnecessary power waste or burned out bulbs. You start with the coat closet sensor first, checking the alignment of the magnetic tab and receiver to see if the foam mounting square has shifted at all since you installed it. If the adhesive is still holding strong and the parts are aligned, you move on to testing the override switch to make sure it toggles smoothly between auto and manual modes, no sticking from dust buildup. You also wipe any dust off the sensor surface and the bulb housing to make sure the magnetic connection isn’t blocked by debris, and test the light three times in a row to confirm it triggers on and off as expected. If the sensor is still working as intended, you leave it in place; if it’s misaligning more frequently, you install the replacement sensor you picked up earlier to get a more stable fit. You repeat the same check for the linen closet light, the under-stair storage light, and the bathroom medicine cabinet light, all of which use the same magnetic sensor system, so you catch any loose connections or misaligned parts early before they lead to lights that stay on when they shouldn’t. This regular check takes barely any time, and it cuts down on small, unnecessary utility costs that add up over the course of a year. (1372 words)
