Guide updates and tuning notes by email: get the newsletter → Follow us

Home › Tools › Fuel pump and fan wiring

LS fuel pump and electric fan relay wiring

How to wire the fuel pump relay and the electric fan relays to a GM 0411, P59 or E38 computer in a swap: which pin, which relay terminal, and what the computer does with it.

Before you start
  • Disconnect the battery before you splice or de-pin anything.
  • Go by pin number and circuit, not color: GM reused colors, and harnesses differ by year and options.
  • Never probe computer pins with a test light; it can damage the driver. Use a digital multimeter.
  • The computer only ever switches the relay coil. The pump and fans run through the relay contacts and their own fuse, never straight off a computer pin.

How the relay is wired

A standard 4-pin automotive relay has two circuits. The coil (terminals 86 and 85) is the small side the computer controls. The switch (terminals 30 and 87) carries the pump or fan current.

TerminalGoes to
30Battery positive, through a fuse sized to the pump or fan's draw
87The fuel pump or fan positive. The other side of the pump or fan goes to ground.
86Key-on 12 V (fused)
85The computer's relay-control pin. The computer switches the ground side of the coil.

Fuel pump relay and prime

GM lists the fuel pump relay control pin as a low-side driver on the 0411, P59 and E38: the computer grounds the relay coil to run the pump. At key-on it runs the pump for about 2 seconds to prime the system, then shuts it off if it doesn't see the engine turning. Once the crank signal arrives, the pump runs as long as the engine turns.

Electric fan relays

The computer drives each fan relay the same way: it grounds the relay coil. Never connect a fan straight to the computer pin. With two fans, the tune turns fan 1 on first and fan 2 at a higher temperature; GM's own three-relay setup runs both fans slow in series first, then both on high.

P01 / 0411 (1999–2002)

JobComputer pinWireRelay terminal
Fuel pump relayC2 (red) pin 9DK GRN/WHT, circuit 46585
Fan 1 (low speed) relayC1 (blue) pin 42varies by harness85
Fan 2 (high speed) relayC2 (red) pin 33DK BLU, 47385
Relay86853087Key-on 12 V(fused)C2 (red) pin 9DK GRN/WHT, circuit 465computer grounds itBattery + (fused)Fuel pumpother side to ground
P01 / 0411 (1999–2002): fuel pump relay
Relay86853087Key-on 12 V(fused)C1 (blue) pin 42wire color variescomputer grounds itBattery + (fused)Fan 1other side to ground
P01 / 0411 (1999–2002): fan 1 (low speed) fan relay

Fan 2 (high speed) wires the same way: a second relay, with 85 on C2 (red) pin 33.

These fan outputs are wired on car harnesses. On 1999–2002 truck harnesses pin C1-42 is empty and C2-33 runs the HVAC recirculation door, so check yours, and make sure the tune has the fan outputs and temperatures set.

P59 (2003–2007)

JobComputer pinWireRelay terminal
Fuel pump relayC2 (green) pin 9DK GRN/WHT, circuit 46585
Fan 1 (low speed) relayC1 (blue) pin 42DK GRN, 33585
Fan 2 (high speed) relayC2 (green) pin 33DK BLU, 47385
Relay86853087Key-on 12 V(fused)C2 (green) pin 9DK GRN/WHT, circuit 465computer grounds itBattery + (fused)Fuel pumpother side to ground
P59 (2003–2007): fuel pump relay
Relay86853087Key-on 12 V(fused)C1 (blue) pin 42DK GRN, 335computer grounds itBattery + (fused)Fan 1other side to ground
P59 (2003–2007): fan 1 (low speed) fan relay

Fan 2 (high speed) wires the same way: a second relay, with 85 on C2 (green) pin 33.

Some 2005 and later harnesses have both fan wires from the factory. On most P59 harnesses pins C1-42 and C2-33 are empty cavities: add terminals there. Make sure the tune has the fan outputs and temperatures set.

E38 (Gen IV)

JobComputer pinWireRelay terminal
Fuel pump relayX1 pin 50DK GRN/WHT, circuit 46585
Fan 1 (low speed) relayX1 pin 58DK GRN, 33585
Fan 2 (high speed) relayX1 pin 17DK BLU/WHT, 47385
Relay86853087Key-on 12 V(fused)X1 pin 50DK GRN/WHT, circuit 465computer grounds itBattery + (fused)Fuel pumpother side to ground
E38 (Gen IV): fuel pump relay
Relay86853087Key-on 12 V(fused)X1 pin 58DK GRN, 335computer grounds itBattery + (fused)Fan 1other side to ground
E38 (Gen IV): fan 1 (low speed) fan relay

Fan 2 (high speed) wires the same way: a second relay, with 85 on X1 pin 17.

The fan pins aren't populated on every E38 harness (it depends on the vehicle's options), so check your connector before you count on them.

Let us set the fans and pump up in the tune. A Start-up File ($79) sets the fans, injector data, idle and conservative fuel and spark, built on a read of your computer.

Pre-order a Start-up File Which computer do I have?

Next: every pin on the 0411, P59 and E38 · first-start checklist · drive-by-wire pedal and throttle body pinout · injector and fuel pump calculator · wire, fuse and relay sizes