top of page

P0400 Code: Causes, Symptoms, Diagnosis & How to Fix It

4 hours ago
6 min read

The P0400 code means Exhaust Gas Recirculation Flow Malfunction.

Your vehicle's engine computer has detected that the flow of exhaust gas through the EGR system is outside the range it expects. The EGR system sends a small, measured amount of exhaust gas back into the intake manifold to lower combustion temperatures and reduce nitrogen oxide (NOx) emissions. When the computer commands the EGR valve to open and the flow it measures does not match what it asked for — too much, too little, or none at all — it stores P0400 and turns on the Check Engine Light.

P0400 is a flow fault, not a single-part fault. It tells you the EGR system is not moving exhaust gas the way it should, but it does not tell you which part of the system is at fault. On most vehicles the cause is carbon buildup, and on many it can be fixed by cleaning rather than replacing parts.

Diagram of a car EGR system showing the exhaust manifold, EGR valve, EGR cooler, intake manifold and engine computer

P0400 Code Symptoms

The most common symptoms are:

  • Check Engine Light

  • Rough idle or hesitation, especially at low speed

  • Engine stalling or stumbling when coming to a stop

Depending on the vehicle and the underlying problem, you may also notice:

  • Pinging or knocking under load

  • Reduced fuel economy

  • Loss of power

  • Failed emissions test

  • No symptom at all beyond the light, when the fault is a slow carbon buildup that has not yet affected how the engine runs

Common Causes of P0400

Several problems can throw the EGR flow out of range.

1. Carbon-Clogged EGR Valve or Passages

Carbon-clogged EGR passages are the most common cause of P0400. Exhaust gas leaves soot behind, and over time that soot builds up inside the EGR valve and the passages that carry gas between the exhaust and the intake. The valve can no longer open fully, or the passages can narrow so much that the flow drops below what the computer expects.

2. Faulty EGR Valve

The EGR valve itself can fail — the valve can stick open, stick closed, or move sluggishly because of wear, carbon, or a failed internal position sensor. A valve that does not move to the position the computer commands will set P0400.

3. Faulty EGR Solenoid or Vacuum Control

On vacuum-operated EGR systems, a faulty solenoid, a cracked vacuum hose, or a leaking vacuum line can keep the valve from opening. On electronically controlled systems, a failed EGR control solenoid has the same effect.

4. Faulty Differential Pressure (DPFE) or MAP Sensor

The computer measures EGR flow using a sensor — often a differential pressure feedback (DPFE) sensor, or the manifold absolute pressure (MAP) sensor. A faulty sensor can report the wrong flow even when the valve and passages are fine.

5. Damaged Wiring or Loose Connector

A broken wire, a corroded connector, or a loose plug in the EGR valve or sensor circuit can interrupt the signal and set the code.

6. Faulty Engine Computer (Rare)

A faulty engine computer is a rare cause of P0400. It should only be considered after the valve, the passages, the sensors, and the wiring have all been tested and found good.

How to Diagnose the P0400 Code

Diagnosis starts with finding out whether the problem is carbon, the valve, a sensor, or the wiring.

Step 1. Scan for additional codes

Use an OBD2 scanner to check for related codes such as P0401 (insufficient EGR flow), P0402 (excessive EGR flow), or P0420 (catalyst efficiency). Companion codes narrow down the problem — P0400 with P0401 points at a restriction, while P0400 with P0402 points at a valve stuck open. To read the code and check for companion codes, you need an OBD2 scanner — the CHEPQ B25 Scanner reads and clears codes and shows live data.

Step 2. Check EGR live data

With a scan tool, watch the EGR valve position and the flow sensor reading while the engine runs. Command the valve open and closed if your scan tool supports it, and check whether the position and flow readings follow the command.

Step 3. Inspect the EGR valve and passages for carbon

Remove the EGR valve and look for carbon buildup on the valve and in the passages. Heavy soot is the most common finding with P0400, and cleaning the valve and passages often

clears the code.

Close-up of a car EGR valve mounted on the engine showing carbon buildup

Step 4. Test the EGR solenoid and vacuum supply

On vacuum-operated systems, check the vacuum hoses for cracks and leaks, and test whether the solenoid opens and closes when commanded. On electronic systems, test the solenoid circuit for power and ground.

Step 5. Test the flow sensor

Check the DPFE or MAP sensor reading against the manufacturer's specifications. A sensor that reads incorrectly with a clean valve and clear passages is likely faulty.

Step 6. Check the wiring

Inspect the wiring and connectors to the EGR valve, solenoid, and flow sensor for damage, corrosion, or loose pins.

Do not simply replace the EGR valve because P0400 is stored. The code tells you the flow is wrong — it does not tell you whether the valve, the passages, a sensor, or the wiring is at fault. Testing should identify the actual cause first, and cleaning is often all that is needed.

How to Fix P0400

The repair depends on where the fault is found. Possible repairs include:

  • Clean carbon from the EGR valve and passages

  • Replace a faulty EGR valve

  • Replace a faulty EGR solenoid or repair a vacuum leak

  • Replace a faulty DPFE or MAP sensor

  • Repair damaged wiring or a corroded or loose connector

  • Clear the trouble code, restart the engine, and take a test drive to confirm the EGR flow reading is back in range

Is P0400 Serious?

P0400 is a medium-severity code. In most cases the car is still drivable, and many drivers notice nothing beyond the Check Engine Light. But it should not be ignored for long — a faulty EGR system raises combustion temperatures, which can cause engine knocking and, over time, damage the catalytic converter. It will also fail an emissions inspection while the light is on.

Short trips are usually fine, but get it checked soon, especially if the engine idles roughly, stalls, or knocks under load. Do not drive for an extended period with this code active.

P0400 vs. P0401 vs. P0402

These codes all relate to the EGR system, but they describe different faults:

  • P0400 — Exhaust gas recirculation flow malfunction — the EGR flow is outside the expected range

  • P0401 — Exhaust gas recirculation flow insufficient detected — the EGR flow is too low, usually carbon buildup

  • P0402 — Exhaust gas recirculation flow excessive detected — the EGR flow is too high, usually a valve stuck open

P0400 is the general flow fault. P0401 is the same system, but the flow is specifically too low. P0402 is the same system, but the flow is specifically too high.

Frequently Asked Questions

Can I drive with P0400?

Short trips are usually fine if the engine runs smoothly. Get it checked soon, especially if the engine idles roughly, stalls, or knocks. Do not ignore it for months — it can damage the catalytic converter and will fail an emissions test.

Can I clean the EGR valve instead of replacing it?

Often, yes. Carbon buildup is the most common cause of P0400, and cleaning the valve and the passages with a suitable cleaner can restore normal flow. If the valve is worn, sticking, or electrically faulty, cleaning will not help and it needs to be replaced.

Will P0400 cause my car to fail emissions?

Yes. With the Check Engine Light on, the vehicle will fail an OBD emissions inspection, and a faulty EGR system raises NOx emissions. The fault needs to be repaired and the code cleared before the test.

What causes the EGR valve to clog with carbon?

Exhaust gas carries soot, and the EGR system routes that gas back through the valve and intake passages. Over tens of thousands of miles the soot builds up, especially on vehicles that do mostly short trips where the engine rarely gets fully hot.

Does P0400 affect fuel economy?

It can. A faulty EGR system can make the engine run less efficiently, and the computer may change the fuel and timing strategy to compensate, which can reduce fuel economy.

Is P0400 the same on diesel and petrol engines?

The code means the same thing on both, but the systems differ. Diesel engines often have an EGR cooler, and a leaking cooler can cause coolant loss as well as a flow fault. The diagnosis steps are the same, but the parts involved are not identical.

Note: Exact valve location, test values, and repair procedures vary by vehicle make, model, and year. Always follow the manufacturer's service information for your specific vehicle.

bottom of page