O2 Sensor Signals Swapped Bank 1 Sensor 1/ Bank 2 Sensor 1
P0040 — O2 Sensor Signals Swapped Bank 1 Sensor 1/ Bank 2 Sensor 1
System: Powertrain | Type: Generic (OBD-II Standard) | Make: Generic
P0040 is a generic (obd-ii standard) powertrain diagnostic trouble code. It belongs to the P-prefix family of codes, which covers engine, transmission, emissions, or fuel-system faults.
When P0040 is stored, the module has detected a bank-specific fault, meaning it applies only to one cylinder bank of a multi-bank engine; and a sensor-related fault — the reported value from the named sensor is out of spec.
Scanning & clearing: A generic OBD-II scan tool will usually read and clear powertrain (P) codes. For live data, freeze-frame capture, and bi-directional tests you may need a more capable scan tool that supports the vehicle's ECM protocol.
Because P0040 is a generic OBD-II code, its base definition is shared across manufacturers. The specific diagnostic steps, reference values, and repair procedures can vary by vehicle, and the TaT Diagnostic Assistant includes verified procedures submitted by working technicians.
DTC P0040 sets when the Engine Control Module determines that the signals from the two upstream oxygen sensors, bank 1 sensor 1 and bank 2 sensor 1, appear to be swapped between banks. The ECM confirms this by disturbing fuel delivery on one bank and watching which sensor responds; if the sensor on the opposite bank reacts, the signals are crossed. In practice this is almost always a wiring fault where the two upstream sensor connectors or their signal wires have been interchanged, often after a sensor replacement, rather than a failure of the sensors themselves. Because each bank is then trim...
Detailed possible causes for P0040 are available to TaT members.
Unlock with Free TrialStep-by-step diagnostic guidance for P0040 is available to TaT members. Our Diagnostic Assistant provides professional-level troubleshooting procedures written by experienced technicians.
Unlock with Free Trial| Code | P0040 |
| System | Powertrain |
| Type | Generic (OBD-II Standard) |
| Make | Generic |
| Causes | Available |
| Diag. Assistant | Available |
| Video | — |
Get complete diagnostic info, causes, and repair guidance.
Start Free 7-Day Trial Member LoginSearch all 8,602 fault codes with complete diagnostic details, possible causes, and repair guidance.
Start Your Free 7-Day Trial Member Login© 2026 The Automotive Technician (TaT) — www.tat.net.au