If you’re changing out a light fixture and find two wires on the fixture and three wires in the box, you’re not out of luck. Here’s how to connect a 2 wire light fixture to a 3 wire ceiling box.

Safety first

Always turn off the power at the breaker or fuse box before you work on electricity. This keeps you safe from potential electric shock.

Map out your wires

First, map the wires coming out of your electrical box. The white wire is common, going back to the electrical box. The black wire is a hot wire coming from the box. A red wire is an alternate hot, often coming from a light switch. A bare or green wire is ground.

Black, white, and green or bare

If you only have three wires coming from the box and one is the green or bare wire, your job is easy. Tie off the green or bare wire with a wire nut. Connect black to black and white to white. You’re done. Connecting ground is a very good idea, but not necessary for the operation of the light.

Multiple other colors

When you have other colors involved, such as blue or red, it gets trickier. Always connect white to white. The question becomes which of the other wires is hot or switched. Some junction boxes have always-hot lines present, in case you want both a switched light fixture and an electrical outlet.

Unfortunately the only thing you can do is map out the wires with a multimeter or experiment. If one wire is always hot, that’s not the one you want. You want the wire that’s hot when the light switch is on, and registers zero volts with the light switch off.

If you don’t have a multimeter, connect one of the non-white wires to the black wire on the fixture. Turn the power back on. If the light always stays on, you picked the wrong one. If the light switch doesn’t work, you picked the wrong one.

What to do with the extra wire

After you determine the correct wires to use, put a wire nut on the end of the wire you don’t use. Then wrap a piece of electrical tape around the end. That way the wire can’t short out, and if you ever need to use it, just remove the tape and wire nut and the wire will be ready.

Further reading

While you’re updating your light fixture, why not think about modernizing your lighting too? I’ve had good experience with LED bulbs.