Lighting & ceiling fans

Closet light with a door sensor switch not working

Closet lights controlled by a spring-loaded door jamb switch often fail at that small mechanical switch rather than the light or wiring itself.

Difficulty
Easy
Time
15–30 minutes
DIY cost
$5–$15
Pro cost
$80–$150

Symptoms

  • Light doesn't turn on when the closet door opens
  • Light stays on even with the door closed
  • Switch plunger looks stuck or doesn't move freely

Likely causes

  • CommonA stuck or worn door jamb switchThese small plunger switches see constant mechanical action every time the door opens and close, and wear out.
  • CommonA misaligned door not fully pressing the switch plungerDoor or hinge shifts over time can prevent the plunger from being pressed all the way.
  • PossibleA burned-out bulbWorth ruling out before assuming the switch has failed.
  • PossibleA tripped breaker for that circuitUncommon for just a closet light, but worth checking if other nearby items are also affected.

What to do

  1. Replace the bulb with one known to work.
  2. Check the door jamb switch's plunger for free movement by pressing it manually.
  3. Check whether the door actually presses the plunger fully when closed, adjusting the strike plate or switch position if not.
  4. Check the breaker panel if the bulb and switch both seem fine.
  5. Turn off power before removing the door jamb switch for closer inspection or replacement.
  6. Replace the door jamb switch if the plunger feels stuck or doesn't click reliably.
  7. Call an electrician if wiring to the switch looks damaged or the fixture stays dead after these steps.

Tools and parts

  • Screwdriver
Closet door jamb light switchSearch: “door jamb switch closet light”

When to call a pro

Call an electrician if the wiring behind the switch looks damaged or the light stays dead after replacing the switch.

Safety

Use caution

Turn off the breaker before removing or replacing the door jamb switch.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.