BMW X5 O2 Sensor: Bank and Position Guide Before You Buy
12 min read · by Ryan Caldwell · Last updated: November 28, 2026
The best BMW X5 O2 sensor is the one for the exact bank and position your trouble code names, bought in the factory type for your engine.
An X5 can have several sensors across two banks, and the sources reviewed here do not agree on every engine layout, so confirm the position with the service information before you order a part.
Best BMW X5 O2 sensor choices by position
Match the sensor to the position first, then choose the type. The table sets out the three positions most owners meet on a multi-bank engine, with the job each one does and what to confirm before you buy.
| Position | Job it does | Tradeoff | Confirm before buying |
|---|---|---|---|
| Bank 1, sensor 1 (upstream) | Reads the exhaust before the catalytic converter for fuel control | Often the hardest to reach, so access may cost more labor | Engine code, connector shape and cable length |
| Bank 1, sensor 2 (downstream) | Reads the exhaust after the catalytic converter to check its work | A fault here does not always mean the converter has failed | Whether the car has a sensor 3 on the same bank |
| Bank 2 sensors (opposite side) | Same job as bank 1 on the other side of the engine | Can sit in a different place, so the access route differs | The bank the code names, not the side you assume |
The table groups sensors by position, not by brand. The sources reviewed for this guide do not name a sensor brand for the X5 that they can confirm, so this guide does not name one. Check the listing against the position and the connector on your old sensor before you pay.

X5 O2 sensor listings to compare
These listings name the X5 in their titles, covering a paired upstream and downstream set and a downstream-only sensor. Before buying, confirm the bank and position from your code, then check the model year, engine and part number against the listing.
For 3.0L X5, 2007-2013: MAXFAVOR upstream/downstream
- Type
- Oxygen sensor, upstream/downstream
- Pack size
- 2 pieces
- Fits
- BMW 128i/135i/323i/328i/330i/335i and more
- Part numbers
- 234-5138, 234-4892
Suits owners of listed BMW models from 2007 to 2013 with a 3.0L engine who need a matched upstream and downstream oxygen sensor pair for cylinders 4, 5, and 6. The set is listed with reference numbers 234-5138 and 234-4892, so matching those numbers to the original part is a practical first step. Confirm with the maker which sensor position fits your specific vehicle, as the listing covers many BMW models and years.
- Two-piece set with upstream and downstream sensors
- Lists both original reference numbers
- Covers multiple BMW models and years
- Fitment depends on exact model and year
- Cylinder-specific, so position must be checked
For E53 X5 sets: E46/E39/E53 O2 sensor pair
- Type
- Oxygen sensor set
- Position
- Upstream + downstream
- Pack contents
- 1 upstream + 1 downstream
- Fits
- BMW E46, E39, E53, E83, X3, X5
This two-sensor oxygen kit suits owners of listed BMW models who need upstream and downstream replacements. It covers E39, E46, E53, E83, X3, X5, Z3, and Z4 models, along with 323i through 530i variants. Compare your model and engine against the list before ordering. Confirm exact fitment, model years, and connector compatibility with the maker, since the product name does not give year ranges.
- Upstream and downstream sensors in one set
- Covers multiple BMW models across E39, E46, and E53
- Listed engine variants include 323i through 530i
- Fitment depends on exact model year and engine
- No model years given; confirm fitment with maker
For post-cat sensor 2: Downstream 250-241027 O2
- Part type
- Downstream O2 oxygen sensor
- Fits
- BMW X1, X3, X4, X5, Z4, 228i, 328i, 428i, 528
- OE number
- 11787589122
- Cross refs
- 250-241027, 234-4562, 350-34229
This downstream oxygen sensor is aimed at owners of select BMW SUVs, coupes and sedans, including the X1, X3, X4, X5, Z4 and the 228i, 320i, 328i, 428i and 528i. It is cross-referenced to several part numbers, including OE 11787589122, which makes matching it to your old sensor easier. Before ordering, confirm your model year and engine, and compare the part number against the one on your current sensor.
- Downstream (post-catalytic converter) position sensor
- Covers a wide range of BMW models
- Lists OE and multiple cross-reference part numbers
- Fitment varies by model year and engine, so verify first
- Downstream only; upstream sensors are a separate part
How this list was built
The positions above come from a Bosch technical page on oxygen sensors, plus owner reports on BMW forums. The Bosch page is a manufacturer source for the general rules, and the forum reports are one owner’s experience, so they are marked as unverified where they appear.
The first criterion is the sensor’s place in the exhaust. Bosch’s oxygen sensor tech tips state that sensor 1 is the upstream sensor, that sensor 2 is generally after the catalyst, and that bank 1 is the bank containing cylinder 1. Those three rules decide which part a code points to.
The second criterion is how the part is fitted. The same Bosch page warns that wiring damage during installation matters, because the sensor needs a clean reference air sample, and that chemicals on the connector or the sensor can cause permanent damage. Those two points rule out some shortcuts that owners try, and they shape the install steps below. If the repair calls for new parts, Best O2 Sensors for BMW X5 can help you choose.
Finding the sensor on your X5 engine
Start with the bank, not the side of the car. Bank 1 is the bank that contains cylinder 1, so the bank number follows the engine’s cylinder layout rather than the left or right side you see from the driver’s seat. Confirm which bank holds cylinder 1 in the service information for your engine before you crawl under the car.
Owner reports on a BMW forum describe two access routes. On one 4.4 V8, an owner wrote that the sensors cannot be reached from the top, and that they sit about an inch past the coupling where the exhaust manifold bolts to the catalytic converter. Another owner, on a 3.0 L M54, said the pre-cat sensors are in the engine bay and can be removed from above. Both reports are one owner’s experience, not a BMW document, so treat them as a guide to what to expect.
Bosch recommends checking the vehicle service manual first, and if that is not available, using a cylinder-number or firing-order diagram to confirm which sensor is which. A wrong guess here means buying a part for the wrong position, so take the time to check.

Upstream and downstream on a multi-bank engine
Each bank can carry more than one sensor. Bosch notes that on a three-sensor bank, sensor 2 sits on the catalyst and sensor 3 sits after it. A two-sensor bank has an upstream sensor 1 and a downstream sensor 2, so the code has to name the position before you can pick the part.
In most closed-loop systems the upstream sensor is the one that drives fuel control, and a fault there usually shows as an irregular fuel trim or a lean or rich reading in live data. The downstream sensor mostly tells you whether the catalyst is doing its job. A fault in the downstream sensor alone does not always mean the catalytic converter is finished, so check the readings before you assume the worst.
The reference on OBD-II PIDs lists sensors in the order B1S1, B1S2, B2S1 and B2S2 for a two-bank engine. Your scanner should show the bank and sensor for each code, which matches that order and tells you which part to buy.
Why one code is not always the sensor
A sensor code can come from the sensor, the wiring, the heater circuit, an exhaust leak ahead of the sensor, or a fuel mixture problem that the sensor is only reporting. One forum owner who replaced a part on the strength of a single code later found a different code had appeared, and advised logging codes with an ELM-327 adapter, fixing repeat faults and ignoring one-off codes.
Look at the freeze frame and the live data before you buy. A heated sensor that is slow to warm, or one that stays at one voltage, points toward the sensor or its heater. A sensor that switches normally but reports a fault may be reacting to a mixture problem, so the sensor may be fine.
- Save the stored codes and the freeze frame data before you clear anything.
- Note the bank and sensor number, and confirm them against the service information for the engine.
- Watch the upstream sensor voltage at idle and under a light load, and compare it with the downstream reading.
- Check for an exhaust leak ahead of the sensor, and for damage to the connector and harness, before you order.

Handling and installing the new sensor safely
Handle the new sensor by its body, and keep the tip clean. Bosch notes that dark discoloration on the protection tube of its sensors is normal from manufacturing, so do not reject a sensor for that alone. Oil, grease or cleaner on the tip or the connector is a different matter, because it can damage the sensor permanently.
Dielectric grease is a common habit, but Bosch warns that grease and other chemicals in the connector or on the sensor can cause permanent damage. Keep the connector dry and clean, and follow the sensor maker’s instructions if they cover the thread compound or anti-seize. Do not use a product that the instructions do not list for the sensor.
Check the harness before you reconnect. A stretched or chafed wire can read as a bad sensor, and it can also let outside air into the reading. Route the wire clear of the exhaust heat and any moving parts, and make sure it has no tension at the connector. If the steps here do not match your trim, Toyota Sienna O2 Sensor may be closer.
Learning the new sensor after the swap
Many cars need the new sensor learned by the control unit before the readings settle. Bosch says clearing codes does not start that process, but a battery disconnect of about 5 minutes often does. Some owners clear the code and expect the car to know the sensor, and the light then returns after a drive.
Disconnecting the battery also resets radio presets and other settings, so have the radio code ready if your car needs one. Reconnect the battery terminals firmly, and check that the car starts and runs before you drive it.
After the learning step, drive a normal cycle with a warm-up and a steady cruise, then read the codes again. A clean read with the new sensor and normal live data is the outcome you want. If the code returns, the next checks are the exhaust leak, the wiring and the catalytic converter.
What normal live data looks like
The reference on oxygen sensors describes a narrow-band zirconia sensor that outputs about 0.2 V for lean and 0.8 V for rich, with an ideal setpoint near 0.45 V. A healthy upstream sensor should swing across that range while the engine is in closed loop. The downstream sensor should move far less, because the catalyst evens out the exhaust.
Heated sensors need to reach about 316 C (600 F) to read correctly, so a slow-to-switch reading on a cold engine is not always a fault. Check the reading again after the engine is fully warm. The OBD-II PID reference lists sensor voltage and short-term fuel trim through PIDs 14 to 1B, which is what most scanners show as oxygen sensor live data.
| Reading | Likely meaning | What to do next |
|---|---|---|
| Upstream switches around 0.45 V | Sensor is working in closed loop | Check the downstream reading and the fuel trim |
| Upstream stuck at one voltage | Dead sensor, heater fault or wiring | Test the heater circuit and connector first |
| Downstream copies the upstream swing | Catalyst may not be doing its job | Confirm with the code and the freeze frame |
Common mistakes on an X5 O2 sensor job
The first mistake is buying by the car name alone. An X5 has changed engines across years, and the bank and sensor count can change with the engine, so the code and the service information decide the part.
The second mistake is clearing the code before saving the freeze frame. The freeze frame shows the engine speed, load and temperature when the fault set, which helps you decide whether the sensor is at fault. Once the code is cleared, that record may be gone.
The third mistake is skipping the learning step. A new sensor that the car has not learned can give readings that look wrong, and an owner can mistake that for a second bad part. Plan the battery disconnect and the drive cycle into the job.
The fourth mistake is ignoring the exhaust. A leak ahead of the upstream sensor lets outside air in, and the sensor reads that air as lean. A new sensor will not fix that, so inspect the manifold and flanges before you fit the part. The steps change slightly by model, as Nissan Frontier O2 Sensor shows.
When this guide does not apply
This guide does not give a part number, a torque figure or a sensor location for a specific X5 model year and engine, because the sources reviewed here do not confirm those values for every engine. Where the owner’s manual or a BMW service document gives a figure, use that figure instead.
The access notes come from forum reports and are not a BMW document. They describe one 4.4 V8 and one 3.0 L M54, so an inline-six or a newer engine may differ. A hybrid X5 has a different drive system and is outside this guide.
Frequently Asked Questions
Which X5 O2 sensor do I need, bank 1 sensor 1 or sensor 2?
Buy the sensor for the bank and number your code names. Sensor 1 is the upstream sensor before the catalytic converter, and sensor 2 is the downstream sensor after it. Confirm the bank in the service information first.
Are the pre-cat sensors hard to reach on an X5?
Owner reports differ by engine. One V8 owner said the sensors cannot be reached from the top and must be reached from underneath, while a 3.0 L M54 owner said they can be removed from above. Check the access for your engine before you buy tools.
Do I need a scan tool after replacing an X5 O2 sensor?
Often yes. Bosch notes that many vehicles need a learning step after installation, and a battery disconnect of about 5 minutes often triggers it. Clearing codes alone does not start that process.
Why did the code come back after the new sensor?
The sensor may not have been learned, or the cause may be an exhaust leak, wiring damage or a fuel mixture fault that the sensor reports. Save the freeze frame, check the live data and look for leaks before you buy another part.
Should I replace both bank sensors together?
Only if the readings show both are faulty. Replacing a working sensor wastes money and can add a new install risk. Compare the two banks in live data first, and replace the sensor that the data and code point to.
Can grease or cleaner on the sensor cause damage?
Yes. Bosch warns that dielectric grease, cleaners and other chemicals in the connector or on the sensor can cause permanent damage, so keep those products away from the sensor and the connector.
For most X5 owners, the safe route is to confirm the bank and position, check the leak and wiring, install the sensor cleanly and let the car learn it before you judge the result.
-
Ryan Caldwell, Vehicle Research Editor at BestOBD2Picks Ryan cross-references manufacturer data, NHTSA records, and owner reports to show which scan tools and procedures fit your specific vehicle. Vehicle Research Editor
Related guides
Scanners by VehicleBMW X5 Battery Size by Model Year and Generation
Scanners by VehicleBMW X5 Check Engine Light: Causes, Codes and What to Do
Scanners by VehicleBMW X5 ABS Light: Find the Fault and Restore Braking Assistance
Scanners by VehicleBMW X5 Ignition Coil: Choose the Right Replacement for Your Engine
Scanners by VehicleBMW X5 Traction Control Light: Causes, Diagnosis and Fixes
Scanners by VehicleChevy Bolt 12V Battery: Choose the Right AGM Replacement