When you see a red wire in a light switch box it can mean two things. One is that the outlet is a 240 volt one which requires an extra hot wire.
Wiring Color Codes Color Codes Electronics Textbook
What is the red wire for. Well cover the easier scenario first. If turning the switch off turns the wire off the red wire delivers power from the light. If the wire still is hot the wire is a hot wire that delivers electrical power to the branch circuit. Another is that the box is on a circuit three way switch loop. This configuration sometimes called a half hot or split tab outlet is becoming increasingly popular so its good to know how to wire it. When you see a red wire in a 120 volt duplex outlet box its usually because one of the outlets is operated by a wall switch while the other is always on.
How to replace an electrical outlet 0000. It could be there is or once was a three way switch in play. A live black wire a green or copper ground wire and a neutral white wire. A red wire in an electrical outlet often indicates a second positive live wire. Or it could be the red wire is the wire going to the fixture and the black wires are the live wires. In most cases a red wire present in an electrical outlet means that a switch can operate the outlet.
Red electrical wire indicates the secondary live wires in a 220 volt circuit used in some types of switch legs and in the interconnection between smoke detectors that are hard wired into the power system. In standard 120 volt wiring the hot wire is black but it can also be red. In most cases you see a red wire in an outlet box only in special circumstances. You can connect a red wire to another red wire or to a black wire. The red wire is for the light switch. Generally electrical socket boxes come with three wires each of them colored differently.