November 16, 2026
Closet and Hallway Lighting: Code Rules, Motion Sensors, and Replacing That Pull-Chain Bulb
Closets and hallways get the least lighting attention in most NYC apartments, which is why so many still run on a bare bulb and a pull chain. The code treats closets carefully: stored clothes close to a hot lamp are a real fire concern. (New York City's 2025 Electrical Code, which took full effect December 21, 2025, is the 2020 National Electrical Code plus local amendments; sections cited below are 2020 NEC.)
What the code allows inside a clothes closet
NEC 410.16 limits clothes-closet lighting to a short list:
- Surface-mounted or recessed incandescent or LED fixtures with a completely enclosed light source — the lamp sits behind a lens or globe, not exposed.
- Surface-mounted or recessed fluorescent fixtures.
- Surface-mounted fluorescent or LED fixtures identified for use inside the closet storage space.
What is not permitted: incandescent fixtures with open or partially enclosed lamps, and pendant fixtures or bare lampholders. The classic prewar porcelain pull-chain socket with an exposed bulb is exactly what the rule excludes; its replacement should be one of the permitted types above.
How far the fixture has to be from your stuff
The rule measures clearance to the "storage space," not to the closet walls. The code (2020 NEC 410.2) defines that space as the area running from the floor up to 6 feet (or the highest hanging rod, if higher) and out 24 inches from the side and back walls. Above that height, up to the ceiling, it extends out 12 inches or the width of the shelf, whichever is greater.
Minimum clearances to that space under 410.16:
- 12 inches for surface-mounted incandescent or LED fixtures with an enclosed source, on the wall above the door or on the ceiling.
- 6 inches for surface-mounted fluorescent fixtures in those same locations.
- 6 inches for recessed incandescent or LED fixtures with an enclosed source, in the wall or ceiling.
- 6 inches for recessed fluorescent fixtures in the wall or ceiling.
Surface fluorescent or LED fixtures identified for the purpose may sit inside the storage space itself. That is why slim closet-rated LED fixtures suit shallow NYC reach-ins, where a standard ceiling fixture may not meet the 12-inch clearance. Check the listing first.
Motion sensors, door switches, and the hallway rules
For closets, the switch options are flexible:
- Door-jamb switches turn the light on when the door opens and off when it closes. Best on hinged doors that close fully.
- Occupancy or vacancy sensors. Occupancy sensors switch on automatically; vacancy sensors need a press to turn on and shut off on their own.
- A plain wall switch outside the door — still the most reliable.
Hallways are different because the code requires a light there. Under NEC 210.70(A)(2), dwelling units need at least one wall-switch-controlled lighting outlet in hallways and stairways. For interior stairways with six risers or more between floor levels, where lighting is installed, a wall switch is required at each floor level, and at any landing that includes an entryway. That is typically done with 3-way switches. The NEC's switch-at-each-level rule is written for stairways; it does not require a switch at each end of a hallway. A second hallway switch is a convenience.
Motion control is allowed. Under 210.70, lighting outlets for hallways, stairways, and outdoor entrances may be controlled by remote, central, or automatic devices. In habitable rooms the rule is stricter: an occupancy sensor must either be in addition to a wall switch, or sit at the customary switch location with a manual override so it can work as a wall switch.
Night lights, path lights, and battery stick-ons
For overnight trips down a hallway, low-level light beats a full overhead fixture: plug-in night lights, or hardwired step lights set low in the wall, often on a sensor.
Battery LED stick-ons involve no wiring, and for a renter or a rarely used linen closet they are often a sensible choice. The trade-offs: limited brightness, batteries to replace, and adhesive that can let go. For a closet you open ten times a day, a hardwired enclosed fixture on a sensor or door switch usually earns its keep.
The NYC side: permits, co-ops, and old ceilings
Adding a closet light where none exists, adding a switch location, or running new path lighting is new electrical work in New York City: the Department of Buildings requires a NYC licensed master electrician, an electrical permit, and a DOB inspection. Even simple swaps aren't exempt. DOB's "Minor Electrical Work" category, which covers limited like-for-like replacements such as a few fixtures with no wattage increase, still requires a licensed master electrician and a permit; it only skips the inspection. Co-ops and condos usually layer their own alteration rules on top — board or managing-agent sign-off and a certificate of insurance before anyone opens a wall.
Prewar closets bring surprises: shallow ceiling boxes, cloth-insulated wiring, and plaster to patch after a new switch leg is fished. When a pull-chain fixture sits on tired original wire, that can start a conversation about replacing the old branch wiring. Most of the time, though, it is a straightforward fixture and switch upgrade.
Want a dark closet or hallway sorted out properly? Chazon Electric is licensed & insured and works across all five boroughs. Email yehuda@chazonelectric.com to talk through what your space needs.
Talk to a licensed NYC electrician
Free estimates, all five boroughs, residential & commercial.
