01 What Causes the Check Engine Light to Come On? • 02 Automotive Abbreviations: A Guide for Car Enthusiasts • 03 Unlocking the Power of Differential Lock: Traction, Problem… • 04 What Do Pilots Say When Crashing? The Truth Behind the Words • 05 How to Avoid Common Mistakes When Choosing Auto Parts • 06 Understanding the Intake Manifold: Operation, Indications o… • 07 Top Reasons 8 Your Key Won't Turn in the Ignition & Easy Fi… • 08 Airbag Failure in Mahindra Scorpio Leads to Death in Accide… • 09 Volvo's Diesel Exit: A Sign of the Times or a Mistake? • 10 The Dodge Durango Gets Darker For 2027 With New Paint •

DTC codes / BMW codes / P1187

P1187 · BMWO2 Sensor Heater Control Circuit Bank 2 Sensor 2

P1187 on BMW vehicles indicates that the engine control module has detected a problem with the heater circuit for the downstream oxygen sensor on bank 2, which is the sensor after the catalytic converter. The computer monitors the heater's electrical current and expects it to draw a specific amperage when commanded on; if the current is too low, too high, or absent, it sets this code.

SystemPowertrain
Code typeBMW specific
SeverityLow
Fix difficultyIntermediate
AreaFuel and air metering

Symptoms you may notice

  • Illumination of the check engine light, often with no other noticeable symptoms
  • Slightly higher fuel consumption due to the sensor not reaching operating temperature quickly
  • A pending or stored code that may cause the vehicle to fail an emissions inspection
  • In rare cases, a rough idle or hesitation when the engine is cold if the sensor feedback is affected
  • No drivability issues in most cases because the downstream sensor mainly monitors catalyst efficiency

Common causes, most likely first

  1. Failed oxygen sensor heater element inside the bank 2 sensor 2
  2. Open or shorted wiring in the heater circuit between the sensor and the engine control module
  3. Corroded or damaged electrical connector at the oxygen sensor
  4. Blown fuse that supplies power to the oxygen sensor heater circuit
  5. Faulty engine control module driver for the heater circuit (rare)
  6. Exhaust leaks or contamination that damage the sensor over time

How to diagnose and fix it

  1. Use a scan tool to verify the code and check for any related oxygen sensor or heater circuit codes
  2. Inspect the oxygen sensor connector and wiring for corrosion, damage, or loose pins
  3. Check the fuse that powers the oxygen sensor heater circuit and replace if blown
  4. Measure the resistance of the heater element across the sensor terminals and compare to specification
  5. Check for battery voltage at the heater supply wire with the key on and engine off
  6. Test the heater control wire for continuity and shorts to ground or power
  7. If all electrical checks pass, replace the bank 2 sensor 2 oxygen sensor and clear the code

Don't overlook the heater fuse and wiring

  • A blown fuse for the oxygen sensor heater circuit is a common cause that is often overlooked because the fuse may also power other components, so always check it first.
  • The heater element can fail intermittently, so a resistance check when the engine is cold may not reveal the fault; wiggle the harness and test again after warming the engine.
  • A P1187 code does not always mean the sensor is bad; corroded connector pins can mimic a failed heater and are a frequent misdiagnosis trap.
  • On some BMW models, the oxygen sensor heater circuit is shared with other emissions components, so a fault elsewhere can set this code.
  • Replacing the sensor without checking the heater circuit voltage can lead to a repeat failure if the root cause is a wiring short or a faulty control module.

Can I keep driving with P1187?

You can continue driving with this code because the downstream oxygen sensor heater mainly affects emissions and cold-start efficiency, not immediate safety. However, avoid long-term driving with the check engine light on, as it may mask other issues and will cause an emissions test failure.

Tools that help

Tools we recommend are in the Auto Veteran shop on Amazon. As an Amazon Associate we earn from qualifying purchases.

Guidance is general and written for BMW vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage