P0040

O2 Sensor Signals Swapped Bank 1 Sensor 1/ Bank 2 Sensor 1

Powertrain Generic (OBD-II Standard) Diagnostic Assistant Available

Code Definition

P0040 — O2 Sensor Signals Swapped Bank 1 Sensor 1/ Bank 2 Sensor 1

System: Powertrain  |  Type: Generic (OBD-II Standard)  |  Make: Generic

About P0040

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.

Code Information

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...

Join TaT to view the complete code information and diagnostic details.

Possible Causes

Detailed possible causes for P0040 are available to TaT members.

Unlock with Free Trial

Diagnostic Assistant

Step-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

Quick Facts

CodeP0040
SystemPowertrain
TypeGeneric (OBD-II Standard)
MakeGeneric
CausesAvailable
Diag. AssistantAvailable
Video

Need Full Details?

Get complete diagnostic info, causes, and repair guidance.

Access the Full Fault Code Database

Search all 8,602 fault codes with complete diagnostic details, possible causes, and repair guidance.


© 2026 The Automotive Technician (TaT) — www.tat.net.au