Switches shall not be installed within wet locations in tub or shower spaces unless installed as part of a listed tub or shower assembly.
Nec light switch to close to shower door.
404 4 c does not allow switches within the shower or bath space unless the switch is part of a listed assembly.
If the bathroom is small and there are limited locations for light switches or the light switch will be place near the opening to the bathtub or shower then the circuit will be required to be protected by gfci.
The nec does not indicate that a switch.
Actually this is correct the nec does not mandate that the switch must be on the doorknob side of the swinging door per se just that a switched outlet ie.
My personal recommendation if you d like to put it as close as possible is to place it where you feel it s not likely to receive shower spray but again according to the code you could place it 1 16 away if you wanted.
Ec ode is a staff engineering associate at underwriters laboratories inc in research triangle park n c.
In modern homes most lights are operated using switches set in walls usually 6 10 inches 15 25 cm away from a door to operate overhead ceiling lights.
As designers and installers of bathtub and shower areas continue to create new and dynamic designs for bathrooms the nec will continue to apply necessary safety requirements for these areas.
A flush mounted switch or circuit breaker in a damp or wet location shall be equipped with a weatherproof cover.
A surface mounted switch or circuit breaker in a damp or wet location shall be enclosed in a weatherproof enclosure or cabinet that shall comply with 312 2.
A light switch is a switch most commonly used to operate electric lights permanently connected equipment or electrical outlets.
The switch location in the drawing would be considered a dry location.
2008 national electrical code article 404 switches 404 4 damp or wet locations.