To make aftermarket auto parts an afterthought.
Add your vehicle
Login
Cart
Item
$0.00
Add your vehicle to ensure fitment/Choose a yearRequired Fields
Select a different vehicle
Make/Model
VIN

BMW 540i Oxygen Sensors

55 items

Shop best-selling oxygen sensors for Ford, Chevy, Honda, Nissan, Toyota, and more. Direct-fit O2 sensors with fast response, improved MPG, and reliable emissions performance.

  • All filters
  • Sort By
  • Year
  • Price
  • Placement on Vehicle
  • Brand
  • Warranty
1997-2003 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 4-Pc Direct-Fit | Heated | A-Premium APOS01821997-2003 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 4-Pc Direct-Fit | Heated | A-Premium APOS0182
A-Premium®Part # APOS0182
1997-2003 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 4-Pc Direct-Fit | Heated | A-Premium APOS0182
4.5712 Reviews
$106.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity4
Installation PositionUpstream & Downstream
Item LocatedUnited States
ConditionNew
item #10049YWK
Show less
2024-2025 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | A-Premium APOS2192
A-Premium®Part # APOS2192
2024-2025 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | A-Premium APOS2192
4.5712 Reviews
$34.99
Low stock: Only 4 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i xDrive: 2024 2025
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Installation PositionDownstream
Item LocatedUnited States
ConditionNew
item #10192RH6
Show less
2017-2020 BMW 540i xDrive Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0735
A-Premium®Part # APOS0735
2017-2020 BMW 540i xDrive Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0735
4.5712 Reviews
$67.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #1003299W
Note
Oxygen Senor - B1S1 Indicates Bank 1 Sensor 1.
Show less
2017-2020 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0766
A-Premium®Part # APOS0766
2017-2020 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0766
4.5712 Reviews
$35.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionDownstream
Item LocatedUnited States
ConditionNew
item #100327CS
Note
O2 Sensor - B1S2 Indicates Bank 1 Sensor 2.
Show less
1994 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS100
A-Premium®Part # OS100
1994 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS100
4.5712 Reviews
$28.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits 1994 BMW 540i
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #10031DRY
Note
【Note-1】 For 1994 BMW 530i, it fits the model built To 06/1994 and Manual Transmission, not Automatic Transmission.
【Note-2】 For 1994 BMW 540i, it fits the model built To 3/1994.
【Note-3】 For BMW 1995 M3 & 1992, 1994-1995 325is, it fits Automatic Transmission, not Manual Transmission.
【Note-4】 For 1995 BMW M3, it fits Cyl 1-3 or 4-6.
Show less
1997-2003 BMW 540i O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS182
A-Premium®Part # OS182
1997-2003 BMW 540i O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS182
4.5712 Reviews
$26.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionCheck the fitment chart
Item LocatedUnited States
ConditionNew
item #1012RCTU
Note
O2 Sensor - B1S2 Indicates Bank 1 Sensor 2.
Show less
2017-2020 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0735
A-Premium®Part # APOS0735
2017-2020 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0735
4.5712 Reviews
$67.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #100327SU
Note
Oxygen Senor - B1S1 Indicates Bank 1 Sensor 1.
Show less
2017-2020 BMW 540i Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0766
A-Premium®Part # APOS0766
2017-2020 BMW 540i Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium APOS0766
4.5712 Reviews
$35.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionDownstream
Item LocatedUnited States
ConditionNew
item #100329RA
Note
O2 Sensor - B1S2 Indicates Bank 1 Sensor 2.
Show less
1994 BMW 540i Upstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium APOS0841
A-Premium®Part # APOS0841
1994 BMW 540i Upstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium APOS0841
4.5712 Reviews
$55.99
Low stock: Only 5 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits 1994 BMW 540i
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #10049Z4S
Note
【Note-1】 For 1994 BMW 530i, it fits the model built To 06/1994 and Manual Transmission, not Automatic Transmission.
【Note-2】 For 1994 BMW 540i, it fits the model built To 3/1994.
【Note-3】 For 1995 BMW M3, it fits Cyl 1-3 & 4-6 & Automatic Transmission, not Manual Transmission.
Show less
1997-2003 BMW 540i O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium OS006
A-Premium®Part # OS006
1997-2003 BMW 540i O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium OS006
4.5712 Reviews
$54.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity2
Installation PositionCheck the fitment chart
Item LocatedUnited States
ConditionNew
item #10136X70
Show less
1997-2003 BMW 540i Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium OS122
A-Premium®Part # OS122
1997-2003 BMW 540i Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Heated | A-Premium OS122
4.5712 Reviews
$52.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity2
Installation PositionDownstream
Item LocatedUnited States
ConditionNew
item #10136YYN
Show less
1997-2003 BMW 540i O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS004
A-Premium®Part # OS004
1997-2003 BMW 540i O2 Oxygen Sensor | 1-Pc Direct-Fit | Heated | A-Premium OS004
4.5712 Reviews
$27.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Installation PositionCheck the fitment chart
Item LocatedUnited States
ConditionNew
item #1012RC02
Show less
1997-2003 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 4-Pc Direct-Fit | Aisin OXSBM-00125
AisinPart # OXSBM-00125
1997-2003 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 4-Pc Direct-Fit | Aisin OXSBM-00125
4.5712 Reviews
$129.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity4
Installation PositionUpstream & Downstream
Item LocatedUnited States
ConditionNew
item #1018GCD0
Show less
2017-2020 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSBM-00160
AisinPart # OXSBM-00160
2017-2020 BMW 540i Upstream & Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSBM-00160
4.5712 Reviews
$129.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity2
Installation PositionUpstream & Downstream
Item LocatedUnited States
ConditionNew
item #1018G88S
Show less
2017-2020 BMW 540i xDrive Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00159
AisinPart # OXSBM-00159
2017-2020 BMW 540i xDrive Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00159
4.5712 Reviews
$97.99
Low stock: Only 4 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i xDrive: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #1018G9T7
Show less
2017-2020 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00147
AisinPart # OXSBM-00147
2017-2020 BMW 540i xDrive Downstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00147
4.5712 Reviews
$43.99
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i xDrive: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Installation PositionDownstream
Item LocatedUnited States
ConditionNew
item #1018GDQN
Show less
Spectra Premium OS5006 Oxygen Sensor
Spectra PremiumPart # OS5006
Spectra Premium OS5006 Oxygen Sensor
4.45 Reviews
$26.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits 2004-2006 BMW X3, 2003-2005 BMW Z4, 2003-2005 Land Rover Range Rover, 2003-2003 BMW 325Ci, 2003-2003 BMW 325i, 2003-2003 BMW 330Ci, 2003-2003 BMW 330i, 2003-2003 BMW Z8, 2002-2003 BMW X5, 2001-2006 BMW X5, 2001-2005 BMW 320i, 2001-2005 BMW 325xi, 2001-2005 BMW 330xi, 2001-2004 BMW X5, 2001-2003 BMW 525i, 2001-2003 BMW 530i, 2001-2003 BMW Z8, 2001-2002 BMW 325Ci, 2001-2002 BMW 325i, 2001-2002 BMW 330Ci
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Item LocatedUnited States
Part interchange
OS5006, 751973, 752356, 753278, SG1705T, SG1517T, SG1108T, SG1096T, 
...View more
item #1000YD4N
Show less
2017-2020 BMW 540i xDrive Upstream & Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSBM-00160
AisinPart # OXSBM-00160
2017-2020 BMW 540i xDrive Upstream & Downstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSBM-00160
4.5712 Reviews
$129.99
Low stock: Only 2 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i xDrive: 2017 2018 2019 2020
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity2
Installation PositionUpstream & Downstream
Item LocatedUnited States
ConditionNew
item #1018GASZ
Show less
1994 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00115
AisinPart # OXSBM-00115
1994 BMW 540i Upstream O2 Oxygen Sensor | 1-Pc Direct-Fit | Aisin OXSBM-00115
4.5712 Reviews
$43.99
Low stock: Only 4 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits 1994 BMW 540i
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity1
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #1018GCAE
Show less
1997-2003 BMW 540i Upstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSAZ-00165
AisinPart # OXSAZ-00165
1997-2003 BMW 540i Upstream O2 Oxygen Sensor | 2-Pc Direct-Fit | Aisin OXSAZ-00165
4.5712 Reviews
$97.99
Low stock: Only 3 left
Enter ZIP codeFree standard shipping
3-year warranty
90 days free return
Fits BMW 540i: 1997 1998 1999 2000 2001 2002 2003
Add Trim and Engine info to ensure a guaranteed fit
Vehicle: BMW 540i
Quantity2
Installation PositionUpstream
Item LocatedUnited States
ConditionNew
item #1018GAKW
Show less
Page 1 of 3

Your vehicle’s oxygen sensor (also known as O2 sensors) plays a critical role in engine performance, fuel efficiency, and emissions control. By continuously measuring the amount of unburned oxygen in the exhaust, the oxygen sensor sends real-time feedback to your engine control unit (ECU), ensuring the perfect air-fuel mixture.

When an oxygen sensor fails, your engine essentially runs “blind,” leading to poor fuel economy, rough idling, reduced performance, and a persistent check engine light. A timely front oxygen sensor replacement or replacement of a faulty upstream oxygen sensor or downstream oxygen sensor can restore optimal driving conditions and help you pass emissions tests with ease.

 

Why Choose A-Premium Oxygen Sensors?

Unlike universal parts that require cutting and splicing wires, A-Premium O2 sensors are engineered for direct plug-and-play installation.

  • OEM-style connectors for seamless fit
  • Pre-coated anti-seize threads for easy installation
  • Laser-welded body construction for durability
  • High-temperature sintered coating for long service life
  • Premium insulation sheathing and impact-resistant design
  • Slotted guard tube for sensor protection
  • High heat dissipation structure for extreme environments

 

Advanced Performance & Precision

A-Premium oxygen sensor technology ensures fast, accurate, and stable performance:

Performance & Response

  • ≤200ms fast response time
  • High-efficiency oxygen sensing
  • Zirconia sensing element
  • Real-time signal feedback

Precision & Control

  • Real-time exhaust tracking
  • Accurate combustion control
  • Stable signal output

Efficiency & Engine Benefits

  • Improved fuel efficiency
  • Enhanced engine performance
  • Reduced harmful emissions
  • Extended engine lifespan

Environmental Adaptability

  • Operating range: -40°F to 266°F
  • Air-tight sealing design
  • Stable performance under harsh conditions

 

3 Symptoms of a Bad Oxygen Sensor

Because O2 sensors operate in extreme heat and carbon-rich environments, they naturally degrade over time.

  • Check Engine Light (CEL): Common codes include P0135, P0171, and P0420. These often point to issues with an upstream oxygen sensor or oxygen sensor bank 1.
  • Poor Fuel Economy: A faulty oxygen sensor may cause a rich fuel mixture, dramatically lowering MPG. 20-40% worse fuel economy overnight.
  • Rough Idle & Stalling: Incorrect readings from your downstream oxygen sensor or upstream sensor can disrupt engine stability.
  • Rotten egg smell: Catalytic converter overheating from bad fuel mixture

 

Understanding O2 Sensor Positions: Upstream vs Downstream

Modern vehicles may have multiple oxygen sensor units, making it essential to identify the correct one:

  • Oxygen Sensor Bank 1vs Bank 2 
    • oxygen sensor bank 1 refers to the side of the engine with Cylinder #1
    • Bank 2 is the opposite side
  • Upstream Oxygen Sensor(Sensor 1) 
    • Located before the catalytic converter
    • Controls air-fuel ratio
    • Most common need for front oxygen sensor replacement
  • Downstream Oxygen Sensor(Sensor 2) 
    • Located after the catalytic converter
    • Monitors emissions system efficiency

Tip: Always match your diagnostic code to the correct upstream oxygen sensor or downstream oxygen sensor before purchasing.

 

Complete Your Emissions Repair

Replacing your oxygen sensor is often part of a larger emissions system fix. Consider inspecting these related components:

 

Shop by Popular Makes

To help you quickly find the right oxygen sensor, explore our most popular vehicle-specific options:

Browse our most searched and best-selling vehicle-specific oxygen sensor options to quickly locate the right fit for your car.

Related Blogs

P0137 Code: What Causes It, and How Do You Fix It?

Fix P0137 (O2 Sensor Low Voltage) by diagnosing wiring, exhaust leaks, or lean conditions before replacing parts. Learn step-by-step testing for Bank 1 Sensor 2 to avoid unnecessary repairs and ensure accurate fixes.

Dec 02, 2026

What to Do After Replacing an Oxygen Sensor

After replacing an oxygen sensor, verify fitment and wiring, then clear codes with a scanner. Avoid battery disconnection. Complete the drive cycle to reset monitors, rescan for readiness, and troubleshoot if the Check Engine Light returns.

Nov 24, 2026

How Do You Disconnect a Stuck O2 Sensor Connector?

Disconnect stuck O2 sensor connectors by pushing housings together to relieve latch tension before pressing the release tab. Avoid pulling wires. Learn step-by-step techniques for secondary locks, tight seals, and corrosion without damaging the harness.

Nov 19, 2026

Broken O2 Sensor Wires: Repair or Replace the Sensor?

Diagnose broken O2 sensor wires accurately. Learn to distinguish harness vs. sensor lead damage, choose between repair or replacement, and apply correct splicing methods. Avoid unnecessary sensor swaps with this step-by-step guide.

Nov 18, 2026

P0421 Code: What It Means and How to Fix It

P0421 indicates Bank 1 warm-up catalyst inefficiency. Don't just replace parts; diagnose exhaust leaks, sensor faults, and engine issues first. Follow our step-by-step guide to fix it correctly and avoid unnecessary costs.

Nov 18, 2026