Skip to content

P0040

Powertrain
Moderate

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

What could P0040 mean for your vehicle?

Add your vehicle to explore possible causes and next checks. AI guidance helps you investigate; it does not confirm a diagnosis.

Next: review your vehicle and symptoms. Your code carries over. No account needed to start.

P0040 means the engine computer thinks the upstream oxygen sensor signals for bank 1 and bank 2 are crossed. It only applies to engines with two cylinder banks. The computer adds or removes fuel on one bank and watches which sensor reacts. If the sensor for the other bank responds, it sets P0040.

Almost every time, this follows oxygen sensor or exhaust work where the two sensor plugs were connected to the wrong sides. With the signals swapped, each bank is corrected using the other bank's reading, so fuel trims can swing to opposite extremes, one bank rich and the other lean, even though the sensors themselves are fine.

The engine may run rough and use more fuel. Check the sensor connectors and harness routing first. It is usually a cheap fix once found.

Severity

Moderate — Address SoonThis Week

Symptoms

  • •Check engine light on
  • •Rough idle or rough running
  • •Reduced power
  • •Lower fuel economy
  • •Fuel trims at opposite extremes on the two banks

Likely Causes

Upstream sensor connectors plugged into the wrong sidesMost common

This usually happens after oxygen sensor or exhaust work, when the bank 1 and bank 2 plugs are swapped.

Harness routed wrong or pins swapped in a connectorCommon

A wiring repair or replacement harness can cross the two signals.

Damaged or shorted sensor wiringLess common

Chafed wiring can make one sensor's signal show up on the other circuit.

Engine computer faulty or wrong calibrationLess common

Rarely, a replaced engine computer or wrong software assigns the sensors to the wrong banks.

Estimated Cost

DIY Repair

$0–$50
Difficulty

DIY Friendly

Shop OBD2 scanners

Professional Repair

$50–$250

Includes parts + labor

Common Fixes

  1. Check that the bank 1 and bank 2 upstream sensor connectors are plugged into the right sides
  2. Trace the harness and correct any crossed or misrouted wiring
  3. Repair damaged sensor wiring
  4. Clear the code and confirm the fuel trims settle

Shop Parts

Related Codes

Still have questions about P0040?

Continue with P0040

Next: add your vehicle and symptoms. Your code carries over.