Last Updated on November 18, 2026
The O2 sensor monitors the oxygen left in the exhaust after combustion. The engine computer uses the upstream sensor to see whether it needs to add or subtract fuel. To check that signal, look for a scanner that displays engine live data. A feature such as key programming functions is separate from oxygen sensor testing.
The short answer to “How to test O2 sensor with OBD2?” is to identify the sensor, then check its live data under the right conditions. A bad signal can affect fuel economy and emissions, but a leak or a wiring fault can cause the same symptoms. This guide shows how to use the OBD2 diagnostic scanner to narrow down the cause before buying a sensor.
Before you connect the tool, find out what type of oxygen sensor is fitted and whether you need to check the one before or after the catalytic converter. The same car can use a wideband sensor in one position and a conventional sensor in another.
What is an O2 sensor?
An oxygen sensor sits in the exhaust stream. An upstream sensor, usually called Sensor 1, helps the engine computer control the air-fuel mixture. A downstream sensor, usually Sensor 2, supplies information the computer uses to monitor the catalytic converter. Some vehicles also use downstream feedback for fuel control.
Choose a scanner that shows the oxygen or air-fuel data for the sensor you want to check. Basic models such as the Foxwell NT201 and Autel AutoLink AL319 can show supported live data and freeze frame. Check whether your tool can graph the parameter you need or display the vehicle’s onboard test results. A screen labeled O2 Monitor Test may show stored monitor results instead of a live voltage graph.
Bank 1 is the side of the engine that contains cylinder No. 1. Bank 2, when present, is the other side. B1S1 means Bank 1, Sensor 1, and B1S2 means Bank 1, Sensor 2. Use the vehicle’s service information to find the exact sensor if there are several converters or additional sensors. The bank number alone does not tell you which side to look at from the driver’s seat.
What are the different types of O2 sensors on the market?
Three common designs are narrowband zirconia, titania and wideband air-fuel ratio sensors. They respond to oxygen in the exhaust in different ways, so first check which reading your scan tool should display.
Zirconia sensors
A conventional narrowband zirconia sensor develops a voltage from the difference in oxygen between the exhaust and its reference air. It indicates whether the mixture is on the rich or lean side of the target. It can be heated or unheated.
Heated Zirconia sensors have an electrical heater that helps the sensing element reach operating temperature sooner. A heater fault can delay a usable reading, particularly just after a cold start. Check the heater circuit if the scanner shows a heater code.
Unheated Zirconia sensors rely on heat from the exhaust. A cold or cooling sensor may respond slowly, so test it under the conditions specified for the vehicle. Save the original codes and freeze frame before using a code-clearing procedure.
Related article: Easy steps you should follow to clear OBD2 codes without a scanner
Titania sensors
A titania sensor uses a ceramic element whose resistance changes with the oxygen in the exhaust. The engine computer supplies voltage to the circuit and reads the resulting signal.
The voltage range and which direction indicates rich or lean depend on the vehicle’s circuit. Look up that sensor’s specification. A narrowband zirconia test can lead you to the wrong conclusion on a titania sensor.
Wideband sensors
A wideband sensor, often called an air-fuel ratio or A/F sensor, measures across a wider range of mixtures. Its controller uses pump current, and the scan tool may display lambda, current, an air-fuel ratio or a manufacturer-scaled voltage. How to test O2 sensor with OBD2 on a wideband system: Select the parameter the manufacturer specifies. If the tool shows lambda, 1.00 is the chemically balanced point for the fuel. Below 1.00 is rich and above 1.00 is lean. If your screen says equivalence ratio or A/F voltage, check how the tool and vehicle define that reading before using those rules.
How to Test O2 Sensor With OBD2
Step 1: Connect the diagnostic OBD2 scan tool to your vehicle
With the ignition off, plug the scan tool into the vehicle’s diagnostic connector. If you are unsure where the code reader port is located, check the owner’s manual. It is usually under the driver’s side of the dashboard. Turn the ignition on and let the tool connect. Enter or confirm the vehicle details if the tool asks, then note any codes or freeze frame without clearing them.
Step 2: Start the engine and let it warm up
For a running test, park outdoors, set the parking brake and select Park or Neutral as appropriate. Start the engine and let it reach normal operating temperature. Look for Closed Loop in the fuel-system status during a steady idle or the conditions specified by the manufacturer. A cold start, fuel cut on deceleration or another open-loop condition can make a good sensor look flat. Keep clear of hot exhaust parts and moving components.
Step 3: Monitor the correct oxygen sensor reading
Open Live Data and select the bank and sensor named in the code or test procedure. Graph the oxygen sensor or A/F reading if your scanner supports it. Add engine speed, coolant temperature and the short-term and long-term fuel trims for the same bank if available. When learning how to test O2 sensor with OBD2 live data, watch just a few parameters at a time. Too many on the same screen can slow the refresh rate and hide quick changes.
For a conventional upstream zirconia sensor in warm closed-loop operation, the graph often moves from about 0.1 V on the lean side to about 0.9 V on the rich side. A wideband signal or a titania reading follows its own specification. A screenshot from a different vehicle can show a completely different pattern even when both sensors work properly. If the fault appears only under certain conditions, look at the freeze frame before comparing it with your current live data.
Related article: Easy explanation to understand and read OBD2 freeze frame data
Step 4: Watch how the O2 sensor reading changes
An upstream narrowband signal normally moves back and forth as the computer adjusts fuel. A flat or slow reading is a clue. Check the sensor type, loop status and scanner refresh rate before judging it. A consistently lean reading can reflect a real lean mixture or extra oxygen entering through an exhaust leak ahead of the sensor. A high reading can reflect a rich mixture. Neither reading on its own identifies the part that caused it.
The downstream graph generally changes more slowly than the upstream graph when a warmed-up converter is storing oxygen. It can still move as engine load changes. If two comparable signals closely track each other under the prescribed test conditions, check for exhaust leaks and follow the converter monitor procedure before drawing a conclusion. On supported vehicles, onboard monitor results in Mode 6 can add context. Those are results from tests the vehicle ran, with limits and labels that vary by model.
Step 5: Inspect the codes on the OBD2 scanner
Next, check the codes on the automotive diagnostic OBD2 scan tool and write down their status. A pending code records a fault detected by a monitor that has not yet met the conditions for a confirmed code. A stored or confirmed code can remain in memory even when the fault is no longer present. A supported permanent emissions code clears when the vehicle verifies the repair through its own monitoring.
Compare the code with the freeze-frame conditions and the current data. For example, a code set at warm idle can send you down the wrong path if you look only at a cold engine. The guide to pending, stored and permanent codes explains which information you can keep and what the vehicle needs to verify after repair. Clearing too early can erase freeze frame and reset emissions readiness.
Step 6: Diagnose the problem
Match the code to the sensor, then check the likely causes in the order given by the vehicle’s service information. Inspect the connector, wiring near the exhaust and possible leaks before replacing parts. If your basic reader does not show enough detail, an advanced OBDii scanner like Autel Maxidiag MD802 or an upgraded Launch X431 V+ device may offer more data on a supported vehicle. Check coverage for the exact year, engine and sensor.
How to Interpret O2 Sensor Codes
After following the steps under How to Test O2 Sensor With OBD2, use the scanner’s DTC lookup to identify the circuit or condition the computer detected. Compare both banks if the engine has two. Positive fuel trims mean the computer is adding fuel; negative trims mean it is removing fuel. For instance, strongly positive trims at idle that fall closer to normal as engine speed rises can point toward an intake leak. Check the vehicle’s normal trim range and confirm the cause before replacing a sensor.
P0130 and P0150 identify upstream oxygen sensor circuit faults on banks 1 and 2, respectively. P0131 and P0151 are low-input codes for those positions. P014C, P014F and P015B are examples of oxygen sensor response codes. Follow the exact definition for the sensor and the direction of response named by the code. P0171 and P0174 mean the system detected a lean condition on bank 1 or 2. Check for causes such as unmetered air, a fuel delivery problem or an exhaust leak before blaming the sensor.
Signs of a bad O2 sensor
A faulty upstream sensor can change how the engine runs, but the same symptoms can come from intake, ignition, fuel or exhaust problems. Use the symptoms below to decide what to inspect first. The full list of bad oxygen sensor symptoms gives more examples and other causes worth checking.
The check engine light comes on.
The check engine light of your car may come on for a sensor signal or heater circuit fault. Read the code even if the car feels normal. A check engine light can also come from an unrelated emissions fault, so start with the stored information.
Foul exhaust odor
An unusual exhaust smell can accompany rich running, a misfire or a converter problem. It does not identify the sensor. If exhaust is entering the cabin, stop driving and have the source checked.
Bad gas mileage
A poor upstream reading can lead the computer to adjust fuel incorrectly, and fuel economy may drop. Compare the fuel trims and the oxygen reading before replacing the sensor. A leaking injector or another source of a rich mixture can give a similar result.
Decreased vehicle performance
Rough idle or hesitation can occur when the mixture is off. Look at misfire codes, fuel trims and the sensor graph together. Follow the vehicle’s maintenance guidance for replacement intervals, and replace a sensor when the checks confirm it is faulty.
Summary
The most useful part of learning how to test O2 sensor with OBD2 is knowing what to compare. Use the correct sensor, warm the engine, save the codes and look at live data in context. An advanced professional OBD2 scanner can show more of the information on some vehicles, but the readings still need to be checked against the test procedure. After the repair, verify that the symptom is gone, the signal responds as expected and the relevant monitor runs without the fault returning.