5 pin relay wiring diagram
Learn the 5-pin relay wiring diagram with terminals 85, 86, 30, 87, and 87a. Step-by-step connection guide for automotive, lighting, and motor control systems.

Relay switch wiring diagram
A 5 pin relay has terminals 85 and 86 for coil, 30 as common, 87 as normally open (NO), and 87a as normally closed (NC), allowing dual circuit control.
5 pin relay connection
A 5 pin relay wiring diagram shows the connections for relay terminals 85, 86, 30, 87, and 87a. This relay is commonly used in automotive, lighting, motor, and switching circuits where both normally open (NO) and normally closed (NC) contacts are required.
- Terminal 85 & 86: Coil connections. When energized with 12V or 24V, they create a magnetic field to switch the relay.
- Terminal 30: Common input terminal connected to the power supply.
- Terminal 87: Normally Open (NO) contact, which connects to 30 when the coil is energized.
- Terminal 87a: Normally Closed (NC) contact, which connects to 30 when the coil is de-energized.
This relay allows switching between two circuits or controlling high-current loads with a low-current trigger. For example, in cars, it is used for headlights, horns, fuel pumps, and fan motors.
Work / Installation (Inputs → Outputs)
Input: Battery/Power Supply → Relay Coil (85, 86) → Common Terminal (30).
- Connect terminal 85 to ground/negative.
- Connect terminal 86 to the switch or control signal (positive).
- Connect terminal 30 to the battery positive or common input source.
- Connect terminal 87 to the load that should turn ON when relay is energized.
- Connect terminal 87a to the load that should remain ON when relay is OFF.
Output: When the coil (85–86) is powered, 30 connects to 87 (NO). When coil is OFF, 30 connects to 87a (NC).
Testing & Final Adjustments
After wiring, supply voltage to 85 and 86. Listen for a clicking sound, which indicates the relay is switching. Use a multimeter to check continuity:
- With coil OFF → 30 connects to 87a.
- With coil ON → 30 connects to 87.
Verify proper switching under load. Ensure wires are correctly rated and terminals are tightened. In automotive use, add a fuse between battery and relay input for safety. Label terminals to avoid confusion and prevent wrong wiring. Once tested, the relay provides reliable operation for lights, fans, motors, and automation circuits.
Frequently Asked Questions - 5 pin relay wiring diagram:
What is a 5 pin relay?
It is an electromechanical switch with 85, 86, 30, 87, and 87a terminals.
What is terminal 85 in relay?
It is one side of the coil, usually connected to ground.
What is terminal 86 in relay?
It is the other side of the coil, connected to positive or switch.
What is terminal 30 in relay?
It is the common input power terminal.
What is terminal 87 in relay?
It is the normally open (NO) output contact.
What is terminal 87a in relay?
It is the normally closed (NC) output contact.
What voltage does a 5 pin relay use?
Commonly 12V or 24V depending on design.
Where is 5 pin relay used?
In cars, lights, motors, and automation systems.
Can I use 5 pin relay as 4 pin?
Yes, just ignore the 87a terminal.
How to test a relay?
Apply voltage to coil (85–86) and check switching between 30, 87, and 87a with a multimeter.
Related Posts

Transformerless Power Supply Wiring
Step-by-step transformerless power supply wiring guide for low-current DC output using capacitive or resistive dropper methods for LEDs and small electronics.

Day Night Sensor Wiring
Automatically turn lights on/off using a BC547 transistor-based day-night sensor. Ideal for LED lamps or night lights without complex ICs.

Mini Project Motion Sensor
Detect motion easily with a simple BC547-based motion sensor circuit. Ideal for hobbyists and students for mini electronics projects and automatic alarms.

DC Motor Speed Controller Circuit
Control DC motor rotation direction with BC139 transistors. Build a simple bi-directional motor driver circuit for DIY robotics and electronics projects.

DC Motor Forward Reverse Control
Control a DC motor’s forward, reverse, and stop functions using relays. Simple and cost-effective circuit ideal for small robotics and automation projects.

single transistor mosquito
Build a simple mosquito repeller using a single BC547C transistor. Generates high-frequency sound to repel mosquitoes, perfect for DIY electronics projects.