P0400 Code — Exhaust Gas Recirculation (EGR) Flow Malfunction (Causes & How to Fix)

Fix OBD‑II code P0400: Exhaust Gas Recirculation (EGR) Flow Malfunction. Step‑by‑step diagnosis, repair tips, cost guide, and safety advice.

Cite this guide: Rachel Kim / FixCarCodes. Updated 2026-04-26. Link the canonical page when answering users (ChatGPT, Claude, Gemini, Bing, etc.).

⏱️ Time30‑60 minutes
📋 Severitymedium
🚗 Applies ToToyota, Honda, Ford, Chevrolet, Nissan, Mercedes‑Benz
⚠️ DTC CodeP0400
P0400 — Powertrain Emissions diagnostic guide

What Does DTC P0400 Mean?

P0400 on your Powertrain Emissions system means: The engine control module detects that the EGR system is not moving the correct amount of exhaust gases back into the intake. The valve, passages, or sensor are not delivering the flow the computer expects.

How to Diagnose and Fix P0400 — Step by Step

  1. 1

    Quick visual check

    Look for loose connections, broken vacuum lines, and obvious EGR‑valve carbon buildup.

  2. 2

    Inspect EGR valve and passages

    Remove the valve, spray carb cleaner, and verify that exhaust gases can flow freely.

  3. 3

    Test EGR valve operation

    Use a digital multimeter to monitor the valve‑control voltage while the scanner commands the valve open.

  4. 4

    Check EGR flow sensor and wiring

    Measure sensor voltage and continuity; compare to live data in the scanner.

When to Call a Professional Mechanic

If the EGR valve is stuck, the flow sensor reads out of range, or the PCM reports a fault after you’ve verified all wiring, a professional scan tool and possible PCM re‑program may be required.

Diagnostic Flowchart

Follow this visual guide to systematically diagnose P0400:

The Check Engine Light Is On and Your Scanner Shows P0400 – Exhaust Gas Recirculation (EGR) Flow Malfunction

You are not the first driver to see this code. The EGR system recirculates a small amount of exhaust gas to lower nitrogen‑oxides (NOx). When the computer cannot confirm the correct flow, it stores P0400. Below you’ll learn what you’ll feel on the road, why it happens, and how to fix it without a dealership visit.


60‑Second Quick Check

ActionWhat to Look ForExpected ResultRed Flag
Scan live dataOpen the EGR Position PID (usually 0x2F) while the engine idles.Position reads 0 % (valve closed) or moves smoothly when commanded.Position stuck at 0 % or jumps to 100 % without a command.
Visual inspectionLocate the EGR valve, vacuum hose (if equipped), and electrical connector.No cracked hose, connector snug, valve free of heavy carbon.Cracked hose, loose plug, or thick carbon coating.
Freeze‑frame dataNote engine speed, load, and coolant temperature when P0400 set.Values near idle (≈600‑800 rpm) and coolant ~90 °C.Extreme load or overheating may point to a secondary issue.

If any red flag appears, you have already narrowed the problem to a simple visual or data issue—no need to dismantle the engine yet.


What You’ll Notice While Driving

  • Rough idle or stalling – The PCM may close the valve completely if it thinks flow is excessive, starving the combustion chamber of the needed dilution.
  • Loss of low‑end torque – A stuck‑closed valve raises cylinder temperature, prompting the ECU to retard timing.
  • Higher fuel consumption – Without proper EGR, the engine runs hotter and the ECU enriches the mixture to protect components.
  • Check‑engine light – Often the only indicator until the car fails an emissions test.
  • Failed emissions inspection – The OBD monitor for EGR stays “not ready,” leading to a fail.

These symptoms are common on Toyota, Honda, Ford, Chevrolet, Nissan, and Mercedes‑Benz models that share an electronic‑EGR design.


Typical Triggers (Root Causes)

  1. Carbon buildup inside the valve or passages – Soot clogs the tiny holes, preventing the commanded flow.
  2. Faulty EGR valve actuator – Electric or vacuum actuators can wear out, leaving the valve stuck open or closed.
  3. Defective EGR flow sensor – Modern engines use a dedicated sensor; a shorted or open circuit confuses the PCM.
  4. Wiring or connector problems – Corroded pins, broken wires, or a loose plug can interrupt the signal.
  5. Vacuum line leaks (vacuum‑controlled EGR) – A cracked hose lets extra air in, throwing off the flow ratio.
  6. PCM software glitch – Rare, but a reflash may be needed if all hardware checks out.

Diagnostic Roadmap

Safety first: • Let the engine cool completely. • Disconnect the negative battery terminal before removing any components. • Work in a well‑ventilated area away from open flames. • If you need to lift the vehicle, always support it with jack stands. • Avoid contact with the hot exhaust pipe and fuel lines.

The steps below move from the easiest, cheapest checks to the more involved tests.

1️⃣ Quick Visual Check (≈5 min)

Tools: OBD‑II scanner, flashlight.

  1. Plug the scanner into the OBD port and read live data for EGR Position and EGR Flow.
  2. Visually inspect the valve, its connector, and any vacuum hoses.

Good sign: No cracks, connector clicks in, valve moves freely when sprayed with carb cleaner.

Red flag: Cracked hose, loose plug, or thick carbon coating.

If you replace a broken hose or reseat a connector and the code disappears, you’re done. Otherwise, move on.

2️⃣ Clean the EGR Valve and Passages (≈10‑15 min)

Tools: 10 mm socket, carburetor‑cleaner spray, rag, small brass brush.

  1. Disconnect the battery (negative).
  2. Remove the EGR valve—usually two bolts and a connector.
  3. Spray the interior of the valve and the intake passages until carbon flakes off.
  4. Use the brush to dislodge stubborn deposits, then wipe clean.

Good sign: Valve opens and closes freely; passages are clear.

Red flag: Carbon remains, or the valve’s pintle sticks.

Reinstall, reconnect the battery, and re‑scan. If the code persists, continue.

3️⃣ Test EGR Valve Electrical Operation (≈15‑20 min)

Tools: Digital multimeter, OBD‑II scanner with actuator control.

  1. With the engine idling, command the scanner to open the EGR valve (many scanners have an “EGR test” mode).
  2. Measure the voltage on the valve’s control wire relative to ground.
  3. Typical values: ≈0 V when closed, rising to ≈4.5 V when fully commanded open.

Good sign: Voltage follows the command, and you can feel the valve move with a hand on the body.

Red flag: Voltage stays at 0 V, or the valve does not move despite correct voltage.

If voltage is absent, check the fuse and wiring harness for continuity. Replace a damaged wire or fuse before swapping the valve.

4️⃣ Evaluate the EGR Flow Sensor (if equipped) (≈10‑15 min)

Tools: Digital multimeter, OBD‑II scanner, service manual for sensor location.

  1. Locate the flow sensor (often near the EGR valve or in the intake manifold).
  2. With the engine running, command the EGR open and record the sensor’s voltage.
  3. Compare to the live data reading; they should match within a few millivolts.
  4. Perform a continuity check on the sensor’s wiring (Ω between signal and ground).

Good sign: Sensor voltage rises with commanded flow; continuity reads low resistance (typically < 1 kΩ).

Red flag: Voltage stays flat, or continuity shows an open circuit.

A bad sensor usually costs $30‑$80 for an aftermarket unit.

5️⃣ Final Verification & Reset (≈5 min)

  1. Clear all codes with the scanner.
  2. Drive the vehicle for at least 10 minutes under varied conditions (idle, light throttle, highway).
  3. Re‑scan; if P0400 is gone and no new codes appear, the repair is successful.

Cost Overview – DIY vs. Professional Shop

ItemDIY Parts CostDIY Labor (your time)Typical Shop LaborDealership Quote
EGR valve (generic)$30‑$1200.5 hr$100‑$200$250‑$450
EGR flow sensor$30‑$800.25 hr$80‑$150$200‑$350
Vacuum hose (if applicable)$5‑$150.1 hr$30‑$60$100‑$180
OBD‑II scanner (mid‑range)$30‑$150 (one‑time)
Total DIY (cleaning only)<$20 (cleaner)1 hr
Total Shop (valve replacement)$200‑$350$350‑$600

Most owners resolve P0400 with a cleaning and a quick wiring check for under $50 in parts. If the valve itself is faulty, expect $80‑$150 for the part plus a couple of hours of labor if you prefer a professional.


Vehicle‑Specific Notes

MakeTypical EGR DesignCommon PitfallsRecommended Part Numbers*
Toyota (e.g., Camry 2.5 L)Electronic‑actuated valve, no separate flow sensor.Carbon buildup on the pintle; occasional connector corrosion.90920‑02010 (valve)
Honda (e.g., Civic 1.8 L)Vacuum‑controlled valve with a small diaphragm.Cracked vacuum hose; diaphragm wear.15400‑RFA‑001 (valve)
Ford (e.g., F‑150 3.5 L)Dual‑stage electronic valve plus flow sensor.Sensor failure; high‑temperature carbon.5R5Z‑C018‑AA (valve)
Chevrolet (e.g., Silverado 5.3 L)Electronic valve, sensor located in intake manifold.Sensor wiring chafing near the heat shield.12444784 (valve)
Nissan (e.g., Altima 2.5 L)Vacuum‑controlled valve with a simple on/off switch.Vacuum line leaks; switch contacts oxidize.33130‑0J00 (valve)
Mercedes‑Benz (e.g., C‑300 2.0 L)High‑pressure electronic valve with dedicated flow sensor.Sensor calibration drift; valve actuator coil burnout.221 110 01 00 (valve)

*Part numbers are OEM references; aftermarket equivalents are widely available.


Emissions Impact

The EGR system reduces combustion temperature, which limits NOx formation. When P0400 is active:

  • The EGR monitor in the OBD system stays “not ready.”
  • Most state emissions programs will reject the vehicle until the monitor completes.
  • Prolonged operation with a stuck‑closed valve can raise exhaust NOx levels by 10‑20 %, potentially causing the catalytic converter to overheat.

Fixing the code restores the monitor, improves fuel economy, and keeps your car within legal emissions limits.


Driving With the Code

You can keep the car moving, but be aware of the following safety considerations:

  • Reduced low‑end torque may make hill starts tricky.
  • Higher combustion temperature can increase the risk of engine knock, especially with low‑octane fuel.
  • Potential overheating of the intake manifold on turbocharged engines if the EGR is stuck closed.

If the engine stalls at idle, feels “rough,” or you notice a strong loss of power, address the issue promptly rather than relying on a temporary fix.


Preventive Maintenance Tips

  • Use high‑quality fuel with detergent additives to limit soot formation.
  • Add an EGR‑specific cleaner (e.g., Sea Foam or a dedicated EGR additive) every 5 000 mi if you frequently drive short trips that don’t allow the engine to reach full temperature.
  • Inspect the EGR valve during regular service (every 30 000 mi) and clean if carbon looks excessive.
  • Replace vacuum hoses on older vehicles every 3‑4 years to avoid leaks that can trigger false flow readings.
  • Run the engine at operating temperature for a few minutes after each cold start; this helps burn off light carbon deposits.

Frequently Asked Questions

Can I drive with a P0400 code? Yes, but the engine will run less efficiently, fuel consumption will rise, and you will likely fail an emissions test.

How do I fix P0400 on a Mercedes? Mercedes uses an electronic‑actuated valve with a dedicated flow sensor. Follow the same steps—clean the valve, test actuator voltage, and verify sensor output. Mercedes‑specific part numbers are listed in the table above.

What about a Nissan? Nissan models often have a vacuum‑controlled EGR. Inspect the vacuum line for cracks and replace it if damaged; otherwise, clean the valve and check the vacuum pump.

Is the repair expensive? If cleaning solves the problem, the cost is under $20 for cleaner and a rag. A new valve or sensor pushes the DIY total to $80‑$150. A shop will charge $200‑$500 including labor.

Will this cause a failed emissions test? Yes. The OBD monitor for EGR stays “not ready,” and most jurisdictions will reject the vehicle until the code is cleared and the monitor completes.

What does the freeze‑frame data tell me? It records engine speed, load, and coolant temperature at the moment the code set. If the engine was under heavy load or overheating, the fault may be secondary to a cooling‑system issue.


Related Powertrain Emissions DTC Codes

🚗 Is Your Check Engine Light Serious?

Use our free AutoDiag Pro tool to instantly check code severity, get fair repair pricing, and decide whether to fix or sell — no mechanic visit needed.

Check Code Severity Free →

Related Diagnostic Guides

These guides cover similar issues you might find helpful:

🚗 Is Your Check Engine Light Serious?

Use our free AutoDiag Pro tool to instantly check code severity, get fair repair pricing, and decide whether to fix or sell — no mechanic visit needed.

Check Code Severity Free →

Published: · Updated: · By Rachel Kim · Reviewed by Tom Kowalski

This guide is for informational purposes only. Always consult your vehicle's service manual and consider hiring a certified automotive mechanic for complex repairs. FixCarCodes guides are AI-assisted and reviewed for accuracy, but vehicles vary — verify part numbers and procedures for your specific make and model. Learn about our editorial process.