4-Pin Wiring Diagram: Relays and Connectors Explained
This is a free printable 4 pin wiring diagram: download the diagram as SVG or open it and print to paper or PDF.
A 4-pin wiring diagram most commonly refers to a standard automotive SPST relay with pins 30, 85, 86, and 87, or to a 4-pin connector used in trailers, sensors, and industrial control circuits.
The term '4-pin wiring diagram' covers several distinct applications that share the common feature of four electrical connections. The most frequent application is the standard 4-pin ISO mini relay used throughout automotive and industrial electrical systems.
4-PIN SPST RELAY (ISO STANDARD): The 4-pin relay is a Single Pole Single Throw (SPST) electromagnetic switch. It uses a low-current control circuit to switch a high-current load circuit. The four pins are: - Pin 30: Common — the main supply input, connected to the positive power source through a fuse. - Pin 87: Normally Open (NO) output — connects to the load. In the relay's resting state (coil de-energised), 30 and 87 are open circuit. When the coil energises, 30 and 87 connect. - Pin 85: Coil negative — connects to chassis ground to complete the coil circuit. - Pin 86: Coil positive — receives the control signal voltage (typically 12 V from a switch or ECU output) to energise the coil.
This contrasts with a 5-pin relay, which adds pin 87a (Normally Closed contact). The 4-pin relay is used where the load should only be on when actively triggered — headlights, horns, fans, fuel pumps, and relay-driven accessories.
OTHER 4-PIN APPLICATIONS: 4-pin connectors appear in many other contexts: - 4-pin trailer connector (flat or round): carries tail/side lights, brake lights, left turn, and right turn signals. Common on small trailers in North America. - 4-pin sensor connectors: some throttle position sensors, pressure sensors, and MAF sensors use 4-pin connectors carrying power (5 V or 12 V), ground, and one or two signal outputs. - 4-pin industrial M12 connectors: widely used on proximity sensors with power, ground, and one or two NPN/PNP outputs. - 4-pin PC fan connectors (5 V/12 V power, ground, tachometer signal, PWM speed control).
Always identify the specific application before wiring — pin numbering and function vary significantly between applications.
Alternators with fewer or more than the standard two or three sense/excitation pins are found on older and specialist vehicles. A 1-pin alternator (common on older Chrysler/Mopar vehicles) uses the field terminal as its sole external connection, with voltage regulation done externally. A 5-pin alternator is found on some modern vehicles where additional functions such as a battery temperature sensor, load response control (LRC), or a dedicated power management signal are required alongside the standard B+, field, sense, and indicator connections. Understanding how many pins your alternator has — and what each pin does — is the starting point for any charging system diagram. You can draft any alternator wiring configuration free at circuitdiagrammaker.com.
How to wire 4 pin wiring diagram
- Identify the specific 4-pin application (relay, trailer, sensor) Before wiring, confirm whether you are dealing with an automotive relay, a trailer connector, a sensor connector, or another 4-pin device. The pinout and voltage levels are completely different between applications.
- For a relay: fuse pin 30 close to the battery Run a wire from battery positive through an inline fuse holder to relay pin 30. Size the wire and fuse for the expected load current. For most accessories, 14–16 AWG wire with a 20–30 A fuse is appropriate.
- Connect pin 87 to the load positive Run a wire from pin 87 to the positive terminal of the load (light, motor, solenoid). Ensure the load also has a dedicated earth/ground return connection to chassis.
- Connect pin 85 to chassis ground A short, direct wire from pin 85 to a clean chassis earth point completes the coil circuit. Poor coil ground causes erratic relay operation.
- Connect pin 86 to the control signal Wire pin 86 to the control source — a switch output, ECU output, or any switched positive. When this pin receives supply voltage, the coil energises and pins 30 and 87 connect.
- Fit the relay into its holder or socket If using a relay socket (DIN rail or inline type), confirm the socket matches the relay's pin layout. Some 4-pin relay sockets have the same footprint as 5-pin — verify pin 87a is not accidentally bridged in an unused socket position.
- Test operation before securing wiring With power applied, activate the control signal (pin 86). Confirm the load energises. Remove the control signal and confirm the load de-energises. Check for heat at any connection after a few minutes of operation.
Specifications
| Relay coil voltage (typical automotive) | 12 V DC (24 V versions available for heavy vehicles) |
|---|---|
| Relay contact rating (typical ISO mini relay) | 30 A at 12 V DC (resistive load); 20 A motor load |
| Coil resistance (typical 12 V relay) | 70–100 ohms (coil current ~120–170 mA) |
| Pull-in voltage (typical) | 8–9 V DC (relay energises above this threshold) |
| Drop-out voltage (typical) | 1–2 V DC (relay de-energises below this threshold) |
| Pin layout (ISO 280 mini relay) | Pins 30, 85, 86, 87 — see ISO 7588 standard for physical layout |
| 4-pin flat trailer connector (USAS T568) | Pin 1: tail/marker (brown); Pin 2: ground (white); Pin 3: left turn/brake (yellow); Pin 4: right turn/brake (green) |
Safety warnings
- Always fuse the supply wire to relay pin 30. An unfused wire from the battery can cause a wiring fire if shorted to chassis anywhere in its run.
- Do not exceed the relay's rated contact current. If the load exceeds 30 A, use a heavy-duty relay or contactor rated for the actual load. Overloaded relay contacts arc and weld, causing the load to remain permanently on.
- For automotive applications, always disconnect the battery negative before modifying the wiring harness to prevent shorts and accidental load activation.
- Relay coils generate a voltage spike (back-EMF) when de-energised. If pin 86 is driven from a sensitive ECU output, fit a flyback diode across pins 85 and 86 (cathode to 86, anode to 85) to suppress the spike and protect the ECU.
- Verify that the relay socket orientation matches the relay pin numbering. Inserting a relay rotated 180° places pin 30 on the coil circuit and 85/86 on the load circuit — this will not damage a basic relay but the load will not function.
Tools needed
- Digital multimeter (DC voltage and resistance)
- Test light (12 V automotive)
- Wire strippers
- Crimping tool and assorted terminals
- Inline fuse holder and blade fuses
- Heat-shrink tubing
- Relay socket or DIN rail mount (if not using inline type)
Common mistakes
- Connecting the load to pin 30 instead of pin 87 — the load then runs continuously regardless of the relay state.
- Using pin 86 as the supply and pin 85 as the control — the relay will function, but any diode across the coil will be reverse-biased and the back-EMF spike will reach the control circuit.
- Not earthing the load — a load that has power at pin 87 but no earth return will not operate and the fault is often wrongly blamed on the relay.
- Using a 5-pin relay socket for a 4-pin relay without confirming the socket does not bridge pin 87a to something live.
- Omitting the flyback diode when driving pin 86 from a sensitive digital output — repeated voltage spikes from coil de-energisation can cause ECU output driver failure over time.
Troubleshooting
- Load does not activate when control signal is applied
- Cause: No power at pin 30, no signal at pin 86, open coil, or relay contacts failed open. Fix: Check voltage at pin 30 (should be supply voltage). Apply 12 V to pin 86 — listen for relay click. If it clicks but load does not activate, measure voltage at pin 87 with relay energised. If 0 V at 87, the relay contacts are open — replace the relay.
- Load stays on continuously, will not turn off
- Cause: Relay contacts are welded closed, or pin 30 is accidentally bridged to pin 87 externally. Fix: Disconnect the relay from its socket. If the load immediately de-activates, the relay contacts are welded — replace the relay. Investigate why contacts welded: likely an overload condition or load inrush exceeding the relay's contact rating.
- Relay chatters (rapid clicking) when energised
- Cause: Insufficient voltage at pin 86 due to resistance in the control circuit, or the supply voltage on pin 30 is drooping under load. Fix: Measure voltage at pin 86 during chatter — should be above the relay's pull-in voltage (typically 8–10 V for a 12 V relay). Inspect control circuit wiring for resistance. If supply voltage dips, the load current is too high and the voltage drops — check cable sizing and battery condition.
Frequently asked questions
What is the difference between a 4-pin and 5-pin relay?
A 4-pin relay is SPST — it has one output (pin 87, normally open). A 5-pin relay adds pin 87a, a normally closed output that is connected to pin 30 when the coil is de-energised and disconnects when the coil energises. Use a 5-pin relay when you need one load on and another off simultaneously, or for changeover applications.
Does it matter which way around I connect pins 85 and 86 on a relay coil?
For a standard electromagnetic relay without a protection diode, reversing 85 and 86 simply reverses the current direction through the coil — the relay will still function. However, if the relay has an integral suppression diode across the coil, reversing polarity will short-circuit the coil supply. Check the relay datasheet before reversing coil polarity.
Why do I need a relay instead of switching the load through a standard switch?
A standard switch rated for 10–15 A will eventually arc and fail if used to switch a 20–40 A load directly. A relay switches the load through its heavy-duty contacts, while the switch handles only the relay coil circuit (typically under 0.25 A). Relays also allow a low-current ECU output to control a high-current load safely.
Where should I connect the fuse in a 4-pin relay circuit?
Fuse pin 30 (the load supply) as close to the power source as practical — within 300 mm of the battery positive if wiring from battery. Size the fuse to protect the wire gauge, not the relay or the load. A fuse sized for the load but installed on an undersized wire does not protect the wire.
What is a 4-pin trailer plug used for?
A 4-pin flat trailer connector carries: tail/side marker lights (pin 1, brown), ground/earth (pin 2, white), left turn and brake (pin 3, yellow), and right turn and brake (pin 4, green). It is used for small utility, boat, and cargo trailers that do not require a separate reverse light or electric brake feed.
How do I wire a 1 pin alternator?
A 1-pin alternator (used on many older Chrysler and some Ford applications) has a single field (F) terminal in addition to the main B+ output stud. The field terminal is connected to the external voltage regulator, which cycles battery voltage to the field winding to control output. The main B+ stud connects directly to the battery positive via a fusible link or large-gauge cable. The warning light circuit connects between the ignition switch and the alternator output or regulator depending on the design. Because these systems use an external regulator, the wiring diagram will include the regulator as a separate component.
What does a 5 pin alternator wiring diagram look like?
A 5-pin alternator adds two functions beyond the common 3-pin (B+, D+/L, S or IG) layout. The additional pins typically include a load response control (LRC) or power management signal that communicates with the engine ECU to reduce alternator load under certain conditions, and sometimes a battery temperature sensor or a second sense line. The exact function of each pin varies by manufacturer and vehicle platform — always consult the vehicle or alternator service manual for the pin-out rather than assuming a universal layout. The B+ output stud and the basic L (lamp) and S (sense) terminals usually remain the same as on a 3-pin unit.
Related diagrams
- 12v relay wiring diagram 4 pin
- 4 pin 5 wire trailer wiring diagram
- 4 pin alternator wiring diagram
- 4 pin cdi diagram
- 4 pin flasher relay wiring diagram
- 4 pin fuel pump relay diagram