Best O2 Sensors for Mazda CX-5: Position, Generation and Buying Guide
12 min read · by Marcus Reed · Last updated: November 28, 2026
The best O2 sensors for Mazda CX-5 are the ones that match the sensor position, the heater type and the generation of your car. Find the position first, because an upstream sensor and a downstream sensor do different jobs and are not interchangeable.
Oxygen sensors feed the engine computer with exhaust data, so a weak sensor affects fuel economy, emissions and drivability. This guide sorts the sensor types, shows how the CX-5 generations differ, explains the common causes of early failure and gives a buying and test checklist.
Best O2 sensors for Mazda CX-5 by position and heater
The table sorts sensors by where they sit and whether they carry a heater. Pick the row that matches the position you are replacing, then confirm the wire count and connector against the old sensor.
| Sensor type | Job in the system | Typical wiring | Main check |
|---|---|---|---|
| Upstream heated sensor (before the converter) | Sets the fuel mixture the engine computer aims for | Usually four wires: two signal, two heater | Live voltage swings when the engine is warm |
| Downstream heated sensor (after the converter) | Lets the computer check the converter | Usually four wires: two signal, two heater | Reading steadier than the upstream sensor |
| Unheated sensor (older designs) | Works only after the exhaust is hot | One or two wires | Soot on the ceramic element is the usual fault |
CX-5 oxygen sensors that list your model
These listings name the Mazda CX-5 in their fitment, split by upstream and downstream position. Before ordering, confirm your model year, engine size and sensor position, and compare the part number against your old sensor or the vehicle coverage list.
For 2013-2017 upstream position: 234-5059 sensor
- Part number
- 234-5059
- Position
- Upstream
- Fits
- Mazda 3, 6, CX-5; 2.0L and 2.5L
- Also listed as
- PE01188G1, PE01188G1A
This upstream O2 sensor suits owners of Mazda 3, Mazda 6, and CX-5 models with 2.0L or 2.5L engines. It is listed under part number 234-5059 and also PE01188G1 and PE01188G1A, which may help with cross-referencing. Before buying, confirm the exact year range (Mazda 3 2014-2018, Mazda 6 2014-2017, CX-5 2013-2017) against your vehicle and check the sensor's wire harness connector matches your car.
- Upstream position clearly identified
- Covers Mazda 3, 6, and CX-5 models
- Two engine sizes, 2.0L and 2.5L, listed
- Year ranges differ by model, so verify each
- Multiple reference numbers; confirm match with original
For 2019-2021 upstream position: 250-25101 sensor
- Part type
- Upstream O2 oxygen sensor
- Fits
- Mazda 3, 6, CX-5, CX-9, MX-5 Miata
- Engines
- 2.0L and 2.5L
- Part numbers
- 250-25101, 234-5063, PE07188G1
This upstream oxygen sensor is a replacement option for owners of select Mazda models, including the Mazda 3 (2012-2013), Mazda 6 (2018-2021), CX-5 (2019-2021), CX-9 (2016-2021) and MX-5 Miata (2016-2018). It covers 2.0L and 2.5L engines and cross-references several part numbers, which helps when matching an existing sensor. Before buying, confirm your exact model year, engine size and sensor position against your current part number.
- Covers several Mazda models across multiple model years
- Lists multiple cross-reference part numbers for easy matching
- Suits both 2.0L and 2.5L engines
- Upstream position only, so it won't replace a downstream sensor
- Fitment varies by model year, so check part number before ordering
For downstream, 2013-2021 CX-5: 250-241074 sensor
- Part number
- 250-241074 / 250241074
- Part type
- Downstream O2 oxygen sensor
- Position
- Bank 1 Sensor 2 (B1S2)
- Fits
- Mazda CX-5, 3, 6, CX-9
This downstream oxygen sensor suits Mazda owners chasing a post-catalytic converter sensor fault on a CX-5, Mazda3, Mazda6 or CX-9. It is listed under part numbers 250-241074 and 250241074 and sits in the Bank 1 Sensor 2 position. The year range is given as 2013 through 2021, with some years typed inconsistently, so confirm your exact model year, engine and sensor location against the maker's fitment guide before ordering.
- Matches part numbers 250-241074 and 250241074
- Covers four Mazda models: CX-5, 3, 6 and CX-9
- Downstream B1S2 position for post-catalyst monitoring
- Fitment varies by year and engine, so verification is needed
- Only suits the downstream B1S2 position, not upstream sensors
For downstream, 2.0L or 2.5L: 234-4583 sensor
- Part type
- Downstream oxygen (O2) sensor
- Part number
- 234-4583 (2344583)
- Fits
- Mazda CX-5 2013-2024, CX-9 2019-2023
- Engines
- 2.0L L4 and 2.5L L4
This downstream oxygen sensor is a replacement part for owners of select Mazda CX-5 and CX-9 models with 2.0L or 2.5L four-cylinder engines. It carries part number 234-4583 and cross-references to PE021886ZA, 234-8082 and 250-241074, which helps when matching against your old sensor. The CX-5 2.5L is covered only for 2014-2016 and 2019-2021, so confirm your exact engine and model year before ordering.
- Cross-references several part numbers, including PE021886ZA and 250-241074
- Covers CX-5 2.0L across 2013-2024 model years
- Also fits CX-9 2.5L L4 for 2019-2023
- CX-5 2.5L fitment is limited to specific years, with gaps
- Downstream position only; it does not replace an upstream sensor
How this guide picks O2 sensors
No brand is ranked here. The pages read for this guide describe how oxygen sensors work and fail in general, and they do not list the sensor part numbers for the CX-5. A brand ranking would be a guess, so the guide ranks by position, heater type and generation instead. Best O2 Sensors for Ford Flex covers the same job on another model.
The reference on oxygen sensors on Wikipedia covers the sensor role, the heating element and the common failure causes. The rest of the guide uses those facts and the CX-5 model history.
Which CX-5 generation you have changes the fit
The CX-5 has three generations, and each one has a different engine lineup. The Wikipedia entry on the CX-5 lists the first generation (KE) from 2012 to 2017, the second (KF) from 2016 to 2025 and the third (KM) from 2025, with model years 2026 onward. Each generation changed the engines and the exhaust layout, so the sensor match starts with the generation.
- First generation (KE, model years 2013 to 2016): 2.0-liter and 2.5-liter SkyActiv-G petrol engines, plus a 2.2-liter SkyActiv-D diesel.
- Second generation (KF, model years 2017 to 2025): 2.0-liter and 2.5-liter SkyActiv-G engines, a 2.5-liter turbo added for model year 2019, and a 2.2-liter diesel in some markets.
- Third generation (KM, model years 2026 on): 2.5-liter SkyActiv-G only in the reference, with a mild-hybrid version in some markets.
The engine decides the sensor count and the exhaust route, not only the generation. A diesel and a petrol engine use different exhaust systems, and a turbo engine runs a different exhaust temperature. Match the sensor to the engine size, model year and emissions label, not only to the model name.

Why the sensors come in pairs
The engine computer needs two signals to control the mixture and check the converter. According to the Wikipedia oxygen sensor entry, new vehicles must have a sensor before and after the catalyst, and the main sensor sits after the exhaust manifold and before the converter.
The upstream sensor measures the oxygen difference between the exhaust and the outside air. The computer uses that signal to adjust fuel delivery. A lean mixture gives a low voltage, a rich mixture gives a high voltage, and the ideal setpoint is about 0.45 volts. The downstream sensor is not used for the fine fuel control, but it lets the computer compare the converter’s output with its input.
Heated sensors and why warm-up matters
A sensor works only when it is hot. The Wikipedia entry says the sensors begin to work effectively at about 316 C, or 600 F. Most newer probes have a heating element built into the ceramic to reach that temperature quickly. Without a heater, the warm-up can take several minutes, which is why older designs read poorly on short trips.
Wiring tells you a lot. A typical heated probe has four wires, two for the signal and two for the heater. Some heated sensors use three wires. Older unheated sensors used one or two. A replacement with a different wire count will not plug in correctly, and a sensor with the wrong heater design can read late after a cold start. The steps change slightly by model, as Best O2 Sensors for Nissan Maxima shows.
Symptoms of a failing CX-5 oxygen sensor
A failing sensor often shows up as a dashboard sensor light, poorer fuel economy and rough running. The Wikipedia entry lists the common symptoms, and they overlap with several other faults, so the sensor is a suspect rather than a verdict.
- A dashboard sensor light, which may come with a stored fault code.
- Higher fuel consumption than the car used to return.
- Hesitation on acceleration, or a stumble when the engine is under load.
- Stalling, or rough idling after a cold start.
- Higher tailpipe emissions, which an inspection may catch even when the car drives normally.
These symptoms also come from misfires, vacuum leaks and fuel delivery faults. Confirm the sensor with live data before you buy, because a new sensor will not fix a vacuum leak. A failing converter can also disturb the downstream reading, which is why both sensors matter during a test.

Test the sensors before you order
Connect an OBD-II scanner and read the live data for both sensors with the engine warm. The upstream signal should swing as the computer adjusts the mixture, and the downstream signal should be steadier if the converter is working. A flat or slow upstream signal points to the sensor or its heater. A downstream signal that mirrors the upstream one points to the converter, as the OBD-II monitoring described in the Wikipedia entry works.
Check the heater circuit as well. A heater that never warms the sensor can leave the computer in open loop for a long time, which shows up as poor fuel economy and emissions. If the scan tool can show heater status, use it. If it cannot, a visual check of the connector and wiring still catches broken pins and corroded terminals.
What shortens an oxygen sensor’s life
The Wikipedia entry names several common causes. On an unheated sensor, soot builds up on the ceramic element and the sensor fails. On a heated sensor, the catalyst can be depleted, and leaded fuel or silicone and silicate contamination can damage the element. Each cause points to a different repair, so the cause matters as much as the part. For a wider view of the same system, see Mazda CX 5 O2 Sensor.
- Soot on an unheated element, usually from a rich mixture or misfire.
- Catalyst depletion, which can follow a long run of misfires or a rich fault.
- Leaded fuel, which is rare on modern cars but still worth ruling out on an older or imported vehicle.
- Silicone or silicate contamination, which can follow a coolant or sealant problem near the engine.
A new sensor placed on a rich-running engine will fail again quickly. Fix the misfire or the rich fault first, then fit the sensor.
Who should buy which sensor
The right sensor depends on the position, the generation and the reason for the job. A downstream failure after a converter replacement is a different job from an upstream sensor that reads flat.
- Upstream sensor reads flat on a stock engine: buy a heated sensor that matches the position and wire count.
- Downstream sensor mirrors the upstream one after a new converter: check the new converter for a fault before you fit another sensor.
- Owner who wants the factory fit: an original-equipment sensor costs more, but it keeps the calibration and connector the car expects.
- Budget repair on an older car: an aftermarket heated sensor can work well when the part number and wiring match.
A sensor that fits the connector but sits in the wrong bung will read the exhaust at the wrong point. Check the thread size, the bung position and the sensor length against the old part.
Buying checklist for CX-5 oxygen sensors
Use this list to check any sensor listing before you order. Every point can be checked on the listing or the old part.
- The listing names the position, upstream or downstream, and the engine size and model years.
- The wire count and connector match the old sensor, including the heater pins.
- The thread size, length and bung position match when you compare the parts side by side.
- The sensor is heated, unless the original was an unheated design.
- The seller gives a written warranty and a return window that covers a wrong fit.
Avoid a bargain sensor with no part number on the box. A sensor you cannot identify is hard to return, and it can read wrong without setting a code.
What the CX-5 manual does and does not list
The 2024 US CX-5 owner’s manual maintenance table lists spark plugs and disc brakes at several intervals, with kilometers and months as the units. The page read does not list an oxygen sensor replacement interval, so this guide does not give one. Sensors are usually replaced when a fault or failed test calls for it.
No sensor part number, heater resistance, wire color or torque value is stated here, because the sources read did not give them for the CX-5. Those details belong to the owner’s manual or a parts catalog for your exact engine. Parts quality varies a lot, and Best O2 Sensors for Mazda CX-9 explains what to look for.
Replacement outline for CX-5 oxygen sensors
This outline is general. The sensor socket size, the torque and the exact location depend on the engine and exhaust layout, so use the service manual for your car.
- Let the exhaust cool before you work near a sensor, because the bung and sensor stay hot for a long time.
- Unplug the sensor connector and confirm the wire count matches the new part.
- Use an oxygen sensor socket, which has a slot for the wire, and turn the sensor out slowly.
- Clean the bung threads and compare the new sensor’s thread compound with the manufacturer’s instruction before fitting.
- Thread the new sensor by hand first, then tighten it to the manual value.
- Route the wire clear of the exhaust and reconnect the connector until it clicks.
- Clear the codes and drive through a warm-up cycle, then recheck the live data.
An exhaust sensor that is seized can break in the bung. If the sensor will not turn, or any step is unclear, have a shop remove it. A broken bung usually means exhaust work, which costs more than the sensor itself.
Frequently Asked Questions
Do I need the upstream or the downstream O2 sensor?
It depends on the code and the live data. The upstream sensor sits before the converter and controls the mixture. The downstream sensor sits after it and checks the converter. Read both signals before you choose the position.
Do I need a sensor that matches my CX-5 generation?
Yes, in practice. The generation, engine and exhaust layout change the sensor count and the connector. Match the sensor to the engine size, model year and the position it sits in, not only to the model name.
Why is the check engine light still on after a new sensor?
The stored code may not clear until the car completes a drive cycle, or the cause sits upstream of the sensor. Misfires, vacuum leaks and a failing converter can keep a sensor code active. Clear the code, then drive the car and recheck the live data.
How do I test an O2 sensor before buying one?
Read the live data with a scanner while the engine is warm. A healthy upstream signal swings as the mixture changes. A flat or slow signal points to the sensor or its heater, and a downstream signal that mirrors the upstream one points to the converter.
Are cheap oxygen sensors reliable?
Some are, but the price alone does not tell you the build or the fit. Look for a part number that matches your engine, a heated design when the original was heated, and a written warranty. A sensor with the wrong wire count will not work at all.
Why does an O2 sensor fail on a car with clean fuel?
Fuel quality is only one cause. Soot from rich running, catalyst depletion and silicone contamination from a coolant or sealant problem can all damage a sensor. Fix the underlying fault, or the new sensor can fail the same way.
Choose the sensor by position, wire count and generation, then test the live data before the order. A matched sensor on a healthy engine gives a clean signal and a cleaner emissions result.
-
Marcus Reed, Garage Gear Researcher at BestOBD2Picks Marcus compares garage and diagnostic gear using manufacturer specs, independent test data, and long-term owner feedback. Garage Gear Researcher
Related guides
Garage ToolsBest Brake Pads for Mazda CX-5: Generation, Material and Fit Guide
Garage ToolsBest O2 Sensors for Mazda CX-9: Position, Type and Buying Checklist
Garage ToolsBest Battery for Mazda CX-30: Group Size, CCA and AGM Guide
LearnP2096 Mazda CX-5: Find the Cause and Fix the Lean Code
Scanners by VehicleMazda CX-9 Spark Plugs: Find the Right Fit for Every Engine
Garage ToolsBest Refrigerant Leak Detectors on Amazon for Accurate AC Leak Detection