Two cables entering an outlet box indicate that the outlet is not the last fixture on a circuit. The easiest and safest way is to use a multimeter to test for current.
How To Wire A Switched Outlet
I have 2 black wires and 2 white wires. Neutral common or return. However if you need to rewire a light switch or a plug socket you may occasionally come across two black wires. The other sends it on to other loads on the circuit. One of the black wires receives power from the service panel. Black means hot white signifies neutral and green indicates ground. The white wires allow current passing through the outlet and the other loads on the circuit to return to the panel.
Switches are never connected between a black wire and a neutral wire. The white wire goes by many names that all mean the same thing. Youll have two cables in the switch box a live one with a black and white wire and the one going to the outlet which has a red black and white wire. In the most basic 110 volt electrical setup youll find two wires. 12 awg for 20 amp circuits and 14 awg for 10 and 15 amp circuits. They should both be of the same wire gauge.
Power flows from the box to the outlet through the black wire and back to the box through the white one. The black wire is hot. Just connect it back up like the outlet you are removing is connected. You should see a black and white wire and a ground wire. The neutral wire can also be gray. Its essential that you determine which black wire is hot before proceeding.
The two black wires one is power input the other is switched power output is used to control a light fixture or outlet.



/electrical-cable-cut-in-half-6466-000129-59fb9bf889eacc003793dac7.jpg)


/threeway-5c1c0f7746e0fb00015051d8.jpg)



/GettyImages-183538622-5a00b49322fa3a0037a5e753.jpg)





