⚠️ 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.
| Code | Color | Common Function (6th Gen) |
|---|---|---|
| BLK | Black | Chassis ground — always ground |
| WHT | White | Sensor signal / ECU input / Constant 12V in stereo harness |
| BLU | Blue | VTEC solenoid / VTC oil pressure / Right front speaker (+) in stereo harness |
| RED | Red | Switched 12V (ignition/accessory) / Headlight low beam (+) / Right front speaker (+) depending on harness |
| YEL | Yellow | Starter signal / Ignition output |
| GRN | Green | Sensors / ECU signals / Injector ground / Left front speaker (+) |
| ORN | Orange | Dash illumination / Dimmer |
| PNK | Pink | Fuel pump relay control |
| GRY | Gray | Speed sensor / CAN bus / Left front speaker (-) or rear left (-) |
| BRN | Brown | Dash 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.
| Function | Wire Color | Notes |
|---|---|---|
| Battery (+12V Constant) | BLU/WHT | Always powered — for stereo memory |
| Accessory (12V Switched) | YEL/RED | Ignition switched — turns stereo on/off with key |
| Ground | BLK | Chassis ground — also G501 location under dash |
| Illumination / Dimmer | RED/BLK | Dims 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:
| Engine | ECU Part Number | Notes |
|---|---|---|
| D16Y8 (EX / Si) | 37820-P2P-Axx | VTEC — manual transmission |
| D16Y7 (DX / CX / LX) | 37820-P2E-Axx | Non-VTEC |
| D16Y5 (HX) | 37820-P2N-Axx | VTEC-E economy |
| B16A2 (Si / EM1) | 37820-P2T-Axx | DOHC 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.
| Pin | Function | Wire Color |
|---|---|---|
| A1 | VTEC Solenoid Valve | GRN/YEL |
| A4 | Fuel Pump Relay | PNK |
| A6 | Ignition Output — Cyl 1 | YEL |
| A7 | Ignition Output — Cyl 3 | WHT |
| A8 | Main Relay (ECU Power) | YEL/BLK |
| A13 | ECU Power (+12V) | WHT |
| A16 | ECU Ground | BRN/BLK |
| A18 | ECU Ground | BLK/RED |
| A17 | VTC 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.
| Function | Wire Color (Harness Side) | Notes |
|---|---|---|
| Sensor Signal | WHT | ECU input — pin location varies by ECU |
| Sensor Ground | GRN/BLK | ECU signal ground reference |
| Heater Element Power | BLK/YEL | Switched 12V from main relay |
| Heater Element Ground | BLK/WHT | Chassis 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 Code | Location | What It Grounds |
|---|---|---|
| G101 | Intake manifold / engine block | ECU reference ground — most critical. A loose G101 connection can cause ECU damage during starting. |
| G201 | Radiator support / firewall | Body electronics, headlights, cooling fans |
| G401 | Transmission housing ground strap | Starter motor return — often overlooked after clutch replacements |
| G501 | Under dashboard, right of steering column | Stereo, interior lighting, dash electronics |
Headlight Wiring — 6th Gen
Factory halogen headlight connector — 3-pin. Useful for retrofitting LED or HID headlights.
| Function | Wire Color |
|---|---|
| Low Beam (+) | RED |
| High Beam (+) | WHT |
| Ground | BLK |
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
Use the stereo wiring table above. Battery: BLU/WHT · ACC: YEL/RED · Ground: BLK. Metra 70-1721 harness adapter is recommended.
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.
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).
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.

