P0031 on 2009-2016 Audi A4 2.0T: O2 Sensor Heater Circuit Low Causes and Fixes
This code almost always means the front oxygen sensor (Bank 1, Sensor 1) has failed and needs to be replaced. The internal heater element burns out, triggering the fault. Before replacing, check the fuse for the O2 sensors, often located in the engine bay fuse box under the windshield cowl. Expect to pay $70-$150 for a quality aftermarket sensor (like Bosch, the OEM supplier) or $180-$250 for a genuine Audi part. It's a straightforward DIY replacement with a 22mm offset O2 sensor socket.
- P0031 points to a fault in the heater circuit for the upstream oxygen sensor (before the catalytic converter).
- The most probable cause on a 2.0T Audi A4 is a failed oxygen sensor itself, specifically the internal heater element.
- Before buying a new sensor, perform a quick visual inspection of the wiring for obvious damage and check the relevant fuse, which is likely in the engine bay fuse box.
- Replacement is a DIY-friendly job requiring a special 22mm offset O2 sensor socket.
- Using a quality Bosch or OEM sensor is recommended for longevity.
What's Unique About the 2009-2016 Audi A4
On the Audi A4 with the 2.0L TFSI engine, the upstream O2 sensor is a very common failure item. Due to its location on the exhaust housing directly after the hot turbocharger, the sensor and its wiring are exposed to extreme and frequent temperature cycles, which accelerates wear and shortens their lifespan. While wiring issues can occur, the vast majority of P0031 codes on this specific platform are resolved by simply replacing the Bank 1, Sensor 1 O2 sensor. The part is readily accessible from the top of the engine bay 🎬 Watch: Locate the upstream and downstream sensors on your Audi. on the passenger side, making it a common DIY repair for many owners.
Generation note: The 2009-2016 model years cover the Audi A4 B8 (2009-2012) and the facelifted B8.5 (2013-2016) generations. The 2.0L TFSI EA888 engine and the location of the oxygen sensors are fundamentally the same across these years, so the causes and repair procedures for code P0031 are consistent. Early B8 models (2009-2011) are more known for oil consumption issues, which can indirectly affect O2 sensors over time if oil fouls the exhaust.
Symptoms You May Notice
- Check Engine Light is on
- Decreased fuel economy, especially on short trips
- Rough idle or hesitation, especially when the engine is cold
- Failing an emissions test
- Slightly richer exhaust smell on cold starts
- Replacing the downstream (post-catalyst) oxygen sensor. P0031 specifically refers to Sensor 1, which is the upstream sensor before the catalytic converter.
- Replacing the O2 sensor without first checking the fuse. A blown fuse can cause multiple O2 heater codes to appear at once. 🎬 Watch: How a single fuse can cause multiple sensor codes.
Most Likely Causes
- Failed Upstream Oxygen Sensor (Bank 1, Sensor 1) 🔴 High Probability → Shop Oxygen Sensor The internal heater element is a common failure point due to age and extreme heat cycles from the nearby turbocharger. It's considered a wear-and-tear item, and Bosch is the typical OEM supplier.
How to confirm: Using a multimeter, disconnect the sensor and measure the resistance across the two heater circuit pins (usually the two same-colored wires, e.g., two white wires). A healthy heater will have a low resistance, typically between 2.5 and 20 ohms when cold. An infinite resistance reading (Open Loop or 'OL') confirms the heater element has burned out.
Typical fix: Replace the Bank 1, Sensor 1 oxygen sensor. On the 2.0L TFSI engine, this is the sensor located on the turbocharger outlet, before the catalytic converter. A 22mm (or 7/8 inch) offset oxygen sensor socket is required 🎬 See this walkthrough for removing and replacing the O2 sensors. for removal and installation.
Est. part cost: $70-$250 - Damaged Wiring or Connector 🟡 Medium Probability The wiring harness for the O2 sensor is routed near hot exhaust and turbo components. Over time, the protective loom can become brittle and crack, exposing the wires to heat damage, which can cause them to melt, break, or short to ground.
How to confirm: Visually inspect the entire length of the O2 sensor's wiring harness and its connector for any signs of melting, chafing, corrosion, or broken wires. Pay close attention to where the harness may contact the engine or heat shields.
Typical fix: Repair the damaged section of the wiring harness or replace the connector pigtail. Use high-temperature rated butt connectors or solder and heat shrink. Ensure the repaired harness is properly secured away from hot surfaces using zip ties or new loom.
Est. part cost: $10-$50 - Blown Fuse ⚪ Low Probability
How to confirm: Consult a vehicle-specific fuse diagram. The fuse for the O2 sensor heaters is typically located in the engine bay fuse box, which is under the plastic plenum cover near the base of the windshield. It may be labeled 'Lambda' or 'AF heater'. Visually inspect the fuse and test it for continuity with a multimeter.
Typical fix: Replace the blown fuse. If the new fuse blows immediately, it indicates a short circuit in the wiring or within one of the oxygen sensors that must be diagnosed further.
Est. part cost: $1-$5
Rare But Worth Checking
- Faulty Engine Control Module (ECM): This is extremely rare. The ECM's internal driver for the heater circuit can fail, but this should only be considered after all other possibilities (sensor, wiring, fuses) have been exhaustively ruled out with proper electrical testing.
Diagnosis Steps
- Read the codes with an OBD-II scanner to confirm P0031 is present and check for any other related codes.
- Locate the fuse for the oxygen sensor heater circuit. On the B8 A4, this is typically in the fuse box in the engine compartment plenum chamber (under the plastic cover near the windshield). Inspect and test the fuse. If it's blown, replace it and re-scan to see if the code clears.
- Visually inspect the Bank 1, Sensor 1 (upstream) oxygen sensor's wiring harness and connector. The sensor is on the exhaust pipe right after the turbocharger, accessible from the passenger side of the engine bay. Look for any signs of melting, burning, chafing, or corrosion.
- If the wiring and fuse are good, test the O2 sensor's heater element. Disconnect the sensor and use a multimeter set to Ohms. Measure the resistance between the two heater pins (typically two white wires). A reading between 2.5-20 ohms is good. A reading of 'OL' or infinite resistance means the heater is burned out and the sensor must be replaced.
- If the sensor's resistance is good, check for power and ground at the vehicle's harness connector (the side coming from the car). With the ignition on (engine off), one pin should have 12V battery voltage. The other heater pin is ground-side controlled by the ECM via a duty cycle (pulse-width modulation). Lack of voltage points to a wiring issue between the fuse box and the connector. Lack of a pulsing ground signal during an output test points to a wiring issue or, rarely, an ECM problem.
Parts You'll Likely Need
- Upstream Oxygen Sensor (Bank 1, Sensor 1)
(OEM #06J906262AA)— The internal heater element is the most common point of failure for this code. This is the sensor located before the catalytic converter.
Trusted brands: Bosch (OEM Supplier, e.g., part #17090), Denso, NTK
OEM price range: $180-$250
Aftermarket price range: $70-$150 - 22mm (7/8") Offset Oxygen Sensor Socket — This special tool is required to remove and install the oxygen sensor, as it allows the sensor's wire to pass through the side of the socket.
Trusted brands: Lisle, OEMTOOLS, GearWrench
Aftermarket price range: $10-$25
Related Codes That Often Appear With This One
- P0135 — P0135 is a generic fault for the 'O2 Sensor Heater Circuit (Bank 1, Sensor 1)'. It is very similar to P0031 and seeing them together strongly points to a failure of the sensor's internal heater.
- P0036 — This code indicates a heater circuit fault for Bank 1, Sensor 2 (the downstream sensor). If you see P0031 and P0036 together, it could point to a common power or ground issue affecting both sensors, such as a blown fuse or wiring problem.
- P0051 / P0057 — These codes are for Bank 2 sensors. On a 4-cylinder engine like the 2.0T, there is no Bank 2. Seeing these codes along with P0031 would indicate a scanner misinterpretation or a more severe electrical issue.
Technical Service Bulletins (TSBs) & Recalls
- While no specific TSB for P0031 on this exact platform was found, Audi has issued related TSBs for O2 heater circuits on other engines, such as TSB #2033767/1 for the 3.0T engine, acknowledging heater elements as a known issue.
- Audi has also issued TSBs for other codes where an ECM software update was the fix, not parts replacement, highlighting the possibility of software-related faults.
Platform-Specific Known Issues
- The O2 sensor connector can be brittle due to heat exposure. Be careful not to break the locking tab when disconnecting it.
- Applying anti-seize compound to the threads of the new sensor is critical to ensure it can be removed in the future. Most new sensors come with this pre-applied.
- In rare cases, a software glitch in the ECM can incorrectly flag O2 sensor heater faults. Audi has issued TSBs for other models/codes related to this, so checking for updated ECM software with a dealer-level tool is a final diagnostic step if all hardware checks out.
Mechanic-Grade Diagnostic Values
- O2 Sensor Heater Element Resistance — expected: 2.5 - 20 Ohms (when cold). Failure: Infinite resistance (OL) indicates an open circuit (burned out element).
- Voltage at Harness Connector (Heater Power Pin to Chassis Ground) — expected: 12V (Battery Voltage) with Key On, Engine Off.. Failure: No voltage indicates a blown fuse or an open in the power supply wire.
- VCDS Measuring Block 034 - O2 Sensor Heater Status — expected: Displays 'B1-S1 OK' and heater resistance.. Failure: A fault status or out-of-spec resistance reading points to a sensor or wiring issue.
- ECM Ground-Side Control Signal (at harness connector) — expected: A pulsing ground signal (duty cycle) when the heater is commanded on.. Failure: No pulse or a steady ground/open indicates a wiring fault or a problem with the ECM driver.
Scan Tool Commands That Help
- VCDS (VAG-COM): Engine -> Measuring Blocks -> Group 034 — To check the status and resistance of the Bank 1 Sensor 1 heater as seen by the ECM. This can help confirm if the ECM is detecting the same fault that a multimeter test shows.
- VCDS (VAG-COM): Engine -> Basic Settings -> Group 034 — To run the oxygen sensor heater test. This actively commands the heater circuit on, allowing you to test for voltage and the ground pulse at the connector in real-time.
- VCDS (VAG-COM): Engine -> Advanced Measuring Blocks — To log multiple values at once, such as heater duty cycle, sensor voltage, and RPM, to diagnose intermittent issues under specific operating conditions.
Wiring & Ground Locations
- G12 — At the center of the firewall in the engine compartment.. This is a primary ground point for the ECM. A corroded or loose connection here can cause a variety of erratic engine management faults, including incorrect sensor readings or driver circuit faults.
- Engine-to-Body Ground Strap — Typically runs from the engine block to the chassis frame rail on the driver's side.. A compromised main engine ground can create a high-resistance path for various components, forcing current to find alternative routes and potentially causing voltage drops that could affect sensor heater performance.
- Sensor Connector (T6ae) — 6-pin black connector for the upstream O2 sensor, located near the passenger side of the cylinder head cover.. This is the primary point for testing. The two heater wires (often white) are where resistance should be measured on the sensor side, and where voltage/ground pulse should be checked on the harness side.
Real Owner Repair Stories
- Audi-Sport.net user 'BB13' (Audi A3 2.0T (similar EA888 engine platform)) — EML (Check Engine Light) on, codes P0030 and P0036 stored (heater circuit malfunction for both sensors).
❌ Tried (didn't work) Checked all fuses, visually inspected wiring loom.
✅ What actually fixed it The user performed resistance tests on both O2 sensors. The pre-cat (upstream) sensor measured 2.9 ohms and the post-cat (downstream) sensor measured 9.1 ohms. Forum feedback confirmed these values were within the normal range, pointing the user toward a wiring or ECU issue rather than a failed sensor, saving them from replacing good parts. - Reddit user on r/MechanicAdvice (2007 Audi A4 2.0T (B7 generation, similar issue)) — Multiple 'Circuit Low' codes including P0031 (B1S1 Heater), P0036 (B1S2 Heater), P2295 (Fuel Pressure Reg), P0458 (EVAP Purge), and P0245 (Wastegate Solenoid).
❌ Tried (didn't work) Clearing codes would work temporarily.
✅ What actually fixed it The consensus from multiple mechanics in the thread was that having numerous 'Circuit Low' faults simultaneously across unrelated systems points strongly to a systemic power supply or ground issue. The root cause is likely a failing power supply relay, a main fuse, or a critical corroded ground connection, not individual component failures.
OEM Part Supersession History
06J906262M→06J906262AA— Part revision and update by the manufacturer.
Heads up: While both part numbers may physically fit, it is always recommended to use the latest revision (06J906262AA) or a quality aftermarket equivalent (like Bosch 17090) to ensure compatibility with the vehicle's ECM software and expected performance.
Model Year Variations Within This Range
- 2013-2016 (B8.5): The B8.5 facelift models use a slightly different engine variant (e.g., CAED, CPMB) of the EA888 Gen 2 compared to the early B8 (e.g., CAEB). While the O2 sensor part and location are the same, the ECM software is different. In very rare cases, an ECM software update from the dealer could be required to resolve persistent, difficult-to-diagnose electrical faults that don't trace to a hardware failure.
Diagnostic Flowchart
Other Known Issues on This Vehicle
Issues unrelated to this code that are worth knowing about as an owner of this generation:
- Excessive Oil Consumption 🔴 High — Very common, especially on 2009-2011 models with the CAEB engine code. Caused by defective piston rings. Can start as early as 50,000 miles. (Ref: Subject of multiple class-action lawsuits which led to settlement programs and warranty extensions for diagnosed conditions.)
- Timing Chain Tensioner Failure 🔴 High — Common across pre-update EA888 engines (approx. before 2013). The original tensioner can fail without warning, allowing the chain to jump teeth, causing catastrophic engine damage. (Ref: An updated tensioner part was released. TSB 2039995/1 addresses chain rattle noise on cold starts, a primary symptom.)
- Water Pump / Thermostat Failure 🟠 Medium — Very common. The original water pump has a plastic housing that cracks or the gasket fails, causing coolant leaks. Failures can occur multiple times before 100,000 miles. (Ref: Subject of a class-action lawsuit for some model years.)
- PCV Valve Failure 🟠 Medium — Common failure item. The internal diaphragm tears, causing a large vacuum leak. Symptoms include a loud whistling/howling noise, rough idle, lean codes (P0171), and increased oil consumption.
- Intake Valve Carbon Buildup 🟠 Medium — Inevitable on all direct-injection (FSI/TFSI) engines. Becomes problematic around 60,000-80,000 miles, causing cold start misfires, hesitation, and reduced performance.
Used vs. New Parts: Buying Guide for This Vehicle
When a used part is the smart pick: For this repair, buying a used oxygen sensor is NOT recommended. O2 sensors are wear-and-tear items with a finite lifespan of 60,000-90,000 miles. The labor to install the part is the same whether it's new or used, and a used sensor from a junkyard has an unknown history and could fail shortly after installation, forcing you to do the job twice. A used wiring harness connector pigtail is a viable option if only the connector is damaged.
Donor-vehicle mileage cap: roughly under 20000 miles for the part to have meaningful remaining life.
What to inspect on the donor part:
- For a connector pigtail: ensure the plastic is not brittle, the locking tab is intact, and there is no corrosion on the pins.
- Ensure there are several inches of clean, undamaged wire attached to the pigtail for splicing.
OEM-only on this vehicle (don't cheap out):
- While not strictly 'OEM-only', using the OEM supplier (Bosch) or another reputable brand like Denso or NTK is highly recommended. Cheap, unbranded aftermarket sensors are notorious for failing prematurely or not meeting the precise specifications required by the Audi ECM, leading to persistent codes or performance issues.
Aftermarket brands forum-validated for this vehicle:
- Bosch (OEM supplier)
- Denso
- NTK
Brands owners have reported issues with on this vehicle:
- Unbranded, 'no-name' sensors from online marketplaces. Forum users frequently report issues with these parts failing within weeks or months.
Real Owner Stories
Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.
2009-2016 Audi A4 2.0T
Symptoms: P0031 - O2 Sensor Heater Control Circuit Low Bank 1 Sensor 1 and wiring melted near the turbo.
What fixed it: Replacing the front O2 sensor (Bosch #17090) and performing a harness repair.
Source hint: Audizine - Thread: 'P0031 - O2 Sensor Heater Control Circuit Low Bank 1 Sensor 1'
B8 Audi A4 2.0T
Symptoms: P0031 and rough cold idle.
What fixed it: Replacing the upstream O2 sensor with a Bosch OEM-equivalent.
Source hint: AudiWorld - Thread: 'B8 A4 P0031 and rough cold idle'
Related OBD-II Codes
Frequently Asked Questions
Where is the fuse for the O2 sensor heater located on my B8 A4?
Which specific oxygen sensor is causing the P0031 code on my 2.0L TFSI?
Is there a specific replacement part recommended by other Audi owners?
What resistance should I see when testing the sensor with a multimeter?
Could a software update fix my P0031 code instead of replacing parts?
Why is the wiring harness prone to failure on this specific Audi model?
Helpful Videos
We Have This Part in Stock
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.
- Audi A4:
- 🧭 Diagnostic Flowchart
- 🎬 Helpful Videos
- 🛍️ Shop This Part
- What's Unique About the 2009-2016 Audi A4
- Symptoms You May Notice
- Most Likely Causes
- Rare But Worth Checking
- Diagnosis Steps
- Parts You'll Likely Need
- Related Codes That Often Appear With This One
- Technical Service Bulletins (TSBs) & Recalls
- Platform-Specific Known Issues
- Mechanic-Grade Diagnostic Values
- Scan Tool Commands That Help
- Wiring & Ground Locations
- Real Owner Repair Stories
- OEM Part Supersession History
- Model Year Variations Within This Range
- Other Known Issues on This Vehicle
- Used vs. New Parts: Buying Guide for This Vehicle
- Real Owner Stories
- 2009-2016 Audi A4 2.0T
- B8 Audi A4 2.0T
- Related OBD-II Codes
- Frequently Asked Questions
- 🎟️ Get 5% Off