Electrical – Ceiling light won’t switch off after replacement

electricallightingwiring

I am replacing a ceiling light fixture. I thought about replacing switch at same time, but didn't. It is one light fixture on one switch using a red, black, white and ground cable.

The switch is connected to the black and red wires, white is capped off in this box.

I attached the light fixture to the white and red and ground. I was pretty sure the black was capped off in the fixtures box.

The light won't turn off – is it possible that I should cap off the red and use the white and black for thew fixture?

Best Answer

Wire color isn't a certainty, particularly with switched power. You need to be certain of how it was wired before and use the same configuration. Without that, you need to disconnect and use test equipment (non-contact tester, multimeter) to determine the neutral, hot line, which hot goes to the switch, and which hot is switched. A common convention would be black as always hot and red is a switched hot, but you need to test to be sure.

Once you have identified the wires, the light fixture will be connected to the neutral and switched hot. The hot from the line needs to go through the switch to become the switched hot. And neutrals should all be connected together.