I installed four 4-ft. LED shop lights on the ceiling of my garage and linked them together. Currently, they receive power by plugging in one of the shop lights into the duplex electrical outlet where the garage door opener also plugs into. The problem with that is that the outlet is not switched.

There is currently a light fixture by the garage door opener, in the middle of the ceiling. It has switched power, controlled by a switch near the entry door to the garage. I would like to convert that light fixture into a duplex GFCI outlet. When I removed the light fixture from the ceiling box, I saw this:

enter image description here

and this:

enter image description here

I used a Fluke non-contact voltage tester. The black wires are always hot, whether the the door switch is on or off. The red wire is only hot when the door switch is on. The white wires are neutrals (unless I am mistaken).

I am wondering why I see a red wire here. I was only expecting black, white, and ground. Now, being that the garage door opener is nearby, and that duplex outlet is always hot, might these black wires be providing power to that duplex outlet that the garage door opener plugs into? Did the electrician use 14-3 wire here so the red wire can provide switched power while the black wire would provided constant power for the garage door in the adjacent duplex outlet?

When I install this GFCI outlet, I assume I should treat the red wire as if it were a black wire, connecting it to the LINE (brass) terminal, then connect both white wires to white (silver) terminal, and finally pigtail a ground strap and connect it to the ground terminal on the GFCI outlet?

  • Where do you think the switched hot from the switch comes from? It comes from the always hot that leads to the switch (black) and returns switched (red.)
    – Ecnerwal
    Apr 28, 2020 at 14:23
  • Why GFCI in the ceiling? It may or may not be allowed (because it is hard to reset) but it is also likely not needed because GFCI is to protect against people getting zapped by touching a device with a ground fault - which should never be a problem with a ceiling fixture. There are exceptions in bathrooms (if a fixture is over a tub or shower then it needs GFCI - the danger is just too great for someone standing in water) but that shouldn't be the case in a garage. Apr 28, 2020 at 14:39
  • 1
    @manassehkatz-Moving 2 Codidact - Thanks. I will retirn it. I have plenty non GFCI duplex outlets on hand that I can install instead. Apr 28, 2020 at 17:42

3 Answers 3


You cannot use a GFCI here. Fullstop.

It doesn't matter if you want to, nor if you think Code tells you that you must. (I don't think it does). A GFCI is absolutely not allowed on the ceiling, because you would have no way to TEST or RESET it. Which means it wouldn't ever get tested. Which defeats the purpose.

Further, the wiring here is fairly complicated, and putting GFCI at an accessible location that would serve this location is a trick. You would have to resort either to a GFCI switch or breaker, depending on how your wiring is laid out. (note below I talk about XXX and YYY and not caring which is which; with GFCI that would matter.) It would also exclude the garage door opener, and those things pop GFCIs quite often, and that would send you into a vicious cycle of replacing GDO's until you find one that does not.

As an installer:

Lamps take switched-hot and neutral. That's all you want. Do Not Mess with anything else, or you will have a nightmare on your hands.

The whites are neutral. They are using it both as service to the lamp and also a splicing block to carry neutral somewhere else. Just keep them together and attach your lamp also, e.g. with a pigtail.

The red wire is your switched-hot supply to the lamp. And just so you know, red is the "conventional" color for switched-hot, where colors are possible. If you're used to seeing black, it's because common /2 cables are made in black and white, but better electricians who color-code wires will tend to use red for switched-hot.

As an electrician:

It's really common for wires to enter a box, and then continue onward to other locations. For instance, if you have multiple lamps, they all need switched-hot and neutral, so you might carry those onward to the other lamps. Or if you have other always-hot circuits, you might care always-hot onward (which would have nothing to do with the lamp, obviously).

The latter is exactly what happened here. When the person originally wired it, they probably came from XXX to the switch to the lamp to YYY. XXX and YYY are either supply, or onward always-hot power to other stuff, and it doesn't matter which is which (the wiring would work out the same either way).

  • So they ran neutral all the way through; on white because that's required.
  • They ran always-hot all the way through; on black because that's the convention.
  • They ran switched-hot from the switch to the lamp, on red because they had a red wire available, and that was a good fit because that's the convention.

I would encourage you to start thinking about using colored tape to mark wires by their function. When you're able to think that way, instead of just blindly following recipes you find on Google, electrical gets a lot easier and you become able to do more stuff.

Here is how you mount a receptacle on a 4" octagon box.

enter image description here

By the way, don't trip about online prices. In-store they'll cost about a dollar.

You mount the receptacle to the plate using the center screw. THEN, you attach the wires (including ground) to the receptacle, and button it up. The slant is specifically designed to keep the recep from hitting the screw towers.

  • Do I need a pigtail to connect the neutrals to the duplex outlet I am installing? Can't I just take the neutrals as they are now, remove them from lamp fixture, and wrap them around the silver/white terminal on the duplex outlet? Apr 28, 2020 at 19:54
  • @DerÜbermensch Yeah, sure, since a plain recep has 2 screws both connected, you can use them as a splice point. Oh, I forgot to mention you cannot use a GFCI here. Period. Because you cannot reach it to reset it. I'll add that to the answer. If you insist on using a GFCI anyway, you can use its screw-and-clamp feature to put 2 wires on LINE. Never stack 2 wires on a screw. Actually, try it once, you'll see why it doesn't work lol. Apr 28, 2020 at 19:58
  • Thank you. I used a regular duplex outlet. I also used a pigtail. As I was working on the outlet, I recalled the rule that there should only be one wire per terminal. (I could have used the other terminal now that you mention it. I didn't realize that simple fact.) Apr 28, 2020 at 23:55
  • As you probably guessed, my duplex outlet didn't fit into the junction box. I still have it wired, and it works, just not totally secured. (I know, shame, shame.) I read up and bought a Leviton 5059. I'll replace it on Friday first thing. Apr 29, 2020 at 0:39

Most electricians will use the red wire as a switched hot when there is a choice. You will also see this on many motion lights and pre wired switches where the switched conductor is red. Black may be the switched hot and should be if a white black switch leg with the white always hot but should be remarked as not white. But in a x3 cable with white, black, red, ground the red is either always hot or a switched hot.


It's likely a switchloop with an always hot and switched hot but with a neutral at the switch location. As is required for new construction in case you want to install a smart switch that needs a neutral.

IF you want the outlet to be switched then your plan is fine.

If instead you want it to be always hot then instead connect the black wires to the line terminal and cap off the red.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.