You are here: Home » News » News » How To Wire A Relay: Step-by-step Guide

How To Wire A Relay: Step-by-step Guide

Views: 0     Author: Site Editor     Publish Time: 2025-06-06      Origin: Site

Inquire

facebook sharing button
twitter sharing button
line sharing button
wechat sharing button
linkedin sharing button
pinterest sharing button
whatsapp sharing button
sharethis sharing button
How To Wire A Relay: Step-by-step Guide

Relays are an essential part of many electrical systems, from cars to home automation and industrial equipment. If you’re new to wiring relays or want to improve your skills, this guide will walk you through everything you need to know about how to wire a relay safely and correctly. We’ll cover different relay types, wiring diagrams, troubleshooting tips, and even how to test your relay.

Whether you want to wire a 12V relay in your car or a 24V relay for industrial use, this article has got you covered.


What Is a Relay and Why Do You Need One?

Simply put, a relay is an electrically operated switch. It uses a small electric current to control a much larger current, allowing you to operate high-power devices safely and efficiently. Relays are widely used in automotive electronics, HVAC systems, industrial machines, and even new energy relay systems in solar and electric vehicle applications.

The most common type is the electromagnetic relay, which uses a coil to create a magnetic field that opens or closes contacts. When the coil energizes, the relay switches the circuit on or off.


Understanding Relay Types and Pins

Before wiring, it’s important to know which type of relay you’re working with. The most popular types are:

  • 4-pin relay: Has four connection points, usually for coil and switch terminals.

  • 5-pin relay: Adds a “normally closed” contact to the basic 4-pin relay.

  • 8-pin relay: More complex, used for multi-function switching.

  • New energy relay: Designed for renewable energy applications with advanced features.

Each relay has pins for the coil (which activates the relay) and pins for the switching contacts. The exact pin configuration varies, so always consult a relay wiring diagram for your specific model.


Step-by-Step Guide: How to Wire a Relay

Let’s dive into how to wire a basic 4-pin relay, which is one of the most common types.

Tools You’ll Need:

  • Relay (4-pin or 5-pin)

  • Wire strippers

  • Multimeter or relay tester

  • Electrical tape or connectors

  • Screwdriver and pliers


Step 1: Identify the Relay Pins

Typically, a 4-pin relay will have:

  • Pin 85 and 86: Coil pins (to energize the relay)

  • Pin 30: Common contact (power input)

  • Pin 87: Normally open contact (power output when relay is activated)

Use a relay wiring diagram or the relay’s datasheet to confirm.


Step 2: Connect the Coil Pins

  • Connect pin 85 to ground (negative terminal).

  • Connect pin 86 to your control switch or signal wire (e.g., ignition or control module output).


Step 3: Connect Power to the Common Contact

  • Connect pin 30 to a constant power source or battery positive terminal.


Step 4: Connect the Output Load

  • Connect pin 87 to the device you want to power (e.g., headlights, horn, or motor).


Step 5: Test Your Wiring

Before fully installing, test your wiring with a relay tester or multimeter to ensure the relay clicks and the circuit completes when energized.


Wiring Variations: 12V, 24V, and More

Many relays are designed for specific voltages, such as 12V (common in cars) or 24V (industrial or truck applications).

  • How to wire a relay 12V: The steps above apply. Make sure your power source is 12 volts.

  • How to wire a relay 24V: Similar wiring, but confirm your relay supports 24 volts to avoid damage.

  • Ground trigger relay diagram: Some systems activate the relay coil by connecting to ground instead of power. This is common in certain vehicle wiring setups.

Always check the relay’s voltage rating and pin configuration.


Common Relay Wiring Diagrams Explained

Here are some frequently used wiring diagrams to help you:

Relay Type Typical Pins Use Case
4 pin relay Diagram with Switch Pins 85, 86, 30, 87 Simple ON/OFF switching
5 pin relay wiring diagram Adds Pin 87a (Normally Closed) Switch between two circuits
8 pin relay wiring diagram More complex switching Multi-function control

Understanding these diagrams helps you wire relays correctly for different applications.


Learn how to wire a relay step-by-step with clear diagrams, tips for 12V & 24V relays, testing methods, and troubleshooting to ensure reliable electrical control

How to Test a Relay to Ensure Proper Function

Using a relay tester or a simple multimeter test can save you headaches:

  • Check coil resistance to confirm coil is intact.

  • Apply voltage to coil terminals (85 and 86) and listen for the click.

  • Measure continuity between pins 30 and 87 when energized.

  • Measure continuity between pins 30 and 87a (if available) when de-energized.

Testing helps confirm your wiring is right before powering up your system.


Troubleshooting Tips: Why Is My Relay Not Working?

If your relay doesn’t work as expected, consider these common issues:

  • Incorrect wiring or pin mix-up.

  • Coil voltage mismatch (using 12V relay on 24V system or vice versa).

  • Blown fuse or faulty power source.

  • Damaged relay coil or contacts.

  • Loose or corroded connectors.

Double-check wiring with your relay wiring diagram, test with a relay tester, and replace faulty components as needed.


The Rise of New Energy Relays

As renewable energy and electric vehicles become more popular, new energy relay technology is advancing quickly. These relays handle higher voltages and currents, offer more durability, and sometimes integrate smart controls for better energy management.

If you’re wiring relays in solar inverters, battery management systems, or EV charging stations, it’s crucial to choose the right type of relay suited for high voltage relay applications.


Selecting the Right Relay for Your Project

Choosing the right relay depends on your specific needs. Here’s a quick comparison table to help:

Feature 4 Pin Relay 5 Pin Relay New Energy Relay
Voltage 12V or 24V 12V or 24V High voltage compatible
Contacts SPST (single pole) SPDT (double throw) Customized multi-contact
Use Case Simple switching Switching between circuits Renewable energy systems
Durability Standard Standard Enhanced for harsh environments

Check your device’s requirements and consult product specs before wiring.


Integrating Relay Products from Trusted Suppliers

When sourcing relays, consider reputable manufacturers that provide detailed datasheets and wiring instructions. Using reliable electromagnetic relay and new energy relay products ensures safety and longevity for your project.


Key Points to Remember When Wiring a Relay

  • Identify your relay type and pin configuration first.

  • Follow wiring diagrams closely.

  • Use proper voltage rating for coil and load.

  • Test wiring with a relay tester before powering your device.

  • Consider the application environment (e.g., automotive, industrial, renewable energy).

  • Replace faulty or worn relays promptly.


Frequently Asked Questions

Q1: Can I wire a 12V relay to a 24V power source?
A1: No, using a 12V relay with 24V can damage the coil and cause relay failure. Always use a relay rated for your system voltage.


Q2: How do I know which relay pins are for the coil?
A2: Check the relay wiring diagram or datasheet. Typically, pins 85 and 86 are coil terminals.


Q3: What is the difference between a 4-pin and 5-pin relay?
A3: A 5-pin relay has an additional normally closed contact (pin 87a), allowing switching between two circuits.


Q4: How can I test if my relay is working correctly?
A4: Use a relay tester or multimeter to check coil resistance, listen for the clicking sound when energized, and check continuity on switching pins.


Q5: What is a ground trigger relay?
A5: It’s a relay that activates when the coil is connected to ground instead of power, common in some automotive systems.


Q6: Can I use an 8-pin relay for simple switching?
A6: Yes, but it’s often overkill. 8-pin relays are better suited for complex or multi-function applications.


Q7: What should I consider when wiring relays for new energy applications?
A7: Ensure the relay is rated for high voltage and current, and consider durability in harsh environments.


Wiring a relay might seem tricky at first, but with the right knowledge and tools, it’s straightforward. By understanding relay types, using wiring diagrams, and testing your setup, you can safely and effectively control electrical circuits. Keep this guide handy next time you need to wire a relay and enjoy a smooth, reliable electrical system!



If you want to explore quality relay products, including electromagnetic relays, new energy relays, and other types, consider suppliers known for precision and reliability to ensure your projects perform at their best.

Product range covers Relay, SSR, Micro Switch, Power Semi-conductor Model, etc.

Quick Links

Product Category

Contact Us

   +86-577-57156992
     +86-13626580452
  No.55, Punan 5 Road, Yueqing Economic Development Zone, Yueqing City, Zhejiang Province, 325600 China.
Copyright ©️ 2023 Clion Electric Co., Ltd. Technology by Leadong. Sitemap.