Mazda Error Code P1138: How to Fix It

Medium 1-2 hours Low Severity Verified June 2026
Error Code
P1138
Brand
Mazda
Product Type
automotive
Severity
Low
DIY Difficulty
Medium
Estimated Fix Time
1-2 hours
Mazda error code P1138 indicates a lack of response from the downstream oxygen sensor (Bank 1, Sensor 2) showing a rich fuel mixture condition. This sensor monitors exhaust gases after the catalytic converter to ensure proper emissions control. While not immediately dangerous, this issue can affect fuel economy and emissions if left unaddressed.
Ad

Tools You'll Need

How to Fix Error Code P1138

  1. Turn off engine and ensure safety

    Exhaust components can be extremely hot and cause severe burns. Never work on hot exhaust systems.
  2. Connect OBD2 scanner and verify code

  3. Locate the downstream oxygen sensor

  4. Inspect sensor wiring and connections

  5. Test sensor voltage with multimeter

    Keep hands and tools away from moving engine parts and hot exhaust components.
  6. Check for exhaust leaks

  7. Replace oxygen sensor if faulty

    Only replace sensors when engine and exhaust are cool. Overtightening can damage exhaust threads.
  8. Clear codes and test drive

Parts You May Need

Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Downstream oxygen sensor
Check Price on Amazon
Exhaust gaskets
Check Price on Amazon
Ad

When to Call a Professional

Call a professional mechanic if you find multiple oxygen sensor codes, suspect catalytic converter problems, discover major exhaust leaks, or if the problem persists after sensor replacement. Complex fuel system issues causing rich conditions require professional diagnosis.

Frequently Asked Questions

Can I drive my Mazda with P1138 code?
Yes, you can drive short distances, but prolonged driving with P1138 can damage your catalytic converter and reduce fuel economy. Address the issue promptly to prevent more expensive repairs.
How much does it cost to fix Mazda P1138?
Oxygen sensor replacement typically costs $150-300 for parts and labor. However, if the catalytic converter is damaged due to prolonged rich conditions, repairs can cost $800-2000.
What causes oxygen sensors to fail?
Common causes include normal wear after 100,000+ miles, contamination from coolant or oil leaks, physical damage from road debris, and exposure to fuel additives or poor-quality gasoline.
Will P1138 cause my Mazda to fail emissions testing?
Yes, P1138 will typically cause your vehicle to fail emissions testing since it indicates the emissions control system is not functioning properly. The code must be resolved before passing inspection.
How do I prevent future oxygen sensor problems?
Use quality fuel, change engine oil regularly, fix exhaust leaks promptly, replace air filter as scheduled, and address engine problems quickly to prevent contamination of the oxygen sensors.