P0040
O2 Sensor Signals Swapped Bank 1 Sensor 1/Bank 2 Sensor 1
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
- Verify code P0040 and record freeze frame and live data for B1S1 and B2S1
- Confirm exact physical locations of Bank 1 and Bank 2 upstream sensors per factory documentation
- Visually inspect connectors at both upstream sensors and at any splice/PCM connectors for swapped connections, damaged pins, or corrosion
- 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
- 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)
- 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)
- Check heater circuit resistance and voltage supply to each upstream sensor; repair open/corroded heater circuits as needed
- Inspect and test PCM connector pins for continuity to the sensor connectors; repair any pin swaps or damaged wires
- After corrections, clear codes and perform drive cycle to confirm the code does not return
- 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
Similar codes
Brands with available manuals
The library contains 6,463 repair and diagnostic manuals. Choose a brand to open the full manual tree by year, model and trim.
P0040
Oxygen sensor signals swapped - bank 1, sensor 1 / bank 2, sensor 1
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
- Verify code P0040 and record freeze frame and live data for B1S1 and B2S1
- Confirm exact physical locations of Bank 1 and Bank 2 upstream sensors per factory documentation
- Visually inspect connectors at both upstream sensors and at any splice/PCM connectors for swapped connections, damaged pins, or corrosion
- 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
- 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)
- 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)
- Check heater circuit resistance and voltage supply to each upstream sensor; repair open/corroded heater circuits as needed
- Inspect and test PCM connector pins for continuity to the sensor connectors; repair any pin swaps or damaged wires
- After corrections, clear codes and perform drive cycle to confirm the code does not return
- 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
Similar codes
Manual library for LAND ROVER
Browse 320 LAND ROVER manuals: repair procedures, diagnostics, wiring diagrams, component locations, service data and Labor Times by year, model and trim.
LAND ROVER
-
LAND ROVER: 2022
-
Defender
- 90
- 90
- 90 S
- 90 S
- 90 V8
- 90 V8
- 90 V8 Carpathian Edition
- 90 V8 Carpathian Edition
- 90 X
- 90 X
- 90 X-Dynamic HSE
- 90 X-Dynamic HSE
- 90 X-Dynamic S
- 90 X-Dynamic S
- 90 X-Dynamic SE
- 90 X-Dynamic SE
- 110
- 110
- 110 S
- 110 S
- 110 SE
- 110 SE
- 110 V8
- 110 V8
- 110 V8 Carpathian Edition
- 110 V8 Carpathian Edition
- 110 X
- 110 X
- 110 X-Dynamic SE
- 110 X-Dynamic SE
- 110 XS Edition
- 110 XS Edition
-
Discovery
- R-Dynamic HSE
- R-Dynamic HSE
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Discovery R-Dynamic S
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Discovery R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Discovery R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Discovery R-Dynamic S
- S
- S
-
Discovery Sport
-
Range Rover
- Autobiography, 4.4L Eng VIN 7 · 4.4L Eng VIN 72022: Range Rover Autobiography
- Autobiography, 4.4L Eng VIN 7 · 4.4L Eng VIN 72022: Range Rover Autobiography
- Autobiography, 5.0L Eng VIN E · 5.0L Eng VIN E2022: Range Rover Autobiography
- Autobiography, 5.0L Eng VIN E · 5.0L Eng VIN E2022: Range Rover Autobiography
- 2022 Range Rover Base
- 2022 Range Rover Base
- First Edition
- First Edition
- HSE Westminster, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover HSE Westminster
- HSE Westminster, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover HSE Westminster
- HSE Westminster, 5.0L Eng VIN E · 5.0L Eng VIN E2022: Range Rover HSE Westminster
- HSE Westminster, 5.0L Eng VIN E · 5.0L Eng VIN E2022: Range Rover HSE Westminster
- SE, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover SE
- SE, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover SE
- SE, 4.4L Eng VIN 7 · 4.4L Eng VIN 72022: Range Rover SE
- SE, 4.4L Eng VIN 7 · 4.4L Eng VIN 72022: Range Rover SE
- SV
- SV
- SVAutobiography
- SVAutobiography
- SVAutobiography Dynamic
- SVAutobiography Dynamic
- SVAutobiography Dynamic Blk.
- SVAutobiography Dynamic Blk.
-
Range Rover Evoque
-
Range Rover Velar
- R-Dynamic HSE
- R-Dynamic HSE
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Range Rover Velar R-Dynamic S
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover Velar R-Dynamic S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Range Rover Velar S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2022: Range Rover Velar S
- S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover Velar S
- S, 3.0L Eng VIN U · 3.0L Eng VIN U2022: Range Rover Velar S
-
-
LAND ROVER: 2021
-
Discovery
- R-Dynamic HSE
- R-Dynamic HSE
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Discovery R-Dynamic S
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Discovery R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Discovery R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Discovery R-Dynamic S
- S
- S
-
Discovery Sport
-
Range Rover
- Autobiography, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Autobiography
- Autobiography, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Autobiography
- Autobiography Fifty Edition
- Autobiography Fifty Edition
- 2021 Range Rover Base
- 2021 Range Rover Base
- HSE, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover HSE
- HSE, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2021: Range Rover HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2021: Range Rover HSE
- HSE Westminster, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover HSE Westminster
- HSE Westminster, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover HSE Westminster
- HSE Westminster, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover HSE Westminster
- HSE Westminster, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover HSE Westminster
- SVAutobiography
- SVAutobiography
- SVAutobiography Dynamic
- SVAutobiography Dynamic
- SVAutobiography Dynamic Blk.
- SVAutobiography Dynamic Blk.
-
Range Rover Evoque
-
Range Rover Sport
- Autobiography, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport Autobiography
- Autobiography, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport Autobiography
- Autobiography, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover Sport Autobiography
- Autobiography, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover Sport Autobiography
- Autobiography Dynamic, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 5.0L Eng VIN E · 5.0L Eng VIN E2021: Range Rover Sport Autobiography Dynamic
- HSE Dynamic
- HSE Dynamic
- HSE Silver Edition, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport HSE Silver Edition
- HSE Silver Edition, 2.0L Eng VIN Y · 2.0L Eng VIN Y2021: Range Rover Sport HSE Silver Edition
- HSE Silver Edition, 3.0L Eng VIN K · 3.0L Eng VIN K2021: Range Rover Sport HSE Silver Edition
- HSE Silver Edition, 3.0L Eng VIN K · 3.0L Eng VIN K2021: Range Rover Sport HSE Silver Edition
- HSE Silver Edition, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Sport HSE Silver Edition
- HSE Silver Edition, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Sport HSE Silver Edition
- HST
- HST
- SE
- SE
- SVR
- SVR
- SVR Carbon Edition
- SVR Carbon Edition
-
Range Rover Velar
- R-Dynamic HSE
- R-Dynamic HSE
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Range Rover Velar R-Dynamic S
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Velar R-Dynamic S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Range Rover Velar S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2021: Range Rover Velar S
- S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Velar S
- S, 3.0L Eng VIN U · 3.0L Eng VIN U2021: Range Rover Velar S
-
LAND ROVER: 2020
-
Defender
- 90 First Edition
- 90 First Edition
- 110 First Edition
- 110 First Edition
- 110 HSE
- 110 HSE
- 110 S
- 110 S
- 110 SE
- 110 SE
- 110 X
- 110 X
- 110, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Defender 110
- 110, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Defender 110
- 110, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Defender 110
- 110, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Defender 110
-
Discovery
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery HSE
- HSE, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery HSE
- HSE, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery HSE
- HSE Luxury, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery HSE Luxury
- HSE Luxury, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery HSE Luxury
- HSE Luxury, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery HSE Luxury
- HSE Luxury, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery HSE Luxury
- Landmark
- Landmark
- SE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery SE
- SE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Discovery SE
- SE, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery SE
- SE, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Discovery SE
-
Range Rover
- Autobiography
- Autobiography
- Base, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Base
- Base, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Base
- Base, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Base
- Base, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Base
- HSE, 2.0L Eng VIN Y · 2.0L Eng VIN Y2020: Range Rover HSE
- HSE, 2.0L Eng VIN Y · 2.0L Eng VIN Y2020: Range Rover HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover HSE
- HSE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover HSE
- HSE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover HSE
- HSE, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover HSE
- HSE, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover HSE
- SVAutobiography
- SVAutobiography
- SVAutobiography Dynamic
- SVAutobiography Dynamic
-
Range Rover Evoque
-
Range Rover Sport
- Autobiography Dynamic, 2.0L Eng VIN Y · 2.0L Eng VIN Y2020: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 2.0L Eng VIN Y · 2.0L Eng VIN Y2020: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover Sport Autobiography Dynamic
- Autobiography Dynamic, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover Sport Autobiography Dynamic
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Sport HSE
- HSE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Sport HSE
- HSE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Sport HSE
- HSE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Sport HSE
- HSE, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover Sport HSE
- HSE, 5.0L Eng VIN E · 5.0L Eng VIN E2020: Range Rover Sport HSE
- HSE Dynamic
- HSE Dynamic
- HSE PHEV
- HSE PHEV
- HST
- HST
- SE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Sport SE
- SE, 3.0L Eng VIN K · 3.0L Eng VIN K2020: Range Rover Sport SE
- SE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Sport SE
- SE, 3.0L Eng VIN U · 3.0L Eng VIN U2020: Range Rover Sport SE
- SVR
- SVR
-
Range Rover Velar
- R-Dynamic HSE
- R-Dynamic HSE
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Range Rover Velar R-Dynamic S
- R-Dynamic S, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Range Rover Velar R-Dynamic S
- R-Dynamic S, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Range Rover Velar R-Dynamic S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Range Rover Velar S
- S, 2.0L Eng VIN X · 2.0L Eng VIN X2020: Range Rover Velar S
- S, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Range Rover Velar S
- S, 3.0L Eng VIN V · 3.0L Eng VIN V2020: Range Rover Velar S
- SVAutobiography Dyn.
- SVAutobiography Dyn.
-
