Guide updates and tuning notes by email → 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.

Last updated

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 = 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. Click a label to show only those rows. Click a pin row to copy the pin, circuit and function.

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.

Buying one: used 0411 (P01) computers. Check the service number on the label before you pay.

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.
25TAN–HO2S 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.
Check: On an isolated-ground O2 harness the tan low wires from all four O2 sensors are spliced together and also run to pin 63. With everything unplugged, a meter shows continuity between pins 25, 26, 28 and 29 on that harness and none on a case-ground one.
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.
26TAN–HO2S Signal Low B2S1 (w/Isolated Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
Check: On an isolated-ground O2 harness the tan low wires from all four O2 sensors are spliced together and also run to pin 63. With everything unplugged, a meter shows continuity between pins 25, 26, 28 and 29 on that harness and none on a case-ground one.
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.
28TAN–HO2S 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.
Check: On an isolated-ground O2 harness the tan low wires from all four O2 sensors are spliced together and also run to pin 63. With everything unplugged, a meter shows continuity between pins 25, 26, 28 and 29 on that harness and none on a case-ground one.
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.
29TAN–HO2S Signal Low B1S1 (w/Isolated Ground O2 Sensors)Keep Front (upstream) O2 sensor or its heater. Keep: the computer uses these for fuel control.
Check: On an isolated-ground O2 harness the tan low wires from all four O2 sensors are spliced together and also run to pin 63. With everything unplugged, a meter shows continuity between pins 25, 26, 28 and 29 on that harness and none on a case-ground one.
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 (converter clutch and cruise). 12 V with the pedal released and no voltage when you press it: a normally-closed contact, the opposite of a brake-light switch.
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 w/Case Ground O2 SensorsKeep Sensor ground for engine and transmission sensors. Keep.
41GRY or BLK–Sensor Ground w/Isolated Ground O2 SensorsKeep Sensor ground for engine and transmission sensors. Keep.
Check: On isolated-ground O2 harnesses the color and circuit here aren't consistent (gray or black). Either way it is a sensor ground: keep whatever wire is in this pin.
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.
63GRY720Coolant Temperature (ECT) Sensor Ground w/Case Ground O2 SensorsKeep Coolant temperature sensor ground. Keep.
63TAN–O2 Sensor Ground Reference w/Isolated Ground O2 SensorsKeep The spliced tan ground wire from all four O2 sensors lands here. Keep it if any O2 sensor stays.
Check: On a case-ground harness this pin is the coolant sensor ground instead, so a wire in pin 63 doesn't tell you which harness you have.
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.

Empty on a 2000 GM truck harness: pins 5, 6, 7, 8, 9, 10, 16, 22, 24, 27, 31, 39, 49, 50, 52, 62, 64, 67, 78. Some of these carry options on other models, so check your own connector before you use one.

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 Secondary fuel pump relay control, for dual-tank trucks. Leave it unused on a single pump; on a dual-tank donor, wire it the way that donor's diagram shows.
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. The computer sends +12 V to the relay coil (terminal 86) to run the pump; the coil's other side (85) goes to ground. Never power the pump from this pin.
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 is listed two ways (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.

Empty on a 2000 GM truck harness: pins 4, 12, 14, 18, 30, 35, 37, 44, 53, 56, 58, 59, 65, 70, 71, 72, 75. Some of these carry options on other models, so check your own connector before you use one.

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 (converter clutch and cruise). 12 V with the pedal released and no voltage when you press it: a normally-closed contact, the opposite of a brake-light switch.
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.
42DK GRN (if fitted)335Low Speed Cooling Fan Relay Control (empty on many harnesses)Wire to car Fan 1 relay control: the computer grounds the relay coil. Wired from the factory on some 2005 and later harnesses; on others the cavity is empty, so add a terminal here.
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 (sensor ground)Keep Sensor ground. Keep.
Check: Pins 53 and 80 are both sensor grounds. 2003–2007 truck harnesses put gray 720 on 53 and black 407 on 80; the 2004 Hummer H2 has them the other way round. Keep both and go by your own harness.
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 (sensor ground)Keep Sensor ground. Keep.
Check: Pins 53 and 80 are both sensor grounds. 2003–2007 truck harnesses put gray 720 on 53 and black 407 on 80; the 2004 Hummer H2 has them the other way round. Keep both and go by your own harness.

Empty on a 2004 H2 harness: pins 5, 6, 9, 10, 16, 22, 31, 41, 47, 49, 50, 52, 55, 62, 71, 78. Some of these carry options on other models, so check your own connector before you use one.

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 Secondary fuel pump relay control, for dual-tank trucks. Leave it unused on a single pump; on a dual-tank donor, wire it the way that donor's diagram shows.
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. The computer sends +12 V to the relay coil (terminal 86) to run the pump; the coil's other side (85) goes to ground. Never power the pump from this pin.
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.
33DK BLU (if fitted)473High Speed Cooling Fan Relay Control (empty on many harnesses)Wire to car Fan 2 relay control: the computer grounds the relay coil. Wired from the factory on some 2005 and later harnesses; on others the cavity is empty, so add a terminal here.
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.
Check: Purple/white on some vehicles.
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.

Empty on a 2004 H2 harness: pins 4, 7, 11, 12, 13, 17, 30, 35, 36, 37, 38, 41, 44, 55, 56, 65, 70, 71, 76, 77, 78, 79. Some of these carry options on other models, so check your own connector before you use one.

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 (the opposite of the 0411/P59). 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.
Check: Plain tan on some vehicles (2010 vans), with tan/black on pin 28. Go by pin number.
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.
Check: The circuit number and which sensors share this ground vary by vehicle (circuit 2759 on 2010 vans).
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.
Check: Plain gray on some vehicles.
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.
Check: Plain tan on some vehicles.
38TAN2760Low Reference (IAT)Keep Engine sensor or output. Keep.
Check: Circuit number repeats pin X1-35 in one published 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.
Check: Plain pink on some vehicles.
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. The computer sends +12 V to the relay coil (terminal 86) to run the pump; the coil's other side (85) goes to ground. Never power the pump from this pin.
51TAN1465Fuel Pump Relay Control - SecondaryWire to car Secondary fuel pump relay control, for dual-tank trucks. Leave it unused on a single pump; on a dual-tank donor, wire it the way that donor's diagram shows.
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: On many trucks and vans this pin carries a copied transmission output speed signal from the transmission computer (orange/black, circuit 6399) instead of a speed sensor input. Check what your harness has here before you wire a speed sensor to it.
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.

Empty on a 2010 Express/Savana van harness: pins 5, 7, 8, 15, 21, 22, 39, 40, 43, 44, 45, 46, 53, 55, 60, 62. Some of these carry options on other models, so check your own connector before you use one.

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.
Check: Plain gray on some vehicles.
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.
Check: Some vehicles list this pin as the generator turn-on signal (orange, circuit 225). Either way it runs to the alternator's L terminal.
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.

Empty on a 2010 Express/Savana van harness: pins 4, 15, 25, 28, 31, 36, 42, 45, 46, 47, 48, 49, 54, 55, 62, 80. Some of these carry options on other models, so check your own connector before you use one.

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.

Loose wires on popular stand-alone harnesses

Bought a harness instead of trimming the factory one? These are the wires you connect to the car, by job. A dash means that harness has no separate wire for it, or we haven't confirmed one.

JobPainless 60522Speartech LS 58xHolley Terminator XPSI HAR-1099Current Performance 24x
Switched 12 V (key on and cranking)–pink/blackred/whiteredpink/black
Fuel pump powergraygraygreen (15 A max)–gray (20 A fused)
Tach signalwhitewhiteblue/white (12 V square wave)whitewhite
Speedometer signalgreen/whiteyellow–blackdark green/white
Check-engine light–––brownbrown/white
Fan 1 relay (ground trigger)greendark greengray/yellowdark greendark green
Fan 2 relay (ground trigger)bluedark bluegray/red–dark blue
Brake switch / converter lockup–light blue–purple (12 V with brakes applied)purple
A/C–orange/white (clutch)white/blue (A/C request input)––

Colors as printed on each harness. Makers change colors between production runs: go by the label on the wire when there is one.

What has to be wired to start it? How to wire your LS, by engine, computer, throttle and transmission. Wiring the relays? Fuel pump and fan relay wiring with diagrams. Not sure which computer you have? Computer identifier. Ready to fire it? First-start checklist.

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.

Want it easy? Let us do the tune part. A Full Custom ($199) is built on a read of your GM computer and set up for your engine, injectors, throttle and transmission. You follow the free wiring guide; we make the calibration match. (It's for GM computers, not aftermarket ECUs.)

Pre-order a Full Custom tune Ask us whether your combination is supported

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 other wiring write-ups; one circuit number differs between published lists and is marked. Ground, O2 and fan pins where lists disagree were checked again against factory GM pin tables (2000 and 2005 trucks, 2004 Hummer H2, 2010 vans); where vehicles differ, the row says so. 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 lists on injector pins.