Things You'll Need
Protective rubber gloves
As a further test, place the prongs of the multimeter's wires on the bare metal on the ends of the two black wires. You will get a reading if one wire is hot and the other isn’t. However, if both wires are hot, the reading will be zero.
The United States has strict codes relating to home wiring, including clearly defined colors on the outer casing of the wires. Black means hot, white signifies neutral, and green indicates ground. However, if you need to rewire a light switch or a plug socket, you may occasionally come across two black wires. It's essential that you determine which black wire is hot before proceeding. The easiest and safest way is to use a multimeter to test for current.
Don a pair of protective rubber gloves before testing to find out which black wire is hot. You may accidentally touch a hot wire and get an electric shock.
Set your multimeter to measure voltage. Voltage is the pressure of electricity flowing through a wire, and a hot black wire carries the voltage.
Place the prong of the multimeter's red wire on the bare metal on the end of one of the black wires. Don't get confused about using the red wire from the multimeter to test a hot black wire. The positive wire on a multimeter is red, and the black wire is negative.
Place the prong of the multimeter's black wire on the bare metal on the end of a white wire, then read the meter. If you get a reading, the black wire is hot; if you don't, the black wire isn't hot.
Repeat the test on the other black wire to test if it's hot. If you get a reading, the black wire is hot; if you don't get a reading, the wire isn't hot.