My question is a bit complex. I'll try to be short and to the point as best I can. I am trying to add two more light switches to make a total of three at a light switch. The first one that was there controls the ceiling fan in the middle of the ceiling. That was there and I had no issues. I want to install four recessed lights in the corners of the ceiling that will be controlled by the second switch. The third switch runs to an outlet that I'd like to be able to power a desk or table lamp. I already have all the wires in place as there was no drywall up and I had access to drilling through joists, etc. I just installed all the drywall earlier this week and taped it all up.

So back to the three gang light switch: I tried to "pigtail" two more times from the wiring that controlled the ceiling fan but that didn't work. Then I realized that the hot wire was actually not at the switch box at the wall but rather it was in the ceiling junction box that the fan connects to. So I'm leaving that wire connection alone and am trying to connect my two other lights to another source.

enter image description here

To describe what's in the photo above the ceiling fan switch is on the right (the switch is connected but hanging and not visible in photo), the middle switch will control the ceiling recessed lights and I will eventually put a third switch on the left (hoping to pigtail from the middle switch) to control power to an outlet for a lamp. The yellow Romex on the bottom left is my "mock up" to run power from the outlet below). If and once I am successful I will run it behind the drywall.

So then I tried to grab power from a nearby electrical outlet. I am enclosing photos to help with my description. When I got into the electrical outlet nearby I saw that it had two black and white wires connected into the back of the outlet. Between the two sets of black wires I located the hot wire and disconnected it from the outlet (alone with its corresponding white and ground wire). I then did a "mock test" to wire it to my second switch by using Romex to connect my second switch to the hot black and neutral wire that I disconnected from the outlet nearby. After I wired it up I turned the power on and my temporary ceiling light (where my permanent recesses lights will be installed) lit up. I thought I was successful. But here's the thing. When I tested the light switch by turning it on and off it trips the circuit and I lose power. But if I leave the light switch on and then turn the circuit back on at the circuit breaker box the power works. But once I use the light switch to test it, something is tripping the circuit and cutting off power. I have never experienced this before.

enter image description here

The image above shows the electrical socket pulled out from the wall. You can see a black and white wire connected to the back which I did not touch. I am not certain but I think this set of wires run to another outlet on the opposite wall. I'm almost certain. The hot black and white wires that I disconnected from the back of the outlet are now connected to my yellow Romex wire to my middle switch for my ceiling lights.

For the third and final light switch at my three gang light switch box on the wall I was hoping to pigtail from the second light (which will control the ceiling recessed lights) to power the outlet for a desk or table lamp.

enter image description here

Above pic shows the temporary light I connected as part of my mock up. It works when I turn the power back on at the circuit breaker box in the basement. But once I turn the light switch on and off at the wall in the room the circuit trips and the power is cut off.

Does anyone have any advice or can anyone help? Let me know if I need to further explain anything be more clear.

  • 2
    It's funny. You've got little fragments of semi-knowing what you are doing, among big chunks of territory of not knowing at all. It's almost like you're Googling this stuff, which is a bad idea, because it gets you swiss cheese knowledge, not the broad base of knowledge you need to do this safely. I generally advise people hit the library and browse their how-to-do-home-wiring section (621.31), find a book that appeals, and read it through and through. Jun 23, 2019 at 22:22
  • 1
    As things are, your knowledge gaps are so large we'd have to effectively write that book for you, in answers. That's too broad for our format here, but maybe I'm wrong so we'll see if answers emerge. Jun 23, 2019 at 22:25
  • As I understand it, the comments section is designed for clarification purposes; not to badger me in multiple comments reminding me that I have no idea what I'm doing. If I knew what I was doing I wouldn't be asking for help. This is a DIY forum, is it not?
    – Adrien
    Jun 23, 2019 at 23:13
  • 1
    It's not a forum. I'd encourage you to take the tour and then edit your question to narrow it to a single question. Jun 23, 2019 at 23:28
  • Here is what it says for the DIY Stack Exchange website: "Home Improvement Stack Exchange diy.stackexchange.com Home Improvement Stack Exchange is a question and answer site for contractors and serious DIYers. " I just looked up the definition of forum on dictionary.com and it says: "a place, meeting, or medium where ideas and views on a particular issue can be exchanged." I didn't ask multiple questions. I admit I went on loquaciously with my post but my intent was to be as clear as posssible.
    – Adrien
    Jun 23, 2019 at 23:33

2 Answers 2


There are basically two ways to wire up a switched device (light, fan, receptacle, whatever).

  • Switch Loop A switch loop essentially looks like:

Panel => Device => Switch

That matches your description of the existing fan/switch. Power is at the fan in the ceiling. The hot wire (should be black, at least the part from the panel to the fan) goes past the device (i.e., does not connect to the fan directly) and connects to the switch. The other wire connected to the switch is the switched hot and connects to the hot connection on the fan. The neutral connection on the fan goes to the white wire back to the panel. Or to put it all together:

Panel hot => [through device junction box] => Switch => device hot => device => device neutral => neutral back to panel

It is possible to tap into that to power other devices, but it gets messy. Don't do it when you have another source (the receptacle you identified).

  • A regular switched circuit Panel => Switch => Device

This is what you want to do here. Or more specifically:

Panel hot => receptacle => Switch => device hot => device => device neutral => neutral [through switch box] => neutral to receptacle => neutral back to panel

There are a few steps involved in your specific situation:

  • Patching in to the receptacle

It appears that your existing receptacle has two sets of wires. One set is backstabs (== bad) and one set on screws. Since you were able to pull power for testing purposes while leaving the backstab connections on, I'll assume those wires were on screws. You need to do the following for hot, neutral and ground:

  • Disconnect the backstab
  • Make quadruple sets of wires: Wire to next receptacle (was backstab), wire from panel (what you disconnected from screws and used to test the lights), new Romex that will go to the switch box, and a short pigtail (you can make it from wire removed from a short piece of Romex). Connect each set of 4 wires with an appropriate size wire nut.
  • Connect the pigtails to the receptacle. Black to brass screw (hot), white to silver screw (neutral), green to green screw (ground).

At this point I would cap the other end of the Romex with wire nuts and test the receptacle to make sure it is working correctly (ideally with a "magic 8-ball" outlet tester as a quick confirmation that hot and neutral are not reversed and ground is connected.

  • Receptacle to switches

This is easy. Black = hot goes to the "line" or "hot" connection on the switch. But if it is a simple toggle switch - no dimmer, timer, smart anything - then it really doesn't matter which screw gets hot and which gets switched hot. White = neutral does not connect to the switch unless you have a timer/dimmer/smart something that has a neutral connection.

Just remembered - you have two new switches. So we are back to pigtails again, specifically, black from receptacle + two pigtails to the two switches. If you need neutral for the switch (dimmer/timer/smart) then you will have white pigtails too.

  • Switch to device

Black goes to the other screw on the switch and at the device connects to "line" or "hot" (or colored wire if there is a short wire attached to the device). White connects to the white wire that came from the receptacle (so two white wires from the two devices connect to the one white wire from the receptacle) and at the device connects to "neutral" (or to the white wire if there is a short wire attached to the device). If you have multiple devices then you can chain on to the others with more Romex.

What went wrong?

This still leaves open the question of "what went wrong with the switch that it tripped the breaker"? A faulty switch is unlikely - a simple toggle acts as either totally open totally closed - there are only 2 wires and no "in between" settings. So unless you used a 3-way switch (designed for connecting two switches to control one device), all I can think of is that you connected the hot & neutral chained from the receptacle to the switch and then chained from the switch to the lights. Something like:

Black from receptacle -> switch brass -> black to light

White from receptacle -> switch silver -> white to light

If you did that, the light would be always on, as long as the switch was off. As soon as you turned the switch on, you would be short circuiting black & white from the receptacle and the breaker would (hopefully!) trip very quickly.

This should solve the problems, but please read up on things a bit more before just trying different cables, switches, etc. There are situations where breakers won't trip to stop a problem, either due to existing faulty wiring or due to bad breakers. Plus there are situations where even a tiny amount of leaked current can be deadly. Safety first!

  • 1
    Thank you for your thoughtful and detailed answer, manassehkatz. I must admit I'm a bit confused when you used characters like - >. I think the only way I could understand is through diagrams. I'm more of a visual person. I'll try to look it over and diagram it myself and see if I can get this right. I do plan on using dimmers to control both switches to the left of the fan. I appreciate your time, thank you.
    – Adrien
    Jun 24, 2019 at 6:08

I just put up drywall and discovered the supply I was counted on is actually a switch loop. How do I make this work with the wires in the wall?

The crux of the answer is getting always-hot and neutral to the switch box, so you can complete your circuit as originally intended.

Since I assume you don't want to bust up any drywall, I'll discuss options in order of practicality.

Fish a cable from a receptacle

Your test cable is on the right track. The trick will be safely/legally routing it inside the wall and getting it properly entered into both junction boxes, without busting up any drywall. I don't know your wall layout, so I leave it to you to decide if it's practicable. You might search for questions/ask a question about a particular routing.

This isn't worth working very hard on, though. There's a plan B.

Re-task the fan-switch cable to be supply

Right now, power comes into the fan, and the cable between fan and switch is a switch loop. We re-task this cable to carry always-hot and neutral, and we control the fan another way.

Now that always-hot and neutral are in the switch box, we connect the switches in the conventional way. At this point, none of the switches are switch loops, so no NEC 404.2(C) worries.

What about that fan? We place an electronic module inside the fan dome. The module connects to always-hot, neutral and fan-hot. It communicates with some kind of remote using either wireless or powerline signaling. The remote could be wireless, a smart phone, or a smart-home system ("Alexa, turn up the fan")... but my favorite is a wired remote that installs exactly where the old fan switch goes -- it looks, walks and quacks just like a wired switch (except it is using powerline comms or radio to communicate with the module).

SE is not a shopping assistance site and such answers go stale quick, but there are a variety of module/remote pairs available.

Then wire the switches conventionally

And we have lots of Q&A on that.

Now, about the fan switch. If you used the "re-task fan wires" option with a wired remote, it simply needs the always-hot and neutral that you brought down from the fan.

However if do not use the "re-task fan wires" plan, it is vital that the white and black (always-hot and switched-hot) wires from the fan remain totally separate from the other wires. If you ever want a smart-switch there which requires neutral, follow my "Re-task" plan above right now -- you must not steal a neutral from the other switches.

Grounds, on the other hand, should all be tied together.

The above will put the right wires in the right places. Noting the work I see discussed and pictured in your question, there are a number of other skill issues that would benefit from either an expert's help or some additional skill-up. Take the time, do it right. Those are beyond the scope of SE's Q&A format.

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.