Home / DTC / P0040 — 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

Detailed page for trouble code P0040.

33,912codes
59brands
11,451generic
22,461specific
Reset
Code

P0040

Generic P — Powertrain

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

Brand: Generic
Views: UK: 28 EN: 41 RU: 52
AI status
Completed
ready
Completed 100%
Page language: EN

Causes

  • Wiring harness connectors between Bank 1 and Bank 2 upstream O2 sensors swapped or misrouted
  • Aftermarket or replacement sensors installed in wrong positions
  • Previous harness repair with wires crossed or mis‑labelled
  • Connector pins pushed out, corroded, or miswired at the PCM/connector
  • Faulty ECU/PCM or incorrect PCM reprogramming (less common)
  • Faulty O2 sensor(s) with intermittent or out‑of‑spec output that confuses the monitor

Symptoms

  • Check Engine Light (MIL) illuminated
  • Poor fuel economy or rich/lean running
  • Failed emissions test
  • Rough idle or hesitation under load (if ECU fuel trim responds incorrectly)
  • Stored related OBD freeze frame data showing swapped bank readings

What to check

  • Read and record all stored codes and freeze frame data with a scan tool
  • Confirm vehicle bank layout and which sensor is Bank 1 Sensor 1 (B1S1) vs Bank 2 Sensor 1 (B2S1) from service information
  • Visually inspect O2 sensor locations to ensure sensors are installed in correct ports
  • Visually inspect wiring harness and connectors for signs of recent repair, pin swaps, corrosion, or melted insulation
  • Check for Technical Service Bulletins (TSBs) that mention harness/PCM changes or known harness routing issues

Signal parameters

  • Upstream (narrowband zirconia) O2 voltage range: approximately 0.1–0.9 V, switching around stoichiometric (~0.1–1.5 Hz depending on load)
  • Upstream sensor should show dynamic switching rich/lean at closed loop; both banks should show similar switching behavior when conditions are equal
  • Heater circuit resistance (typical zirconia): roughly 2–20 ohms (varies by sensor) — consult vehicle spec
  • Wideband sensors: output method varies (voltage or current); follow OEM specification if vehicle uses wideband (signal often 0–5 V or a mA reference)
  • Compare live waveform or voltage traces of B1S1 and B2S1 — if signals appear swapped, the waveforms will match opposite bank behavior

Diagnostic algorithm

  1. Verify code P0040 and record freeze frame and live data for B1S1 and B2S1
  2. Confirm exact physical locations of Bank 1 and Bank 2 upstream sensors per factory documentation
  3. Visually inspect connectors at both upstream sensors and at any splice/PCM connectors for swapped connections, damaged pins, or corrosion
  4. Backprobe the sensor signal wires at the sensor connector and at the PCM (if accessible) while engine is running and compare voltages/waveforms between B1S1 and B2S1
  5. If equipped, use an oscilloscope to compare waveforms: determine whether the waveform labelled B1S1 at the ECU matches the physically located sensor on Bank 2 (indicating a wiring swap)
  6. If swapping sensors is practical, swap the physical sensors between banks and see if the code or sensor behavior follows the sensor (if it follows sensor, sensor failure is suspect; if it follows wiring, harness/connector is miswired)
  7. Check heater circuit resistance and voltage supply to each upstream sensor; repair open/corroded heater circuits as needed
  8. Inspect and test PCM connector pins for continuity to the sensor connectors; repair any pin swaps or damaged wires
  9. After corrections, clear codes and perform drive cycle to confirm the code does not return
  10. If wiring and sensors check good and the code persists, consult manufacturer data for PCM faults and consider PCM testing/replacement as last resort

Likely causes

  • Connector/wiring swap during sensor replacement or harness repair
  • Sensors physically installed in the wrong locations
  • Damaged or miswired connector pins at PCM or harness splice

Fault status

⚠️ Status
ECU detected swapped or inconsistent upstream O2 sensor signals between Bank 1 Sensor 1 and Bank 2 Sensor 1. Inspect sensor locations, wiring, connectors, and sensor operation.
🟡 Repair difficulty: Medium
⏱️ Diagnostic time: 0.5 - 2.0 hours

Similar codes

6,463

The library contains 6,463 repair and diagnostic manuals. Choose a brand to open the full manual tree by year, model and trim.

Your experience will help others
+100 karma for a short comment :)
Send to email
Code

P0040

LAND ROVER P — Powertrain

Oxygen sensor signals swapped - bank 1, sensor 1 / bank 2, sensor 1

Views: UK: 13 EN: 15 RU: 24
AI status
Completed
ready
Completed 100%
Page language: EN

Causes

  • Wiring harness connectors between Bank 1 and Bank 2 upstream O2 sensors swapped or misrouted
  • Aftermarket or replacement sensors installed in wrong positions
  • Previous harness repair with wires crossed or mis‑labelled
  • Connector pins pushed out, corroded, or miswired at the PCM/connector
  • Faulty ECU/PCM or incorrect PCM reprogramming (less common)
  • Faulty O2 sensor(s) with intermittent or out‑of‑spec output that confuses the monitor

Symptoms

  • Check Engine Light (MIL) illuminated
  • Poor fuel economy or rich/lean running
  • Failed emissions test
  • Rough idle or hesitation under load (if ECU fuel trim responds incorrectly)
  • Stored related OBD freeze frame data showing swapped bank readings

What to check

  • Read and record all stored codes and freeze frame data with a scan tool
  • Confirm vehicle bank layout and which sensor is Bank 1 Sensor 1 (B1S1) vs Bank 2 Sensor 1 (B2S1) from service information
  • Visually inspect O2 sensor locations to ensure sensors are installed in correct ports
  • Visually inspect wiring harness and connectors for signs of recent repair, pin swaps, corrosion, or melted insulation
  • Check for Technical Service Bulletins (TSBs) that mention harness/PCM changes or known harness routing issues

Signal parameters

  • Upstream (narrowband zirconia) O2 voltage range: approximately 0.1–0.9 V, switching around stoichiometric (~0.1–1.5 Hz depending on load)
  • Upstream sensor should show dynamic switching rich/lean at closed loop; both banks should show similar switching behavior when conditions are equal
  • Heater circuit resistance (typical zirconia): roughly 2–20 ohms (varies by sensor) — consult vehicle spec
  • Wideband sensors: output method varies (voltage or current); follow OEM specification if vehicle uses wideband (signal often 0–5 V or a mA reference)
  • Compare live waveform or voltage traces of B1S1 and B2S1 — if signals appear swapped, the waveforms will match opposite bank behavior

Diagnostic algorithm

  1. Verify code P0040 and record freeze frame and live data for B1S1 and B2S1
  2. Confirm exact physical locations of Bank 1 and Bank 2 upstream sensors per factory documentation
  3. Visually inspect connectors at both upstream sensors and at any splice/PCM connectors for swapped connections, damaged pins, or corrosion
  4. Backprobe the sensor signal wires at the sensor connector and at the PCM (if accessible) while engine is running and compare voltages/waveforms between B1S1 and B2S1
  5. If equipped, use an oscilloscope to compare waveforms: determine whether the waveform labelled B1S1 at the ECU matches the physically located sensor on Bank 2 (indicating a wiring swap)
  6. If swapping sensors is practical, swap the physical sensors between banks and see if the code or sensor behavior follows the sensor (if it follows sensor, sensor failure is suspect; if it follows wiring, harness/connector is miswired)
  7. Check heater circuit resistance and voltage supply to each upstream sensor; repair open/corroded heater circuits as needed
  8. Inspect and test PCM connector pins for continuity to the sensor connectors; repair any pin swaps or damaged wires
  9. After corrections, clear codes and perform drive cycle to confirm the code does not return
  10. If wiring and sensors check good and the code persists, consult manufacturer data for PCM faults and consider PCM testing/replacement as last resort

Likely causes

  • Connector/wiring swap during sensor replacement or harness repair
  • Sensors physically installed in the wrong locations
  • Damaged or miswired connector pins at PCM or harness splice

Fault status

⚠️ Status
ECU detected swapped or inconsistent upstream O2 sensor signals between Bank 1 Sensor 1 and Bank 2 Sensor 1. Inspect sensor locations, wiring, connectors, and sensor operation.
🟡 Repair difficulty: Medium
⏱️ Diagnostic time: 0.5 - 2.0 hours

Similar codes

320

Browse 320 LAND ROVER manuals: repair procedures, diagnostics, wiring diagrams, component locations, service data and Labor Times by year, model and trim.

LAND ROVER

Your experience will help others
+100 karma for a short comment :)
Send to email