In other words unless the switch is already built in to your shower assembly from the manufacturer adding a switch inside a shower is a code violation.
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.
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.
A flush mounted switch or circuit breaker in a damp or wet location shall be equipped with a weatherproof cover.
Switches shall not be installed within wet locations in tub or shower spaces unless installed as part of a listed tub or shower assembly.
The switch location in the drawing would be considered a dry location.
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.
Ec ode is a staff engineering associate at underwriters laboratories inc in research triangle park n c.
A light switch is a switch most commonly used to operate electric lights permanently connected equipment or electrical outlets.
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.
Light or recept has to be present in certain locations the code contains the requirement for the location of the lighting outlet but does no specify the location for the switch.
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.
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.
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.