P040B: EGR Temperature Sensor A Range/performance

The computer found the EGR temperature sensor circuit reading out of range or performing poorly

Severity not verified — if the car runs badly, have it inspected

The sources define the code and describe bulletins and causes but do not say how urgent it is. A check engine light is the usual sign, so have it read and checked rather than ignored.

Source: how we rate severity

P040B in short

P040B means the computer found a range or performance problem in the exhaust gas recirculation (EGR) temperature sensor A circuit. Chrysler and GM bulletins list it among codes fixed by software, and Audi says a faulty auxiliary EGR cooler can trigger it. Sources do not rate urgency.

CodeMechanic · last reviewed October 21, 2026

The EGR temperature sensor tells the computer how hot the recirculated exhaust is, so it can check that the EGR cooler and valve are working. P040B sets when that sensor circuit reads outside its expected range or does not behave plausibly.

Software is a common thread: Chrysler flashes on the 2017 Grand Cherokee 3.6L and the 2018 Ram 2500 list it, and GM says it can set incorrectly on the 2017 Volt. Audi bulletin A011466 says a faulty auxiliary EGR cooler on 2012 Q7 models can trigger P040B along with P310E even though the temperature sensor is fine.

The sources do not rate urgency. Have the code read and ask about updates before replacing parts.

Before you clear the code, save the freeze frame data, check whether it is a pending, stored or permanent code, and read when it is safe to clear a check engine light. A flashing light is covered on the flashing check engine light page.

Most likely causes

  1. Cause 1: Engine computer software (Jeep, Ram, Chevrolet)

    Supported by vehicle data
    Why it ranks here
    Chrysler flashes for Grand Cherokee and Ram 2500 list P040B among codes fixed by reprogramming, and GM bulletin 32340B says P040B can set incorrectly on the 2017 Volt until the engine computer is reprogrammed.
    What would change this
    Rises if a dealer finds an open software update for the VIN and the code is the only fault. Falls if the sensor reads implausible values or its wiring is damaged.
    How to test the engine control module (ecm / pcm)
  2. Cause 2: Faulty auxiliary EGR cooler module (Audi Q7)

    Supported by vehicle data
    Why it ranks here
    Audi bulletin A011466 says a faulty auxiliary EGR cooler, with a leaking vacuum actuator diaphragm, can trigger P040B as well as P310E, with no issue in the temperature sensor.
    What would change this
    Rises on an Audi Q7 diesel of the affected build period that also stores P310E. Falls if no P310E is stored or the cooler checks good.
  3. Cause 3: EGR temperature sensor, its wiring or connector

    Possible — needs testing
    Why it ranks here
    The code name points at the EGR temperature sensor A circuit, but TroubleCodes.net lists no causes and the Audi bulletin says the sensor itself was fine in its case, so no source read confirms the sensor as the usual fault.
    What would change this
    Rises if the reading is stuck, far from other temperature readings or the connector is damaged. Falls if the reading tracks the engine as it warms.

What to test first

Start at step 1. Each result tells you what it means and where to go next.

  1. Step 1: Read all stored codes and freeze-frame data. Note other EGR codes, such as P310E or EGR performance codes, stored with P040B.

    Low risk

  2. Step 2: Ask a dealer whether the VIN has a software update for P040B.

    Low risk

  3. Step 3: Have a shop compare the EGR temperature sensor reading with other temperatures on a scan tool as the engine warms and check the connector and wiring.

    Best left to a shopTool: scan tool

    Warning:EGR parts and exhaust piping stay very hot after driving and can burn skin. Let the engine cool fully before touching the sensor or its wiring.

Symptoms

  • Check engine light

How to fix

  1. Step 1: Have the code read and note any other EGR codes stored with it.

  2. Step 2: Ask a dealer whether your VIN has a software update for P040B before replacing the sensor.

Parts and cost context

  • Engine control module (ECM / PCM):Chrysler and GM bulletins for P040B are software updates, so ask about reprogramming before replacing sensors. Labor varies; get a quote.

Labor varies by vehicle and shop; get a quote before you approve a repair.

Compare used part prices on PartPriceGuide

On your vehicle

Audi

  • 2012 · Q7

    Supported by vehicle data

    Audi says a faulty auxiliary EGR cooler on some 2012 Q7 models can trigger P040B along with P310E. Whether it is still current is not verified.

  • A011466Status unverified

    Auxiliary EGR cooler quality; P310E and P040B

    2012 Q7 · issued · NHTSA 10125577

    Audi says some auxiliary EGR cooler modules may leak at the vacuum actuator diaphragm; a faulty cooler triggers P310E and can also trigger P040B. Only NHTSA's summary was read.

    We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.

Volkswagen

  • 2014 · Touareg

    Supported by vehicle data

    Volkswagen gives a diagnostic aid for inconclusive P040B results on the Touareg. Whether it is still current is not verified.

  • V0116142045221Status unverified

    Diagnostic aid for inconclusive results while diagnosing P040B

    2014 Touareg · issued · NHTSA 10095239

    Volkswagen gives a diagnostic aid for inconclusive results when diagnosing P040B. NHTSA gives no repair in the summary. Only NHTSA's summary was read.

    We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.

Jeep

  • 2016–2017 · Grand Cherokee · 3.6L

    Supported by vehicle data

    Chrysler lists P040B among codes its flash covers on the 3.6L Grand Cherokee (2017 model year). Whether it is still current is not verified.

  • 1802417Status unverified

    Flash: powertrain diagnostic and system enhancements

    2016–2017 Grand Cherokee · issued · NHTSA 10224765

    Reprograms the powertrain computer for listed codes, including P040B EGR temperature sensor 1 circuit performance on 2017 3.6L models. Only NHTSA's summary was read.

    We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.

Ram

  • 2018 · 2500

    Supported by vehicle data

    Chrysler lists P040B among codes its engine computer flash covers on the 2018 Ram 2500. Whether it is still current is not verified.

  • 18-061-20Status unverified

    Flash: powertrain control module updates

    2018 2500 · issued · NHTSA 10180252

    Reprograms the engine computer for listed codes, including P040B EGR temperature sensor A circuit performance. Only NHTSA's summary was read.

    We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.

Chevrolet

  • 2017 · Volt

    Supported by vehicle data

    GM says P040B may set incorrectly on the 2017 Volt until the engine computer is reprogrammed. Whether it is still current is not verified.

  • SB-32340-BStatus unverified

    Service update: misfire and DTCs that may set incorrectly

    2017 Volt · issued · NHTSA 10078775

    GM says a software update corrects a misfire condition and a condition where P040B, P041B, P1427 and P1429 may set incorrectly. Only NHTSA's summary was read.

    We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.

No curated relationships for P040B yet.

All Turbocharging, fuel pressure and EGR codes

Sources and review

  1. P040B trouble code — TroubleCodes.net
  2. 1802417: Flash, powertrain diagnostic and system enhancements — Stellantis (Jeep)
  3. 18-061-20: Flash, powertrain control module updates — Stellantis (Ram)
  4. 32340B: engine misfire update, P040B and others may set incorrectly — General Motors (Chevrolet)
  5. A011466: MIL on, auxiliary EGR cooler module quality (P310E, P040B) — Audi
  6. Diagnostic aid for inconclusive results while diagnosing P040B — Volkswagen
Last reviewed
Written by
Saurabh K.
Editorial review
Pending
Technician review
Technician review pending

This page explains what a code usually means; it is not a substitute for a professional inspection. How we source and review · Report an error

My Car

Pick your car and code pages will point out notes and bulletins for it. Saved only in this browser.

Fill this in from your VIN

Used once to identify your engine; not stored.