Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All →
🎬 Helpful Videos 🛍️ Shop This Part

P0031 on 2008-2014 Mercedes-Benz C-Class: O2 Sensor Heater Circuit Causes and Fixes

P0031 on a W204 C-Class almost always means the upstream oxygen sensor on the passenger side (Bank 1) has a failed internal heater. Before replacing the sensor for $60-$150, check for damaged wiring near the exhaust and a blown fuse (often F59 in the engine bay fuse box), which are also common culprits.

17 minutes to read 2008-2014 Mercedes-Benz C-Class
Most Likely Cause
Failed Bank 1, Sensor 1 Oxygen Sensor
Difficulty
2/5
Est. Time
1 hrs
DIY Doable?
✅ Yes
Shop Labor
$120 – $350
Parts Price
$60 – $150
⚠️ Drivable, but... — Yes, you can drive the vehicle. However, you may experience reduced fuel economy and a rough idle when the engine is cold. The car will not pass an emissions test with this code active.
Key Takeaways
  • P0031 points to a fault in the heater circuit for the upstream oxygen sensor on the passenger side.
  • The most likely cause is a failed oxygen sensor, but you must inspect the wiring and fuse before replacing any parts.
  • Driving with this code is generally safe but will increase fuel consumption and cause you to fail an emissions test.
  • This is a DIY-friendly repair for those comfortable working with basic tools and a multimeter. An oxygen sensor socket is recommended.
  • Always use a quality replacement sensor from a brand like Bosch or Denso, as some aftermarket sensors can be unreliable.
The trouble code P0031 stands for 'HO2S Heater Control Circuit Low (Bank 1 Sensor 1)'. 'HO2S' is the Heated Oxygen Sensor, a key part of your emissions system. This sensor needs to warm up quickly to work correctly, so it has a built-in heater. This code means the engine's computer (ECM) has detected low voltage in the heater circuit for the specific sensor located on Bank 1 (the right-hand/passenger side on the longitudinally mounted M272 V6 engine) in the 'Sensor 1' position, which is upstream, before the catalytic converter.

What's Unique About the 2008-2014 Mercedes-Benz C-Class

For the W204 C-Class with the M272 engine, this code is fairly straightforward. However, owner experiences show it's critical to inspect the wiring harness leading to the sensor before replacing it. The wiring is routed near hot exhaust components and can become brittle and break, causing a short or open circuit that mimics a failed sensor. Simply replacing the sensor without checking the wiring can lead to the code returning immediately.

Symptoms You May Notice

  • Check Engine Light (CEL) is illuminated
  • Reduced fuel mileage
  • Rough or unstable idle, especially during cold starts
  • Vehicle may take longer than usual to enter 'closed-loop' fuel control
  • Failure to pass an emissions test
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the oxygen sensor without first testing the wiring and fuse. Several owners have reported replacing the sensor only to have the P0031 code return because the actual fault was in the wiring harness.

Most Likely Causes

  1. Failed Bank 1, Sensor 1 Oxygen Sensor 🔴 High Probability The internal heater element within the oxygen sensor is a common failure point over time due to constant heat cycles.
    How to confirm: Unplug the sensor and measure the resistance between the two heater circuit pins (often the two same-colored wires, e.g., white). A good sensor should have a resistance between 2 and 25 ohms when cold. An open circuit (infinite resistance) or a dead short (near zero ohms) indicates a failed heater element.
    Typical fix: Replace the Bank 1, Sensor 1 (passenger side, upstream) oxygen sensor.
    Est. part cost: $60-$150
  2. Damaged Wiring or Connector 🟡 Medium Probability The sensor wiring is located near the hot exhaust manifold, which can cause the insulation to become brittle, melt, or crack over time, leading to a short or open circuit.
    How to confirm: Visually inspect the entire wiring harness from the sensor to the main engine harness. Look for melted sections, frayed wires, or corrosion in the connector. A forum member with a 2008 C300 found wires that were damaged and barely making contact right at the connector junction.
    Typical fix: Repair the damaged section of the wiring harness or replace the connector pigtail.
    Est. part cost: $10-$50
  3. Blown Fuse for Heater Circuit ⚪ Low Probability A short circuit in the sensor's heater element or its wiring can cause the corresponding fuse to blow as a protective measure.
    How to confirm: Locate the front SAM (Signal Acquisition Module) in the engine bay. Check fuses related to the engine management and O2 sensors. Specific fuses to check include #4, #6, #25, and #27 in the front SAM, and fuse #42 in the rear (trunk) SAM. Visually 🎬 See this guide to locating O2 sensor fuses and relays inspect the fuse to see if it is blown.
    Typical fix: Replace the blown fuse. If the new fuse blows immediately, it confirms a short circuit exists in the wiring or the sensor itself.
    Est. part cost: $1-$5

Rare But Worth Checking

  • Faulty Engine Control Module (ECM): This is very rare. The internal driver circuit in the ECM that supplies power to the O2 sensor heater can fail. This should only be considered after all other possibilities (sensor, wiring, fuses) have been definitively ruled out by a professional.

Diagnosis Steps

  1. Read the code with an OBD-II scanner to confirm P0031 is the only code present.
  2. Locate Bank 1, Sensor 1. On the M272 V6, this is the passenger-side (right-hand) engine bank, and the sensor is the one located on the exhaust manifold before the catalytic converter.
  3. 🎬 Watch: How to identify Bank 1 and Bank 2 sensor locations
  4. Perform a thorough visual inspection of the sensor's wiring harness and connector. Look for any signs of melting, chafing, or corrosion. Pay close attention to where the harness is secured near the engine and exhaust, especially near the connector itself.
  5. Check the fuses for the O2 sensor heater circuit. Inspect fuses #4, #6, #25, and #27 in the front SAM (engine bay fuse box) and fuse #42 in the rear SAM (trunk fuse box). Replace if blown.
  6. If the fuse and wiring appear intact, disconnect the sensor. With the ignition key on and the engine off, use a multimeter to test for 12-volt power at the heater power pin on the vehicle's harness connector. A reading below 11V can indicate a wiring issue upstream.
  7. Test the ground circuit on the harness connector for continuity to chassis ground.
  8. If power and ground are good, test the sensor itself. Measure the resistance across the two heater pins on the sensor (typically the two wires of the same color). A reading between 2-25 ohms is expected. A reading of infinite resistance (open) or near-zero resistance (short) confirms the sensor has failed.
  9. If the sensor tests good but power is missing at the harness, the problem lies upstream in the wiring or, rarely, the ECM.

Parts You'll Likely Need

  • Oxygen Sensor (Bank 1, Sensor 1) (OEM #A0045426918 (or A0035426918)) — This is the most common failure for code P0031, as the internal heater element burns out. It is the upstream sensor on the passenger side.
    Trusted brands: Bosch (OEM supplier), Denso
    OEM price range: $120-$180
    Aftermarket price range: $60-$110

Mechanic-Grade Diagnostic Values

  • O2 Sensor Heater Element Resistance — expected: 2 to 25 Ohms (when cold). Failure: Near zero Ohms (short circuit) or infinite resistance / OL (open circuit).
  • Heater Circuit Power Supply (KOEO) — expected: Approx. 12V (Battery Voltage) at the harness connector pin for the heater.. Failure: A reading significantly below 11V, or 0V, indicates a problem in the wiring, fuse, or ECM driver.
  • Heater Circuit Voltage Drop — expected: Less than 0.5V difference between the ECM output pin and the sensor connector.. Failure: A voltage difference greater than 0.5V indicates excessive resistance in the wiring harness.
  • Live Data O2 Sensor Heater Voltage — expected: Should be above 11V while the engine is warm.. Failure: A value below 11V on the scan tool confirms a low-circuit condition.

Scan Tool Commands That Help

  • Mercedes-Benz Xentry/DAS: Actual Values Monitoring — While no direct bidirectional command exists to toggle the heater, a technician can use Xentry to monitor the 'Lambda control upstream/downstream of catalytic converter' values in real-time. After starting the engine, the tool should show the heater status as 'active' and the sensor voltage should respond accordingly. This confirms the ECM is attempting to control the heater and allows monitoring of the sensor's response, helping to differentiate between a sensor, wiring, or ECM issue.

Wiring & Ground Locations

  • Main Engine Ground Strap — Typically a braided strap running from the lower bell housing bolt on the driver's side to a mounting point on the chassis, near the steering box.. While not specific to the O2 sensor circuit, a corroded or loose main engine ground can cause a variety of unstable voltages and phantom electrical codes. Ensuring this ground is clean and tight is a critical step in diagnosing any persistent electrical issue.
  • O2 Sensor Heater Wires — Within the 4-wire or 6-wire connector for the Bank 1 Sensor 1 oxygen sensor.. On many Bosch sensors used by Mercedes, the two wires for the heater element are the same color (e.g., both white). This is the pair to use for resistance testing on the sensor side and voltage testing on the harness side.

Real Owner Repair Stories

  • MBWorld.org user 'Gormagon' (2008 Mercedes-Benz C300 Sport) — Check Engine Light with P0031 code.
    ❌ Tried (didn't work) Initial replacement of the Bank 1 Sensor 1 oxygen sensor did not resolve the issue.
    ✅ What actually fixed it A combination of three separate faults were found and fixed: 1) The replacement Bosch sensor was also faulty and had to be replaced again. 2) A blown fuse for the circuit was discovered and replaced. 3) The wiring harness near the sensor connector was found to have damaged wires held together by only a few strands, causing unstable voltage; this was repaired.

OEM Part Supersession History

  • A0035426918A0045426918 — Standard part revision and supplier update.
    Heads up: The parts are generally cross-compatible, but it is always best practice to use the latest revision (A0045426918) or a high-quality aftermarket equivalent like the Bosch 17016.

Model Year Variations Within This Range

  • 2008-2014: While the M272 engine itself had internal revisions (e.g., balance shaft materials pre-2009, timing chain tensioners updated in late 2008), the fundamental design of the O2 sensor heater circuit, its control by the Bosch ME 9.7 ECU, and the associated wiring remained consistent. Therefore, the diagnosis and repair of code P0031 does not significantly vary across the W204 model years with this engine.

Diagnostic Flowchart

P0031 indicates a low voltage/open circuit in the Bank 1 Sensor 1 heater. Start by confirming the code is isolated to avoid chasing secondary electrical faults caused by the M272's common wiring issues.
Locate the Front SAM (engine bay) and Rear SAM (trunk). Are fuses #4, #6, #25, #27 (Front) and #42 (Rear) intact?
Inspect the Bank 1 Sensor 1 (Passenger Side, Upstream) wiring. Are there signs of melting or brittle insulation near the exhaust manifold?
→ Repair the damaged harness section or replace the connector pigtail ($10-$50). Heat cycles on the W204 platform often make this insulation brittle over time.
Unplug the sensor. With Ignition ON/Engine OFF, does the harness connector show ~12V across the heater power pins?
Using a multimeter, measure resistance across the two heater pins (usually same-colored wires) on the sensor side. What is the reading?
→ The sensor heater is electrically sound. Re-clean the connector with electronic cleaner and check for 'pin fitment' issues where the terminals are loose. If the code persists, the ECU (Bosch ME 9.7) may be failing to ground the circuit.
→ The internal heater element has failed. Replace the Bank 1, Sensor 1 Oxygen Sensor ($60-$150). This is the most common failure for the M272 V6 at this age.
→ The fault is upstream. Check for a faulty relay in the Front SAM or a wiring break between the SAM and the O2 sensor connector.
→ Replace the fuse ($1-$5). If it blows again immediately, there is a dead short in the wiring harness or the internal heater element of the Bank 1 Sensor 1 O2 sensor.
→ Stop O2 diagnosis. These timing codes on an M272 engine (especially pre-2008) suggest a worn balance shaft gear (TSB S-B-03.30/08i). This requires engine removal and may be causing systemic electrical or performance issues.

Other Known Issues on This Vehicle

Issues unrelated to this code that are worth knowing about as an owner of this generation:

  • M272 Balance Shaft Gear Wear 🔴 High — Common on engines manufactured before ~mid-2008 (Engine No. lower than 2729..30 468993). Failure can occur between 60,000-100,000 miles, causing timing correlation codes (P0016/P0017) and requiring engine removal for repair. (Ref: No recall, but a known issue covered by Mercedes Service Bulletin S-B-03.30/08i.)
  • M272 Intake Manifold Runner Flap Lever Failure 🟠 Medium — The plastic lever controlling the variable intake manifold flaps is prone to breaking, typically after 80,000 miles. This causes fault codes (P2004, P2005, P2006), rough idle, and power loss. (Ref: No recall. Aftermarket aluminum repair kits are a popular and durable solution over replacing the entire manifold.)
  • W204 Electronic Steering Lock (ESL) Failure 🔴 High — A very common failure on the W204 platform. The ESL motor wears out, leading to an intermittent and eventually permanent no-start condition where the key is recognized but the engine will not crank. The vehicle is effectively immobilized. (Ref: No recall. Repair involves replacing the ESL or installing an emulator, which requires programming to the vehicle's ignition system.)
  • W204 Rear Subframe Rust/Corrosion 🔴 High — The rear subframe is highly susceptible to severe rust, especially in regions that use road salt. This can lead to structural failure, affecting vehicle safety and handling. (Ref: Mercedes-Benz has extended the warranty to 20 years/unlimited miles for replacement of the subframe if it suffers from corrosion with perforation.)

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: For this repair, a used part only makes sense for the wiring harness connector. If the connector or a small section of the harness is damaged, sourcing a 'pigtail' from a salvage yard vehicle is a cost-effective and reliable repair.

Donor-vehicle mileage cap: roughly under 100000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • Check the plastic connector for brittleness or cracking.
  • Inspect the connector pins for any green or white corrosion.
  • Ensure the wiring insulation is still flexible and not melted or hardened.
  • Verify the locking tab on the connector is intact and functional.

OEM-only on this vehicle (don't cheap out):

  • Engine Control Module (ECM) - While not strictly 'OEM-only', replacing an ECM is complex, often requiring professional programming and VIN-locking. It should not be treated as a simple plug-and-play used part.

Aftermarket brands forum-validated for this vehicle:

  • Bosch (OEM supplier for this part, highly recommended)
  • Denso (Well-regarded alternative)

Brands owners have reported issues with on this vehicle:

  • Unnamed or 'white-box' generic sensors. While cheaper, they have a higher rate of premature failure and can have incorrect resistance values, causing the code to return immediately.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2008 Mercedes-Benz C300 Sport M272

Symptoms: Check engine light with P0031 code pointing to the upstream oxygen sensor (bank 1, sensor 1).

What fixed it: The owner found a blown fuse under the hood and a failed Bosch 17016 sensor. Additionally, the harness to the ECM was damaged near the sensor junction, with two wires held together by only two strands causing voltage spikes. Repairing the wires and replacing the sensor and fuse fixed the issue.

Source hint: MBWorld.org Forums owner report for 2008 Mercedes-Benz C300 Sport

2008 Mercedes-Benz C300 Sport M272

Symptoms: Low voltage code P0031; intermittent voltage spikes before final failure.

What fixed it: Diagnosis revealed a blown fuse and damaged harness wires that were barely making contact at the connector junction.

Source hint: MBWorld.org thread 'W204 2008 c300 Sport p0031 Low Voltage'

Frequently Asked Questions

Where is the Bank 1, Sensor 1 oxygen sensor located on my M272 V6 engine?
On the M272 V6, Bank 1, Sensor 1 is located on the passenger-side (right-hand) engine bank. It is the upstream sensor positioned on the exhaust manifold before the catalytic converter.
Which fuses should I check for the O2 sensor heater circuit in my C300?
You should check fuses #4, #6, #25, and #27 in the front SAM (engine bay fuse box) and fuse #42 in the rear SAM located in the trunk.
What resistance should a healthy Bosch oxygen sensor have for this Mercedes?
A functional sensor should measure between 2 and 25 ohms across the two heater circuit pins (typically the two same-colored wires) when the sensor is cold.
Can a damaged wiring harness cause P0031 even if I replace the sensor?
Yes. Forum reports for the 2008 C300 indicate that wiring near the sensor connector junction can become damaged, frayed, or melted due to proximity to the exhaust manifold, leading to unstable voltage spikes or a blown fuse even with a new sensor.
Is there a TSB for the timing issues I'm seeing alongside my O2 sensor codes?
While not directly for P0031, if you have timing correlation codes (P0016/P0017), Mercedes Service Bulletin S-B-03.30/08i covers the common M272 balance shaft gear wear issue.
Will a P0031 code prevent my C-Class from passing an emissions test?
Yes, P0031 will cause the Check Engine Light to illuminate and may prevent the vehicle from entering 'closed-loop' fuel control, both of which result in an emissions test failure.
MERCEDES W204 O2 Oxygen Sensor Bank 1 Sensor 1, Oxygen Sensor Bank 1 Sensor 2 Fuse Relay Location Re
MERCEDES W204 O2 Oxygen Sensor Bank 1 Sensor 1, Oxygen Sensor Bank 1 Sensor 2 Fuse Relay Location Re
MERCEDES W204 Upstream Downstream O2 Oxygen Sensor Fuse Relay Location Replacement C250 C300 C180 C2
MERCEDES W204 Upstream Downstream O2 Oxygen Sensor Fuse Relay Location Replacement C250 C300 C180 C2
Mercedes-Benz W204 C-Class Oxygen Sensor Replacement
Mercedes-Benz W204 C-Class Oxygen Sensor Replacement
Fixing oxygen sensor fault on a Mercedes
Fixing oxygen sensor fault on a Mercedes
How To Fix P0031 Code - Oxygen Sensor Heater Control Circuit Low Bank 1 Sensor 1
How To Fix P0031 Code - Oxygen Sensor Heater Control Circuit Low Bank 1 Sensor 1
Causes and Fixes P0031 Code: HO2S Heater Control Circuit Low (Bank 1 Sensor 1)
Causes and Fixes P0031 Code: HO2S Heater Control Circuit Low (Bank 1 Sensor 1)
How to Replace an Oxygen (O2) Sensor, and Bank 1 Bank 2 Sensor Locations
How to Replace an Oxygen (O2) Sensor, and Bank 1 Bank 2 Sensor Locations
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated Jul 23, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0031 (Deep Dive) for:
  • Mercedes-Benz C-Class: 2008200920102011201220132014
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part