Electrical – Wiring issues on ceiling light fixture

electricallightingwiring

I'm installing a simple light fixture in my office. The wall switch has one black and one white wire connected to the switch. The overhead ceiling box has the following 3 connections:

  1. 3 black wires connected
  2. 2 white wires connected
  3. a single white wire.

I connected the black wire from the fixture to the 3 black wires. Then I connected the white wire from the fixture to the single white wire in the ceiling box but the light does not work.

Then I connected the white fixture wire to the two white wires in the ceiling box. The light works but you can't switch it off.

Then I connected the fixture white, to the 2 ceiling white and also connected the single ceiling white but this throws the switch. I don't know what to do next.

Any ideas? I'll try to attach two images.

Best Answer

You've got a switch loop. Forget about the three black wires. Take the white wire from your fixture and connect it to your two white wires that are already grouped together. Take your black wire from the fixture and connect it to the single white wire. Mark that wire with some black electrical tape to show it's a switched hot. Mark the white wire in the switch box with some black tape too.