There is a switch box. The box has three incoming 14/2 cables. One for the ceiling fixture, one for an unswitched outlet and one bringing the power. The one with power has an energized white wire. I'm assuming this box was wired as a switch loop. How do I connect the wires in this box? Virginia, USA Thank you!
I have a pending question for you but other than that, this is a very common situation, and is easy to deal with.
- Connect all grounds together, including to the box itself
- Connect all neutral (white) together
- Connect hot (black) from power to hot (black) to outlet, and using a small piece of black wire as a pigtail, connect it to one side of the switch
- Connect hot (black) to the light to the other side of the switch
I actually would not describe this as a "switch loop" -- a switch loop can be identified by only one wire coming into the switch box, and the power actually going to the light fixture first. This actually isn't very common anymore, since NEC 2011 404.2(C) added a requirement to have neutral in switch boxes, and the easiest way to do that is to have power come to the switch first.