Electrical – How to Properly Wire a Switch Loop?

electrical

I encountered this apparently simple situation recently.

The issue is that it seems no matter how you wire it, you'll always end up with a black connected to white, which seems wrong.

How should this simple light fixture controlled by a switch be properly wired?

enter image description here

Best Answer

Why do you consider a black to a white wrong?? The whole "black-to-black, white-to-white" is a wives tale and myth.

What you have is a switch loop, and is VERY common, especially in 50's and 60's homes.

The white from the panel goes to the white from the fixture. This is the neutral. The black from the panel goes to the white from the switch. This is the feed. The black from the switch goes to the black from the fixture. This is the switched hot.

Modern codes do require that the white to the switch get re-marked with a hot color (typically black, red or blue) with a permanent method such as paint, a permanent marker or even tape.