P0040 Code – Oxygen Sensor Signals Swapped (Bank 1 Sensor 1 / Bank 2 Sensor 1)
P0040 is an OBD-II diagnostic trouble code indicating that the Engine Control Module (ECM) has detected that the signal wires for the upstream oxygen sensors on Bank 1 and Bank 2 are reversed or crossed. This usually occurs after engine or exhaust repairs.
Code Meaning
P0040 – Oxygen Sensor Signals Swapped Between Bank 1 Sensor 1 and Bank 2 Sensor 1
Symptoms
- Check Engine Light illuminated.
- Poor fuel economy.
- Rough idle.
- Reduced engine performance.
- Increased exhaust emissions.
Possible Causes
- Oxygen sensor connectors swapped during repair.
- Incorrect wiring between Bank 1 and Bank 2 sensors.
- Damaged wiring harness.
- Faulty oxygen sensor.
- ECM software issue (rare).
Sensor Location
Bank 1 Sensor 1 and Bank 2 Sensor 1 are the upstream oxygen sensors located before the catalytic converters on each cylinder bank.
How to Diagnose
- Confirm DTC P0040 with an OBD-II scanner.
- Inspect the oxygen sensor connectors to ensure they are connected to the correct sensors.
- Compare wiring colors and connector routing.
- Monitor live data from both upstream oxygen sensors.
- Repair any damaged wiring or replace faulty sensors if necessary.
Common Repairs
- Reconnect the oxygen sensor connectors correctly.
- Repair crossed or damaged wiring.
- Replace a faulty oxygen sensor.
- Clear the code and perform a road test.
Can You Drive with P0040?
The vehicle can usually be driven for a short period, but incorrect oxygen sensor signals can cause poor fuel control, increased emissions, and reduced engine efficiency. Repair is recommended as soon as possible.
Related OBD-II Codes
- P0030 – HO2S Heater Control Circuit (Bank 1 Sensor 1)
- P0050 – HO2S Heater Control Circuit (Bank 2 Sensor 1)
- P0130 – O2 Sensor Circuit Malfunction (Bank 1 Sensor 1)
- P0150 – O2 Sensor Circuit Malfunction (Bank 2 Sensor 1)