The fix is simply to install a metal or plastic box extension.
Fix wall light switch always use an electrician.
When a switch stops switching then it s time to troubleshoot and repair or replace the switch.
Electrical boxes must be flush to the wall surface if the wall surface is a combustible material.
Most flickering is caused by a old faulty or incompatible wall switch or bulbs that are loose or poor quality.
There s a good chance that your lighting issues are indeed a quick fix like.
Recessing boxes behind the wall surface.
Turn off the power to the switch at the main circuit breaker or fuse panel.
Next mount the faceplate over the outlet and secure it with the small flathead screw.
Turn the power back on and make sure that the outlet works properly by plugging in a lamp and checking to see that the light switch turns the lamp on and off.
When a white wire is attached to a 3 way switch a tester may not read the power because of the position of the other 3 way switch.
Remember that white wires may not always be a neutral wire especially if you see a white wire that is connected to a light switch.
Before you do any work on a switch make sure power is turned off at the electrical panel.
Unscrew the switch from the electrical box and pull it out with the wires still attached.
Soon the contacts won t meet properly and electricity will flow more freely creating heat.
Then use a voltage tester to make sure that the circuit is dead.
There s no reason to try to fix a bad light switch.
This can be caused by different events.
A new switch costs less than 5 in most cases and installing it is one of the easiest home electrical procedures there is.
Unscrew and remove the switch plate.
The switch is failing.
A third problem that might be blamed on the light switch can actually caused by the light fixture itself.
Until you get the time to do it though you might have to flip off the breaker to avoid wasting energy.
Use a voltage tester to verify the circuit wiring configurations.
You may also want to use a circuit tracer to identify the circuit breaker or fuse you need to turn off.
With the outlet in place use the two included screws to affix the outlet to the junction box.
When this happens a small spark on the electrical contacts will be emitted whenever you turn the light on and off.
To replace this kind of switch follow these steps.
You might notice this type of issue if the light bulb flickers while turned on.
It is also possible that the light fixture or switch has loose connections or a short circuit that causes intermittent failure so if the problem persists after you ve replaced the switch have a look at the light fixture next.
Again this is a fire risk.
Even if this happens only occasionally it s still time to replace the switch.
Boxes recessed behind combustible materials like wood present a fire hazard because the wood is left exposed to potential heat and sparks.