Honda Civic

6th Gen Honda Civic Wiring Diagram & ECU Pinout (1996-2000) — EK/EM/EJ

⚠️ The 6th Gen Main Relay — No-Start When Hot

This is a key 6th gen specific electrical consideration that is not covered in standard wiring references.

The main relay (PGM-FI relay) is located under the dashboard, above the driver’s side kick panel. Over time, the solder joints on the circuit board can develop cracks from heat cycles. When the relay reaches operating temperature, the Fuel Pump may stop priming, and the engine may crank without starting — then function normally again after cooling down for approximately 30 minutes.

Fix: Remove the relay, open the plastic cover, and re-solder the cracked joints on the circuit board. Alternatively, replace it with a new OEM relay (~$40). This is an inexpensive repair that can prevent being stranded.

6th Generation — Civic (1996–2000) EK/EM/EJ

Your 6th gen Civic (EK hatchback, EM coupe, EJ sedan) has a well-documented but aging electrical system. Chassis codes include EK9 (Type R), EK4, EK3, EJ6, EJ8, EJ9, and EM1 (Si). The main Wiring Harness is known for chafing issues, and the main relay is a common failure point.

Here is the breakdown of each wire you need to know — including the 6th gen specific considerations that are not covered in generic wiring references.

Standard Honda Wire Color Legend — 6th Gen Specific

Honda uses a consistent wire color-coding system. When two colors are listed (e.g., GRN/YEL), the first is the base color, the second is the stripe.

CodeColorCommon Function (6th Gen)
BLKBlackChassis ground — always ground
WHTWhiteSensor signal / ECU input / Constant 12V in stereo harness
BLUBlueVTEC solenoid / VTC oil pressure / Right front speaker (+) in stereo harness
REDRedSwitched 12V (ignition/accessory) / Headlight low beam (+) / Right front speaker (+) depending on harness
YELYellowStarter signal / Ignition output
GRNGreenSensors / ECU signals / Injector ground / Left front speaker (+)
ORNOrangeDash illumination / Dimmer
PNKPinkFuel pump relay control
GRYGraySpeed sensor / CAN bus / Left front speaker (-) or rear left (-)
BRNBrownDash lights / Parking lights / Right front speaker (-)

Stereo / Radio Wiring — 6th Gen (1996–2000)

The 6th gen Civic uses a 10-pin and 6-pin radio connector — consistent across all trims and body styles. Use the Metra 70-1721 or Scosche HA08B harness adapter for aftermarket stereo installations.

FunctionWire ColorNotes
Battery (+12V Constant)BLU/WHTAlways powered — for stereo memory
Accessory (12V Switched)YEL/REDIgnition switched — turns stereo on/off with key
GroundBLKChassis ground — also G501 location under dash
Illumination / DimmerRED/BLKDims display when headlights are on
Left Front Speaker (+)BLU/GRN—
Left Front Speaker (-)GRY/BLK—
Right Front Speaker (+)RED/GRN—
Right Front Speaker (-)BRN/BLK—
Left Rear Speaker (+)BLU/YEL—
Left Rear Speaker (-)GRY/WHT—
Right Rear Speaker (+)RED/YEL—
Right Rear Speaker (-)BRN/WHT—

💡 Note: The GRN and VIO wires in the stereo harness may serve different functions on certain trims. Always verify with a multimeter before cutting. The 6th gen stereo harness is well-documented and the same connector is used across all EJ/EK chassis variants.

ECU Pinout — Common 6th Gen ECUs

The ECU is located behind the passenger side kick panel (right side, under the glove box). Honda ECU part numbers follow a consistent pattern: 37820-XXX-AXX where the middle three characters identify the ECU type.

Common 6th Gen ECU Part Numbers:

EngineECU Part NumberNotes
D16Y8 (EX / Si)37820-P2P-AxxVTEC — manual transmission
D16Y7 (DX / CX / LX)37820-P2E-AxxNon-VTEC
D16Y5 (HX)37820-P2N-AxxVTEC-E economy
B16A2 (Si / EM1)37820-P2T-AxxDOHC VTEC — manual transmission

ECU Connector A (31-Pin) — P2P (D16Y8 VTEC)

Connector A is the main engine control connector on all 6th gen OBD2 ECUs. Pin assignments shown are typical for D-Series VTEC ECUs.

PinFunctionWire Color
A1VTEC Solenoid ValveGRN/YEL
A4Fuel Pump RelayPNK
A6Ignition Output — Cyl 1YEL
A7Ignition Output — Cyl 3WHT
A8Main Relay (ECU Power)YEL/BLK
A13ECU Power (+12V)WHT
A16ECU GroundBRN/BLK
A18ECU GroundBLK/RED
A17VTC Oil Pressure Switch (if equipped)BLU

⚠️ Critical Ground Warning: ECU ground pins A16 (BRN/BLK) and A18 (BLK/RED) must be properly grounded. If these grounds are loose or missing, the ECU may be damaged during starting. Check the G101 ground point on the intake manifold first.

O2 Sensor Wiring — Primary (Upstream) Sensor

The primary oxygen sensor (front, in the exhaust manifold) has four wires. The colors on the harness side are standard for all 6th gen Civics with D16Y7 or D16Y8 engines.

FunctionWire Color (Harness Side)Notes
Sensor SignalWHTECU input — pin location varies by ECU
Sensor GroundGRN/BLKECU signal ground reference
Heater Element PowerBLK/YELSwitched 12V from main relay
Heater Element GroundBLK/WHTChassis ground

🔧 O2 Sensor Wiring Note: For aftermarket O2 sensors, the heater wires are often a pair of identical colors. They can be connected without concern for polarity — the heater circuit is non-polarized. The signal and ground wires must be connected correctly for proper ECU function.

Critical Ground Locations — 6th Gen

A significant portion of 6th gen electrical issues can be traced to poor grounds. These are the most critical ground locations:

Ground CodeLocationWhat It Grounds
G101Intake manifold / engine blockECU reference ground — most critical. A loose G101 connection can cause ECU damage during starting.
G201Radiator support / firewallBody electronics, headlights, cooling fans
G401Transmission housing ground strapStarter motor return — often overlooked after clutch replacements
G501Under dashboard, right of steering columnStereo, interior lighting, dash electronics

Headlight Wiring — 6th Gen

Factory halogen headlight connector — 3-pin. Useful for retrofitting LED or HID headlights.

FunctionWire Color
Low Beam (+)RED
High Beam (+)WHT
GroundBLK

The headlight circuit runs from the under-Hood fuse box → headlight switch on steering column → under-dash fuse box → headlight connectors. The WHT/BLK wire from the under-dash fuse box supplies power to the ignition switch and the headlight circuit.

Important Notes — 6th Gen Specific Wiring Issues

⚠️ The Harness Under the Fender — A Common Chafing Point

The main wiring harness runs under the driver’s side front fender. Over time — particularly on lowered vehicles — the tire may contact the Fender liner and wear against the wiring harness. This can cause intermittent short circuits and blown fuses without an obvious cause.

Diagnosis: If fuses continue to blow without an apparent reason — inspect the harness behind the driver’s side fender liner. Bare copper wires contacting the chassis may be visible.

Fix: Remove the fender liner, wrap the harness with electrical tape and split loom, and secure it away from the tire path.

💡 Main Relay (PGM-FI) — A Known 6th Gen Failure Point

The main relay on the 6th gen Civic is a common failure component. It is located under the dashboard, above the driver’s side kick panel.

Symptom: The engine starts normally when cold, but may not start when hot — or may stall and not restart. The fuel pump does not prime (no audible buzz when the key is turned).

Fix: The relay develops cracked solder joints over time from thermal cycling. The joints can be re-soldered on the circuit board (an inexpensive repair), or the relay can be replaced with a new OEM unit. This is a cost-effective repair that can prevent being stranded.

🔧 VTEC Wiring — Non-VTEC to VTEC Conversion

For a VTEC head swap on a non-VTEC 6th gen (D16Y7 → D16Y8), the VTEC control wire must be run from the solenoid to the ECU pin A1.

Fix: Run a wire from the VTEC solenoid (GRN/YEL) to ECU pin A1. The VTC Oil Pressure Switch (BLU) must also be connected to ECU pin A17. A P2P ECU (from a manual EX/Si) or a chipped OBD1 ECU with a conversion harness is required.

DIY Projects — 6th Gen Quick Wiring References

Aftermarket Radio Install

Use the stereo wiring table above. Battery: BLU/WHT · ACC: YEL/RED · Ground: BLK. Metra 70-1721 harness adapter is recommended.

K-Swap / B-Swap Wiring

B-Series swaps require proper harness routing. Key pins: A1 (VTEC), A4 (fuel pump), A6/A7 (ignition). For OBD2 compliance, use an OBD2 ECU with the correct harness. OBD1 conversion requires emissions consideration.

VTEC Wire Install

Run wire from VTEC solenoid (GRN/YEL) to ECU pin A1. Run VTC oil pressure switch (BLU) to ECU pin A17. Verify the ECU supports VTEC (P2P for D16Y8, P2T for B16A2).

Aftermarket Gauge Install

Boost gauge: tap MAP sensor signal (WHT, 0–5V) or install a 3-bar MAP. AFR gauge: O2 sensor signal (WHT on primary O2). Power: YEL/RED (ACC) and BLK (ground).

❓ 6th Gen Civic Wiring — Frequently Asked Questions

1. Where is the ECU located on a 6th gen Civic?

The ECU is located behind the passenger side kick panel (right side, under the glove box). Remove the plastic kick panel trim for access. The ECU part number is printed on the housing.

2. What ECU does a 6th gen Civic EX use?

The 1996-2000 Civic EX with D16Y8 engine uses ECU 37820-P2P-Axx for manual transmission. Automatic transmission uses a different revision (P2P-A31 and up).

3. What are the O2 sensor wire colors on a 6th gen Civic?

Harness side colors: WHT (sensor signal), GRN/BLK (sensor ground), BLK/YEL (heater power), BLK/WHT (heater ground).

4. How do I fix a 6th gen Civic that cranks but won’t start when hot?

This is commonly caused by the main relay (PGM-FI relay). Cracked solder joints can fail when hot. Remove the relay, open the plastic cover, and re-solder the cracked joints on the circuit board, or replace it with a new OEM relay.

5. What is the radio wiring harness adapter for a 6th gen Civic?

The 6th gen Civic uses a Honda 10-pin and 6-pin connector. Compatible harness adapters include Metra 70-1721 and Scosche HA08B.

6. What are the ground locations on a 6th gen Civic?

Key grounds: G101 (intake manifold — ECU ground), G201 (Radiator Support), G401 (transmission ground strap), G501 (under dash, right of steering column).

7. Can I put a B-series engine in a 6th gen Civic?

Yes — B-series swaps are common. A B-series ECU (P2T for B16A2, P72 for GSR), conversion harness, and proper wiring for VTEC and VTC will be required. Emissions compliance varies by location.

8. What wire is the VTEC solenoid on a 6th gen Civic?

The VTEC solenoid wire is GRN/YEL and connects to ECU pin A1. If the ECU does not support VTEC, the solenoid will not engage.

9. Where is the main relay on a 6th gen Civic?

The main relay (PGM-FI relay) is located under the dashboard, above the driver’s side kick panel. It is a green or black box with a 7-pin connector.

10. Where can I find the wiring diagrams for my 6th gen Civic?

The Honda factory service manual contains complete wiring diagrams. The 6th gen wiring diagrams are widely available on Honda enthusiast forums and through Honda service information portals.

💡 Pro Tip: The 6th gen Civic electrical system is well-documented but aging. The main relay and the fender harness are two of the most common failure points. Carrying spare fuses and a multimeter is recommended. Use soldered connections with heat shrink for all splices.

Sources: Honda factory service manual (1996–2000), Electrical Troubleshooting Manual (ETM), and verified against real-world owner experience from 6th Gen Civic forums. Wire colors and pin assignments may vary by trim, market, and optional equipment. Always verify with a multimeter before cutting or splicing wires.