We're constantly adding new guides and articles. To stay up to date with the latest releases, sign up for the newsletter → Follow us

Home › Guides › LS factory computer pinouts: P01, P59 and E38 for a standalone harness

LS factory computer pinouts: P01, P59 and E38 for a standalone harness

Factory GM computer pinouts for LS swaps: every wired pin on the P01/P59 (1999–2007) and E38 (Gen IV) connectors, with wire color, GM circuit number, what it does and what to keep or delete when you trim the factory harness into a standalone.

Read this first
  • Disconnect the battery before you de-pin or splice anything.
  • Go by pin number and circuit, not color. GM reused colors, and harnesses differ by year, options and plant. Check against the wiring diagram for your exact vehicle.
  • Never probe computer pins with a test light; it can damage the driver. Use a digital multimeter and back-probe.
  • The computer still needs a tune: VATS off, and any sensor you delete (rear O2, EVAP, EGR, air pump) turned off in the calibration.

Key: Keep Wire to car Auto trans Optional
Keep = the engine needs it. Wire to car = runs to something in the vehicle (power, tach, fuel pump relay, data port). Auto trans = only with a computer-controlled 4L60E/4L80E. Optional = emissions, 4WD, gauges and features you can drop if your build and your state allow it.

We may earn a commission when you buy through links on this page.

P01 / P59 "0411" style, 1999–2002 (blue C1 + red C2)

The 1999–2002 truck, van and F-body computers with a blue and a red 80-pin connector. Common service numbers: 09354896 (1999–2000) and 12200411 (2001–2002, the "0411"). This list is for the 4.8, 5.3 and 6.0 truck harness. F-body and Corvette harnesses are close but put some references and grounds on different pins.

P01 / P59 "0411" style: connector C1 (blue)

PinWireCircuitFunctionStandalone harness
1BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
2LT GRN1867Crankshaft Position Sensor B+ SupplyKeep Engine sensor or output. Keep.
3PNK/BLK1746Injector 3 ControlKeep Engine sensor or output. Keep.
4LT GRN/BLK1745Injector 2 ControlKeep Engine sensor or output. Keep.
11LT BLU1876Knock Sensor Signal RearKeep Engine sensor or output. Keep.
12DK BLU/WHT1869Crankshaft Position Sensor SignalKeep Engine sensor or output. Keep.
13ORN/BLK463Requested Torque Signal (NW7)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
14ORN/BLK1061UART Serial Data (drive by wire only)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
15DK BLU/WHT774UART Serial Data (drive by wire only)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
17DK BLU1225Transmission Fluid Pressure Switch BAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
18RED1226Transmission Fluid Pressure Switch CAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
19PNK439PCM Ignition SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
20ORN440PCM Battery SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
21YEL/BLK1868Crankshaft Position Sensor GroundKeep Engine sensor or output. Keep.
23PPL719Sensor Ground EGROptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
25TAN1671HO2S Signal Low B2S2 (w/Case Ground O2 Sensors)Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
25TAN413HO2S Signal Low B2S2 (w/Isolated Ground O2 Sensors)Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
26TAN1667HO2S Signal Low B2S1 (w/Case Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
26TAN413HO2S Signal Low B2S1 (w/Isolated Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
28TAN/WHT1669HO2S Signal Low B1S2 (w/Case Ground O2 Sensors)Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
28TAN413HO2S Signal Low B1S2 (w/Isolated Ground O2 Sensors)Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
29TAN/WHT1653HO2S Signal Low B1S1 (w/Case Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
29TAN413HO2S Signal Low B1S1 (w/Isolated Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
30LT GRN1478Engine Coolant Level SwitchOptional Optional input. Keep only if you use that feature or gauge.
32BLK/WHT771PRND A InputAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
33PPL420TCC Brake SwitchWire to car Brake switch. 12 V with the pedal pressed. Needed for converter lockup, cruise and drive-by-wire.
34WHT776PRND P InputAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic. This pin can be programmed to read a single park/neutral switch wire when no range switch is fitted.
35GRA48Clutch Switch Signal (manual trans)Wire to car Clutch switch (manual transmission).
36BLK1744Injector 1 ControlKeep Engine sensor or output. Keep.
37YEL/BLK846Injector 6 ControlKeep Engine sensor or output. Keep.
38PNK/WHT1101Damping Lift/Drive SignalOptional Optional input. Keep only if you use that feature or gauge.
40BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
41BLK407Sensor Ground (Trans) w/Case grounded o2 SensorsKeep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.
41GRY720Sensor Ground (Trans, ETC) w/Isolated Ground O2 SensorsKeep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.
42––Empty cavityWire to car Empty from the factory. Add a terminal here for fan 1 relay control.
43RED/BLK877Injector 7 ControlKeep Engine sensor or output. Keep.
44LT BLU/BLK844Injector 4 ControlKeep Engine sensor or output. Keep.
45GRA474Fuel Tank Pressure Sensor 5V ReferenceOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
46GRA416TP Sensor 5V ReferenceKeep Engine sensor or output. Keep.
47GRA597MAP Sensor 5V ReferenceKeep Engine sensor or output. Keep.
48GRA596EGR Pintle Position Sensor 5V ReferenceOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
51DK BLU496Knock Sensor Signal FrontKeep Engine sensor or output. Keep.
53BLK470Fuel Tank Pressure Sensor GroundOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
54BLK452TP Sensor GroundKeep Engine sensor or output. Keep.
55BRN1456EGR Pintle Position Sensor SignalOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
56WHT–Fuel Temp/Composition Signal (L59 Flex Fuel)Optional Flex-fuel sensor input. Needs a flex-fuel operating system and the sensor.
57ORN440PCM Battery SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
58DK GRN1049Serial Data to OBD2 PortWire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
59YEL710Serial Data to BCMWire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
60ORN/BLK469MAP Sensor GroundKeep Engine sensor or output. Keep.
61PNK/BLK632CMP Sensor GroundKeep Engine sensor or output. Keep.
63GRY720Sensor Ground (ETC) w/case grounded o2 sensorsKeep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.
63TAN413Sensor Ground (HO2S Low Signal) w/isolated grounded o2 sensorsKeep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.
65PPL1670HO2S Signal High Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
66PPL1666HO2S Signal High Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
68PPL/WHT1668HO2S Signal High Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
69PPL/WHT1665HO2S Signal High Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
70BRN1174Low Oil Level SwitchOptional Optional input. Keep only if you use that feature or gauge.
71––Empty cavityWire to car Empty from the factory. Add a terminal here for tow/haul mode switch input.
72YEL772PRND B InputAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
73BRN/WHT633Camshaft Position (CMP) Sensor SignalKeep Engine sensor or output. Keep.
74YEL410Engine Coolant Temperature (ECT) Sensor SignalKeep Engine sensor or output. Keep.
75PNK1020PCM Ignition SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
76BLK/WHT845Injector 5 ControlKeep Engine sensor or output. Keep.
77DK BLU/WHT878Injector 8 ControlKeep Engine sensor or output. Keep.
79WHT6873-2 Shift Solenoid ControlAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
80ORN/BLK510Fuel Level Sensor GroundKeep Engine sensor or output. Keep.

P01 / P59 "0411" style: connector C2 (red)

PinWireCircuitFunctionStandalone harness
1BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
2BRN418TCC Control SolenoidAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
3TAN1465Fuel Pump Relay Control - SecondaryWire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
5TAN/BLK464Delivered Torque SignalKeep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
6RED/BLK1228Transmission Fluid Pressure Control Solenoid HighAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
7RED1676EGR Solenoid SupplyOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
8LT BLU/WHT1229Transmission Fluid Pressure Control Solenoid LowAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
9DK GRN/WHT465Fuel Pump Relay ControlWire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
10WHT121Engine Speed (Tach) Output SignalWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
11DK BLU604A/C High Pressure Recirculation SwitchWire to car A/C. Keep only if the computer will control the A/C compressor.
13LT BLU/BLK396Cruise Control Engage SignalOptional Optional input. Keep only if you use that feature or gauge.
15BRN25Generator L Terminal (Alternator turn on signal)Wire to car Alternator turn-on (L terminal). Needed with the factory alternator; some later trucks route this through a battery-current module instead.
16GRA/BLK16944 Wheel Drive Switch Signal LowOptional Optional 4WD input. Keep only with the factory transfer case and axle switches.
17DK GRN/WHT762A/C Request SignalWire to car A/C. Keep only if the computer will control the A/C compressor.
Check: Circuit number differs by source (762 or 2523); wire color and pin agree.
19BLK/WHT16954 Wheel Drive Front Axle SwitchOptional Optional 4WD input. Keep only with the factory transfer case and axle switches.
20LT GRN/BLK822Vehicle Speed Sensor (VSS) Reference LowKeep Speed sensor input. Keep: the computer needs vehicle speed.
21PPL/WHT821Vehicle Speed Sensor (VSS) SignalKeep Speed sensor input. Keep: the computer needs vehicle speed.
22RED/BLK1230Vehicle Speed Sensor (VSS) Signal (4L80E Only)Auto trans 4L80E input shaft speed (or a 4WD transfer-case speed input on some trucks). Keep with a 4L80E.
23DK BLU/WHT1231Vehicle Speed Sensor (VSS) Reference Low (4L80E Only)Auto trans 4L80E input shaft speed (or a 4WD transfer-case speed input on some trucks). Keep with a 4L80E.
24DK BLU417TP Sensor SignalKeep Engine sensor or output. Keep.
25TAN472IAT Sensor SignalKeep Engine sensor or output. Keep.
26PPL2121Ignition Control 1Keep Engine sensor or output. Keep.
27RED2127Ignition Control 7Keep Engine sensor or output. Keep.
28LT BLU/WHT2126Ignition Control 6Keep Engine sensor or output. Keep.
29DK GRN/WHT2124Ignition Control 4Keep Engine sensor or output. Keep.
31YEL492MAF Sensor SignalKeep Engine sensor or output. Keep.
32LT GRN432MAP Sensor SignalKeep Engine sensor or output. Keep.
33DK GRN1614HVAC Recirculation Door ControlWire to car Factory HVAC door control. In a swap this cavity is commonly re-used for the second cooling-fan relay.
34DK GRN/WHT428EVAP Canister Purge Solenoid ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
36BRN436AIR Pump Relay Control (w/NC1)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
38––Empty cavityWire to car Empty from the factory. Add a terminal here for pwm fuel gauge signal output.
39RED631CMP Sensor B+ SupplyKeep Engine sensor or output. Keep.
40BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
41WHT257EGR Solenoid GroundOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
42TAN/BLK422TCC Enable Circuit (4L60-E only)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
43DK GRN/WHT459A/C Clutch Relay ControlWire to car A/C. Keep only if the computer will control the A/C compressor.
45WHT1310EVAP Canister Vent Valve ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
46BRN/WHT419Malfunction Indicator Lamp (MIL) ControlWire to car Check-engine light. Run to a dash light.
47YEL/BLK1223Transmission Shift Solenoid BAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
48LT GRN1222Transmission Shift Solenoid AAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
49YEL/BLK1827Vehicle Speed Output Circuit 128KWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
50DK GRN/WHT817Vehicle Speed Output Circuit 4KWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
51YEL/BLK1227Transmission Temperature Sensor SignalAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
52GRY23Generator Field Duty Cycle SignalWire to car Alternator control. Keep with a factory computer-controlled alternator.
54PPL1589Fuel Level Sensor SignalOptional Optional input. Keep only if you use that feature or gauge.
55DK GRN603A/C Low Pressure Switch SignalWire to car A/C. Keep only if the computer will control the A/C compressor.
57BLK552IAT Sensor GroundKeep Engine sensor or output. Keep.
60BRN2129Ignition Control Reference Low Bank 1Keep Engine sensor or output. Keep.
61BRN/WHT2130Ignition Control Reference Low Bank 2Keep Engine sensor or output. Keep.
62GRA773PRND CAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
63PNK1224Transmission Fluid Pressure Switch AAuto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
64DK GRN890Fuel Tank Pressure Sensor SignalOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
66PPL/WHT2128Ignition Control 8Keep Engine sensor or output. Keep.
67RED/WHT2122Ignition Control 2Keep Engine sensor or output. Keep.
68DK GRN2125Ignition Control 5Keep Engine sensor or output. Keep.
69LT BLU2123Ignition Control 3Keep Engine sensor or output. Keep.
73DK BLU1936Fuel Level Sensor Signal - SecondaryOptional Optional input. Keep only if you use that feature or gauge.
74LT GRN/WHT3213HO2S Heater Control (w/isolated grounded sensors) (2001-02 6.0L Only)Keep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.
76LT GRN/WHT1749IAC Coil B HighKeep Engine sensor or output. Keep.
77LT GRN/BLK444IAC Coil B LowKeep Engine sensor or output. Keep.
78LT BLU/BLK1748IAC Coil A LowKeep Engine sensor or output. Keep.
79LT BLU/WHT1747IAC Coil A HighKeep Engine sensor or output. Keep.
80LT GRN3212HO2S Heater Low Reference (w/isolated ground sensors, 2001-02 6.0L only)Keep O2 sensor ground or heater circuit. Keep it if any O2 sensor on that circuit stays.

P59, 2003–2007 trucks (blue C1 + green C2)

2003–2007 GM truck and SUV computers (P59) with a blue and a green 80-pin connector, from a 2004 4.8/5.3/6.0 harness. Cable-throttle and drive-by-wire trucks differ on a few pins, noted in the table.

P59: connector C1 (blue)

PinWireCircuitFunctionStandalone harness
1BLK/WHT451GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
2LT GRN186712 Volt ReferenceKeep Engine sensor or output. Keep.
3PNK/BLK1746Fuel Injector 3 ControlKeep Engine sensor or output. Keep.
4LT GRN/BLK1745Fuel Injector 2 ControlKeep Engine sensor or output. Keep.
7GRY27055 Volt Reference (OIL PRESSURE)Keep Engine sensor or output. Keep.
8GRY–5 Volt Reference (Throttle Position Sensor Pin A) Cable Throttle ONLYKeep Cable-throttle P59s only (throttle position sensor). Not used with drive-by-wire.
11LT BLU1876Knock Sensor 2 SignalKeep Engine sensor or output. Keep.
12DK BLU/WHT1869CKP Sensor SignalKeep Engine sensor or output. Keep.
13ORN/BLK463Requested Torque Signal (NW7)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
14ORN/BLK1061UART Serial Data (drive by wire only)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
15DK BLU/WHT774UART Serial Data (drive by wire only)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
17DK BLU1225Transmission Fluid Pressure Switch Signal B (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
18RED1226Transmission Fluid Pressure Switch Signal C (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
19PNK439PCM Ignition SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
20ORN440PCM Battery SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
21YEL/BLK1868Crankshaft Position Sensor GroundKeep Engine sensor or output. Keep.
23BLK470Low ReferenceKeep Engine sensor or output. Keep.
24BLK/WHT451GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
25TAN1671HO2S Low Signal - Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
26TAN1667HO2S Low Signal - Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
27BLK/WHT451GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
28TAN/WHT1669HO2S Low Signal - Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
29TAN1664HO2S Low Signal - Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
30LT GRN1478Coolant Level Switch Signal (empty 2006+)Optional Optional input. Keep only if you use that feature or gauge.
32BLK/WHT771Transmission Range Switch Signal A (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
33PPL420TCC Brake Switch/Cruise Control Release Switch SignalWire to car Brake switch. 12 V with the pedal pressed. Needed for converter lockup, cruise and drive-by-wire.
34WHT776Transmission Range Switch Signal P (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic. This pin can be programmed to read a single park/neutral switch wire when no range switch is fitted.
35GRY48CPP Switch Signal (M/T)Wire to car Clutch switch (manual transmission).
36BLK1744Fuel Injector 1 ControlKeep Engine sensor or output. Keep.
37YEL/BLK846Fuel Injector 6 ControlKeep Engine sensor or output. Keep.
38PNK/WHT1101Damping Lift/Dive SignalOptional Optional input. Keep only if you use that feature or gauge.
39YEL/BLK625Starter Enable Relay ControlWire to car Starter relay control (on some vehicles only).
40BLK/WHT451GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
42––Empty cavityWire to car Empty from the factory. Add a terminal here for fan 1 relay control. Some 2005 and later harnesses already have it.
43RED/BLK877Fuel Injector 7 ControlKeep Engine sensor or output. Keep.
44LT BLU/BLK844Fuel Injector 4 ControlKeep Engine sensor or output. Keep.
45GRY27005 Volt Reference (A/C)Wire to car A/C. Keep only if the computer will control the A/C compressor.
46GRY4745 Volt Reference (EVA)Keep Engine sensor or output. Keep.
48GRY5975 Volt Reference (MAP)Keep Engine sensor or output. Keep.
51DK BLU496Knock Sensor 1 SignalKeep Engine sensor or output. Keep.
53GRY720Low Reference (TRANS)Keep Engine sensor or output. Keep.
54ORN/BLK469Low Reference (MAP)Keep Engine sensor or output. Keep.
56WHT1579Fuel Temperature/Composition Signal (L59) Flex Fuel SensorOptional Flex-fuel sensor input. Needs a flex-fuel operating system and the sensor.
57ORN440PCM Battery SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
58DK GRN1049Class 2 Serial DataWire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
59YEL710Class 2 Serial DataWire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
60BLK–Low Reference (Throttle Position Sensor Pin B) Cable Throttle ONLYKeep Cable-throttle P59s only (throttle position sensor). Not used with drive-by-wire.
61PNK/BLK632Low Reference (CMP)Keep Engine sensor or output. Keep.
63BLK2755Low Reference (OIL PRESSURE SENSOR)Keep Engine sensor or output. Keep.
64BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
65PPL1670HO2S High Signal - Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
66PPL1666HO2S High Signal - Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
67BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
68PPL/WHT1668HO2S High Signal - Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
69PPL/WHT1665HO2S High Signal - Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
70BRN1174Oil Level Switch SignalOptional Optional input. Keep only if you use that feature or gauge.
72YEL772Transmission Range Switch Signal B (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
73BRN/WHT633CMP Sensor SignalKeep Engine sensor or output. Keep.
74YEL410ECT Sensor SignalKeep Engine sensor or output. Keep.
75PNK1020PCM Ignition SupplyKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
76BLK/WHT845Fuel Injector 5 ControlKeep Engine sensor or output. Keep.
77DK BLU/WHT878Fuel Injector 8 ControlKeep Engine sensor or output. Keep.
79WHT6873-2 Shift Solenoid Valve Control (M30/M32)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
80BLK407Low Reference (ECT)Keep Engine sensor or output. Keep.

P59: connector C2 (green)

PinWireCircuitFunctionStandalone harness
1BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
2BRN418TCC PWM Solenoid Valve Control (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
3TAN1465Fuel Pump Relay Control - Secondary (Dual Tanks)Wire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
5TAN/BLK464Delivered Torque Signal (NW7)Keep Drive-by-wire link to the separate throttle control (TAC) module. Keep only if you run that TAC module; not used with a cable throttle.
6RED/BLK1228PC Solenoid Valve High Control (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
8LT BLU/WHT1229PC Solenoid Valve Low Control (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
9DK GRN/WHT465Fuel Pump Relay Control - PrimaryWire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
10WHT121Engine Speed SignalWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
14RED/BLK380A/C Refrigerant Pressure Sensor Signal (A/C)Wire to car A/C. Keep only if the computer will control the A/C compressor.
15BRN25Charge Indicator ControlWire to car Alternator turn-on (L terminal). Needed with the factory alternator; some later trucks route this through a battery-current module instead.
16GRY/BLK16944WD Low SignalOptional Optional 4WD input. Keep only with the factory transfer case and axle switches.
18DK GRN1433Clutch Start Switch Signal (M/T)Wire to car Clutch switch (manual transmission).
19BLK/WHT1695Axle Switch Signal (NP2)Optional Optional 4WD input. Keep only with the factory transfer case and axle switches.
20LT GRN/BLK822VSS Low SignalKeep Speed sensor input. Keep: the computer needs vehicle speed.
21PPL/WHT821VSS High SignalKeep Speed sensor input. Keep: the computer needs vehicle speed.
22RED/BLK1230AT ISS High Signal (4WD w/MT1)Auto trans 4L80E input shaft speed (or a 4WD transfer-case speed input on some trucks). Keep with a 4L80E.
23DK BLU/WHT1231AT ISS Low Signal (4WD w/MT1)Auto trans 4L80E input shaft speed (or a 4WD transfer-case speed input on some trucks). Keep with a 4L80E.
24DK BLU–Throttle Position Sensor Signal - TPS Pin C - Cable Throttle ONLYKeep Cable-throttle P59s only (throttle position sensor). Not used with drive-by-wire.
25TAN472IAT Sensor SignalKeep Engine sensor or output. Keep.
26PPL2121IC 1 ControlKeep Engine sensor or output. Keep.
27RED2127IC 7 ControlKeep Engine sensor or output. Keep.
28LT BLU/WHT2126IC 6 ControlKeep Engine sensor or output. Keep.
29DK GRN/WHT2124IC 4 ControlKeep Engine sensor or output. Keep.
31YEL492MAF Sensor SignalKeep Engine sensor or output. Keep.
32LT GRN432MAP Sensor SignalKeep Engine sensor or output. Keep.
33––Empty cavityWire to car Empty from the factory. Add a terminal here for fan 2 relay control.
34DK GRN/WHT428EVAP Canister Purge Solenoid ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
39RED63112 Volt Reference (CMP)Keep Engine sensor or output. Keep.
40BLK/WHT451PCM GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
42TAN/BLK422TCC Solenoid Valve Control (M30/M32)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
43DK GRN/WHT459A/C Compressor Clutch Relay Control (A/C)Wire to car A/C. Keep only if the computer will control the A/C compressor.
45WHT1310EVAP Canister Vent Solenoid Control (EVA)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
46BRN/WHT419Check Engine Light ControlWire to car Check-engine light. Run to a dash light.
47YEL/BLK12232-3 Shift Solenoid Valve Control (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
48LT GRN12221-2 Shift Solenoid Valve Control (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
49YEL/BLK1827Vehicle Speed Signal OUT 129k/mileWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
50DK GRN/WHT817Vehicle Speed Signal OUT 4k/mileWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
51YEL/BLK1227TFT Sensor Signal (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
52BRN2391HO2S Heater Low Control Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
53RED/WHT3223HO2S Heater Low Control Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
54PPL1589Fuel Level Sensor Signal - PrimaryOptional Optional input. Keep only if you use that feature or gauge.
57BLK552Low Reference (IAT)Keep Engine sensor or output. Keep.
58TAN/WHT332Oil Pressure Sensor SignalKeep Engine sensor or output. Keep.
59PPL806Crank VoltageKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
60BRN2129Ignition Control Reference Low Bank 1Keep Engine sensor or output. Keep.
61BRN/WHT2130Ignition Control Reference Low Bank 2Keep Engine sensor or output. Keep.
62GRY773Transmission Range Switch Signal C (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
63PNK1224Transmission Fluid Pressure Switch Signal A (A/T)Auto trans Automatic transmission (4L60E/4L80E). Keep with a computer-controlled automatic; not needed with a manual or a non-electronic automatic.
64DK GRN890Fuel Tank Pressure Sensor Signal (EVA)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
66PPL/WHT2128IC 8 ControlKeep Engine sensor or output. Keep.
67RED/WHT2122IC 2 ControlKeep Engine sensor or output. Keep.
68DK GRN2125IC 5 ControlKeep Engine sensor or output. Keep.
69LT BLU2123IC 3 ControlKeep Engine sensor or output. Keep.
72BLK/WHT3113HO2S Heater Low Control Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
73DK BLU1936Fuel Level Sensor Signal - SecondaryOptional Optional input. Keep only if you use that feature or gauge.
74LT GRN3212HO2S Heater Low Control Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
75GRY23Generator Field Duty Cycle SignalWire to car Alternator control. Keep with a factory computer-controlled alternator.
80BLK2751Low Reference (A/C)Wire to car A/C. Keep only if the computer will control the A/C compressor.

E38, Gen IV (X1 73-pin + X2 80-pin)

The Gen IV E38 (2007-on trucks, G8, Camaro and others with 58x reluctor engines). The E38 runs the engine only; a 6L80 or 4L60E behind it is shifted by a separate transmission computer. This is the full list of E38 circuits; rows marked "not populated on every harness" only exist with certain options.

E38: connector X1 (73-pin)

PinWireCircuitFunctionStandalone harness
1ORN/BLK1786Park/Neutral Switch SignalAuto trans Park/neutral signal from the transmission range switch. Needed for starting and idle control with an automatic. The E38 does not shift the transmission; a separate transmission computer does.
2GRY/BLK16944WD Low Switch SignalOptional Optional 4WD input. Keep only with the factory transfer case and axle switches.
3TAN/WHT16954WD Mode/2Sp Axle/Brake Switch B SignalOptional Optional 4WD input. Keep only with the factory transfer case and axle switches.
4PPL/WHT1035Starter Relay Coil Supply VoltageWire to car Starter relay control (on some vehicles only). Not populated on every harness (option-dependent).
6GRY48Clutch Pedal Switch B SignalWire to car Clutch switch (manual transmission). Not populated on every harness (option-dependent).
9LT BLU/WHT6311Brake Switch SignalWire to car Brake switch. 12 V with the pedal pressed. Needed for converter lockup, cruise and drive-by-wire.
10PPL/WHT1668HO2S High Signal - Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
11TAN/WHT1669HO2S Low Signal - Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
12ORN/BLK380A/C Refrigerant Pressure Sensor SignalWire to car A/C. Keep only if the computer will control the A/C compressor.
13TAN5514Low Reference (ACP)Wire to car A/C. Keep only if the computer will control the A/C compressor.
14PPL/WHT5024Low Reference - Tach ReturnWire to car Tach signal return. Use it with the tach output if your gauge needs it. Not populated on every harness (option-dependent).
16PPL1589Fuel Level Sensor Signal - PrimaryOptional Optional input. Keep only if you use that feature or gauge.
17DK BLU/WHT473High Speed Cooling Fan Relay ControlWire to car Cooling fan relay. The computer grounds it to turn the fan on. Not populated on every harness (option-dependent).
18DK BLU5985Accessory Wakeup Serial DataWire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
19PNK439Ignition 1 VoltageKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
20RED/WHT440Battery Positive VoltageKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
23PPL1272Low Reference (APP2)Keep Gas pedal (drive-by-wire). Keep with a DBW pedal.
24DK GRN890Fuel Tank Pressure Sensor SignalOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
25BRN846AIR Pump Relay ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune. Not populated on every harness (option-dependent).
26DK BLU6306Clutch Pedal Position Sensor SignalWire to car Clutch switch (manual transmission). Not populated on every harness (option-dependent).
27TAN/BLK2501High Speed GMLAN Serial Data Bus (-)Wire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
28TAN/BLK2500High Speed GMLAN Serial Data Bus (+)Wire to car Data line. Run the OBD-II one to the diagnostic port so you can scan and flash. Others go to factory modules you may not keep.
29DK BLU1161APP Sensor 1 SignalKeep Gas pedal (drive-by-wire). Keep with a DBW pedal.
30BRN1271Low Reference (APP1)Keep Gas pedal (drive-by-wire). Keep with a DBW pedal.
31TAN/BLK6049Low Reference (FTP, Fuel Level)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
32LT BLU1162APP Sensor 2 SignalKeep Gas pedal (drive-by-wire). Keep with a DBW pedal.
33GRY27095-Volt Reference 1 (FTP)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
34GRY/WHT27005-Volt Reference 1 (ACP)Wire to car A/C. Keep only if the computer will control the A/C compressor.
35TAN27605-Volt Reference 1Keep Engine sensor or output. Keep. Not populated on every harness (option-dependent).
36TAN12745-Volt Reference 1 (APP2)Keep Gas pedal (drive-by-wire). Keep with a DBW pedal.
37TAN/BLK472IAT Sensor SignalKeep Engine sensor or output. Keep.
38TAN2760Low Reference (IAT)Keep Engine sensor or output. Keep.
Check: Circuit number repeats pin X1-35 in our source list; check the wire color on your harness.
41YEL492MAF Sensor SignalKeep Engine sensor or output. Keep.
42DK GRN/WHT6294Low Reference (CPP)Wire to car Clutch switch (manual transmission). Not populated on every harness (option-dependent).
47PNK/BLK1339Ignition 1 (Powertrain Relay) VoltageKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.
48WHT/BLK5039Tach SignalWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal. Not populated on every harness (option-dependent).
49TAN1671HO2S Low Signal - Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
50DK GRN/WHT465Fuel Pump Relay Control - PrimaryWire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
51TAN1465Fuel Pump Relay Control - SecondaryWire to car Fuel pump relay control. Keep: wire it to the pump relay coil (secondary is for dual-tank trucks).
52YEL/BLK625Starter Enable Relay Control (HSD)Wire to car Starter relay control (on some vehicles only).
54DK GRN62935-Volt Reference 2 (CPP)Wire to car Clutch switch (manual transmission). Not populated on every harness (option-dependent).
56WHT/BLK11645-Volt Reference 2 (APP1)Keep Gas pedal (drive-by-wire). Keep with a DBW pedal.
57YEL/BLK1827Vehicle Speed SignalWire to car Output to your speedometer or tachometer. Run it to the gauge if it takes this signal.
58DK GRN335Low Speed Cooling Fan Relay ControlWire to car Cooling fan relay. The computer grounds it to turn the fan on.
59YEL5991Powertrain Relay Coil ControlKeep Powertrain relay control. The computer switches this relay to feed the injectors, coils and sensors. Keep.
61WHT1310EVAP Canister Vent Solenoid ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
63DK GRN/WHT459A/C Compressor Clutch Relay ControlWire to car A/C. Keep only if the computer will control the A/C compressor.
64ORN/WHT3223HO2S Heater Low Control - Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
65GRY/WHT3122HO2S Heater Low Control - Bank 1 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
66GRY587Skip Shift Solenoid/Fan 3/EBPV ControlOptional AFM solenoid on AFM engines, or the manual-transmission reverse lockout / skip-shift solenoid, depending on the calibration. Not populated on every harness (option-dependent).
67YEL/BLK625Starter Enable Relay Control (LSD)Wire to car Starter relay control (on some vehicles only). Not populated on every harness (option-dependent).
68BRN/WHT419MIL ControlWire to car Check-engine light. Run to a dash light.
69PPL1670HO2S High Signal - Bank 2 Sensor 2Optional Rear (downstream) O2 sensor or its heater. Can be removed only if your state doesn't require it, and the tune must turn off the rear O2 tests.
70LT BLU1937Fuel Level Sensor Signal - SecondaryOptional Optional input. Keep only if you use that feature or gauge.
71PPL/WHT821Vehicle Speed Sensor (VSS) High SignalKeep Speed sensor input. Keep: the computer needs vehicle speed.
Check: Some trucks use this pin for a copied transmission output speed signal (circuit 6399) instead.
72LT GRN/BLK822Vehicle Speed Sensor (VSS) Low SignalKeep Speed sensor input. Keep: the computer needs vehicle speed.
73BLK/WHT451GroundKeep Power or ground. Wire it to fused battery power, key-on power or a clean engine ground as labeled.

E38: connector X2 (80-pin)

PinWireCircuitFunctionStandalone harness
1GRY4745-Volt Reference 2 (AIR)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune. Not populated on every harness (option-dependent).
2PPL/WHT62705-Volt Reference 2 (CKP)Keep Engine sensor or output. Keep.
3GRY27015-Volt Reference 2 (TPS)Keep Engine sensor or output. Keep.
5BRN582TAC Motor Control - 2Keep Engine sensor or output. Keep.
6YEL581TAC Motor Control - 1Keep Engine sensor or output. Keep.
7PNK/BLK429AIR Solenoid Relay ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune. Not populated on every harness (option-dependent).
8DK GRN/WHT428EVAP Canister Purge Solenoid ControlOptional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune.
9GRY5493Cylinder Shutoff Solenoid Control (3)Optional AFM/DOD lifter oil manifold. Not needed if AFM is deleted (tune must turn it off).
10DK BLU5491Cylinder Shutoff Solenoid Control (1)Optional AFM/DOD lifter oil manifold. Not needed if AFM is deleted (tune must turn it off).
11ORN5494Cylinder Shutoff Solenoid Control (4)/Reverse Lockout Solenoid ControlOptional AFM solenoid on AFM engines, or the manual-transmission reverse lockout / skip-shift solenoid, depending on the calibration.
12GRY/WHT3113HO2S Heater Low Control - Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
13LT GRN3212HO2S Heater Low Control - Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
14LT GRN/BLK5492Cylinder Shutoff Solenoid Control (2)Optional AFM/DOD lifter oil manifold. Not needed if AFM is deleted (tune must turn it off).
16PPL5284Camshaft Actuator Solenoid A ControlKeep Engine sensor or output. Keep.
17DK BLU/WHT878Fuel Injector 8 ControlKeep Engine sensor or output. Keep.
18TAN/WHT845Fuel Injector 5 ControlKeep Engine sensor or output. Keep.
19YEL/BLK846Fuel Injector 6 ControlKeep Engine sensor or output. Keep.
20TAN1744Fuel Injector 1 ControlKeep Engine sensor or output. Keep.
21YEL410ECT Sensor SignalKeep Engine sensor or output. Keep.
22TAN2761Low Reference (ECT)Keep Engine sensor or output. Keep.
23TAN/WHT585EOT/TFT Sensor SignalOptional Engine oil or transmission fluid temperature input, depending on the calibration. Optional. Not populated on every harness (option-dependent).
24ORN/BLK586Low Reference (EOT/TFT)Optional Engine oil or transmission fluid temperature input, depending on the calibration. Optional. Not populated on every harness (option-dependent).
26DK BLU496Knock sensor 1 SignalKeep Engine sensor or output. Keep.
27GRY1716Knock sensor 1 SignalKeep Engine sensor or output. Keep.
29LT BLU1876Knock sensor 2 SignalKeep Engine sensor or output. Keep.
30GRY2303Knock sensor 2 SignalKeep Engine sensor or output. Keep.
32GRY23Generator Field Duty Cycle Signal (F-Term)Wire to car Alternator control. Keep with a factory computer-controlled alternator.
33BRN1174Oil Level Switch/Oil Level-Temp Sensor SignalOptional Optional input. Keep only if you use that feature or gauge.
34BLK2755Low Reference (EOP)Keep Engine sensor or output. Keep.
35TAN2752Low Reference (TPS)Keep Engine sensor or output. Keep.
37LT GRN/BLK1745Fuel Injector 2 ControlKeep Engine sensor or output. Keep.
38PNK/BLK1746Fuel Injector 3 ControlKeep Engine sensor or output. Keep.
39LT BLU/BLK844Fuel Injector 4 ControlKeep Engine sensor or output. Keep.
40ORN/BLK877Fuel Injector 7 ControlKeep Engine sensor or output. Keep.
41GRY/WHT27055-Volt Reference 1 (EOP)Keep Engine sensor or output. Keep.
43GRY27045-Volt Reference 1 (MAP)Keep Engine sensor or output. Keep.
44DK BLU62595-Volt Reference 1 (CMPA)Keep Engine sensor or output. Keep.
50TAN/WHT331Oil Pressure Sensor SignalKeep Engine sensor or output. Keep.
51TAN476Low Reference (AIR)Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune. Not populated on every harness (option-dependent).
52TAN2199Low Reference - Camshaft Actuator Solenoid A ReturnKeep Engine sensor or output. Keep.
53ORN/BLK469Low Reference (MAP)Keep Engine sensor or output. Keep.
56TAN1664HO2S Low Signal - Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
57PPL/WHT1665HO2S High Signal - Bank 1 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
58LT GRN432MAP Sensor SignalKeep Engine sensor or output. Keep.
59PPL1666HO2S High Signal - Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
60TAN1667HO2S Low Signal - Bank 2 Sensor 1Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
61BRN25Charge Indicator Signal (L-Term)Wire to car Alternator control. Keep with a factory computer-controlled alternator.
63PPL486TP Sensor 2 SignalKeep Engine sensor or output. Keep.
64DK BLU/WHT6265CMP Sensor A SignalKeep Engine sensor or output. Keep.
65DK GRN485TP Sensor 1 SignalKeep Engine sensor or output. Keep.
66BRN6266Low Reference (CMPA)Keep Engine sensor or output. Keep.
67WHT5268AIR Pressure Sensor Signal - Bank 1Optional Emissions part (EVAP, EGR or air pump). Remove only where emissions rules allow, and turn off the related tests in the tune. Not populated on every harness (option-dependent).
68WHT/BLK6271CKP Sensor SignalKeep Engine sensor or output. Keep.
69GRY/BLK6272Low Reference (CKP)Keep Engine sensor or output. Keep.
70PPL2121IC 1 ControlKeep Engine sensor or output. Keep.
71PPL/WHT2128IC 8 ControlKeep Engine sensor or output. Keep.
72ORN2127IC 7 ControlKeep Engine sensor or output. Keep.
73ORN/WHT2122IC 2 ControlKeep Engine sensor or output. Keep.
74LT BLU/WHT2126IC 6 ControlKeep Engine sensor or output. Keep.
75DK GRN2125IC 5 ControlKeep Engine sensor or output. Keep.
76DK GRN/WHT2124IC 4 ControlKeep Engine sensor or output. Keep.
77LT BLU2123IC 3 ControlKeep Engine sensor or output. Keep.
78BRN2129Low Reference - IC ReturnKeep Engine sensor or output. Keep.
79BRN/WHT2130Low Reference - IC ReturnKeep Engine sensor or output. Keep.

Minimum standalone wiring

Whatever the computer, a trimmed factory harness needs these connections to the car:

  1. Constant battery power (fused) and key-on power to the computer, plus every computer ground to a clean engine ground.
  2. Fuel pump relay control to the relay coil, with the relay powering the pump through its own fuse.
  3. OBD-II port: the serial data line, power and grounds, so you can scan and flash it.
  4. Check-engine light and tach outputs to your gauges, and a vehicle speed sensor input.
  5. Fan relay control for electric fans (or wire the fans to a separate thermostatic switch).
  6. With drive-by-wire: the pedal and throttle body (or TAC module) wiring. With an automatic: the transmission pins and a brake switch input.

Prefer a ready-made harness? Compare options in the LS swap ECU comparison, or see the Painless 60522 and Speartech hookup guides. Holley ECU? Holley EFI pinout. Tune basics: swap tune checklist.

How we checked: every P01/P59 row matches across two separately published pin lists. More than 40 pins (power, grounds, crank sensor, transmission, fuel pump, fan, A/C, flex fuel) were also checked against factory pinout reprints and wiring write-ups from other publishers; one circuit number differs between sources and is marked. For the E38, 100 pins match exactly between two published lists. Two pins differ and are marked, and options that one list leaves out are flagged. A 1998–2000 "black box" to 0411 conversion table was left out because it disagreed with the other sources on injector pins.