Electrical – Light fixture box has 3 sets of wires and I’m confused

electricalwiring

enter image description here

I took out a light fixture in the basement with the intent of installing a new one which ive done before and I come across 3 sets of wires (3 black, 3 white, and 3 ground wires) i didn’t take a pic or mental note of how it was wired to the old fixture and now I’m confused. Every time I turn the switch on the breaker trips enter image description here

Best Answer

So your box has only 3 cables. That means it's most likely wired up like this

  1. Incoming cable from the previous fixture or circuit breaker
  2. Outgoing cable to the next fixture
  3. Cable to the light switch (looks like this might be the blue cable)

It looks like you nutted the wires all together. So somewhere in there you have a hot and a switched hot. When you flip your switch, you're creating a bridge between the hot and neutral, and thus your circuit breaker trips because you hit that max amperage instantly.

The good news here is that you can see the cables and where they go. What you need to do is follow the cables and label them. Then we're going to modify the box as such

  1. Connect all the bare ground wires together and nut them off. Add your fixture ground into this.
  2. Connect the incoming and outgoing white wires together with the white wire from your fixture and nut them off (very important the white wire to your switch is not in here)
  3. Connect the incoming and outgoing black wires AND the white wire from your switch. Use a black sharpie to mark that white wire so it's clear that it is a hot wire. Nut them off
  4. Connect the black wire from your switch (last wire left) to your fixture's black wire. Nut them off.

This will correct the problem of your breaker popping when you flip the switch