OBD-II Generic Error Code P0138: How to Fix It
Medium 45-90 minutes Medium Severity
Verified June 2026
- Error Code
- P0138
- Brand
- OBD-II Generic
- Product Type
- automotive
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 45-90 minutes
Ad
Tools You'll Need
- OBD2 scanner
- Digital multimeter
- O2 sensor socket (or crowfoot wrench)
- Ratchet and extension
- Anti-seize compound (if not pre-applied)
- Vehicle repair manual (optional)
How to Fix Error Code P0138
-
Safety First: Prepare Your Vehicle
Always disconnect the battery before working on oxygen sensors. The exhaust system can be hot; allow the engine to cool for at least an hour. -
Locate Bank 1 Sensor 2
-
Inspect Wiring and Connector
Do not pull on the wires directly; use the connector to disconnect. -
Check for Exhaust Leaks
Exhaust gases are toxic. Work in a well-ventilated area. -
Test the Oxygen Sensor with a Multimeter
Be careful of hot engine components and moving parts. -
Replace the Oxygen Sensor
Do not over-tighten; damage to the threads can occur. -
Clear the Code and Test Drive
Parts You May Need
Oxygen sensor (Bank 1 Sensor 2)
Check Price on Amazon
Exhaust gasket or clamp
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 2)
Check Price on Amazon
Exhaust gasket or clamp
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 2)
Check Price on Amazon
Exhaust gasket or clamp
Check Price on Amazon
Oxygen sensor (Bank 1 Sensor 2)
Check Price on Amazon
Exhaust gasket or clamp
Check Price on Amazon
Ad
When to Call a Professional
If you are not comfortable working near hot exhaust components or if the code persists after replacing the sensor, consult a professional mechanic. They can diagnose wiring issues, PCM problems, or catalytic converter failure.Frequently Asked Questions
Can I drive with code P0138?
Short distances are possible, but it's not recommended. Driving can cause poor fuel economy and potentially damage the catalytic converter over time.
What does 'Bank 1 Sensor 2' mean?
Bank 1 refers to the side of the engine containing cylinder #1. Sensor 2 is the downstream oxygen sensor located after the catalytic converter.
Will replacing the O2 sensor fix code P0138?
Often yes, but first check for exhaust leaks and wiring issues. A faulty sensor is a common cause of this code.
How much does it cost to fix P0138?
DIY replacement can cost $50-$150 for the sensor plus tools. Professional repair typically runs $150-$400 including labor.
Can a bad catalytic converter cause P0138?
Yes, a clogged or failing catalytic converter can cause high voltage readings. But the code usually triggers a separate code for converter efficiency (e.g., P0420).