P0400 Code: Exhaust Gas Recirculation (EGR) Flow Malfunction
EGR flow doesn't match what the ECU expected, and the code doesn't say whether it's too much or too little.
At a glance
Severity: Low
- Meaning
- Exhaust Gas Recirculation (EGR) Flow Malfunction
- System
- Emission Controls · Powertrain
- Safe to drive?
- Yes, short term
- Typical repair cost
- $70–$1,200
- DIY difficulty
- Moderate
P0400 is the oldest and least specific member of the EGR flow family. The ECU commanded exhaust gas recirculation and the feedback it watches didn't respond the way the calibration expects, but unlike P0401 (too little) and P0402 (too much) the code carries no direction. How flow is judged depends on the manufacturer: many Nissan, Mazda and Mitsubishi engines use an EGR temperature sensor in the passage that must heat up when the valve opens, other gasoline engines compare manifold pressure with the valve open and closed, and diesels expect the measured air mass to fall. Because the verdict depends on that feedback device, a soot-coated temperature sensor or a drifting MAF sensor sets P0400 just as readily as a carbon-choked port.
Can I keep driving? Safe to keep driving in most cases. If the idle is rough or the engine stalls at stops, the valve is probably hanging open and you should get it looked at soon; pinging under load means the opposite problem, so go easy on hills and towing until it's fixed.
How to read P0400
- P Powertrain
- 0 Generic (SAE)
- 4 Auxiliary emission controls
- 00 Specific fault
Symptoms
- Check engine light on, often with no change in how the car drives
- Light pinging under load on gasoline engines when EGR isn't flowing
- Rough idle or hesitation if the valve is hanging partly open
- EGR monitor stuck at 'not ready' or a failed emissions test
- Black smoke and sluggish response on diesels when the valve sticks open
Possible causes
Ranked by how often each cause is behind this code (editorial estimate).
- Carbon build-up narrowing the EGR passage or holding the valve off its seat
- EGR temperature sensor coated in soot or drifted out of range (Nissan, Mazda and similar systems)
- Vacuum control fault: cracked hose, leaking backpressure transducer (BPT) or stuck EGR solenoid
- EGR valve diaphragm ruptured or electric actuator sluggish
- MAF or MAP sensor reading off, so the ECU miscalculates the expected flow
- Restricted EGR cooler or rusted-through steel EGR tube
Diagnosis step by step
Find out how your engine measures EGR
Before testing anything, work out which feedback the ECU uses: an EGR temperature sensor, a manifold pressure or DPFE signal, or a MAF-based calculation. The live data list on your scan tool gives it away, and it decides which of the tests below matters most.
Tools: OBD-II scanner
Log the EGR temperature PID (if fitted)
With the engine warm, drive at a steady 45–55 mph for a few minutes while recording EGR temperature. It should climb far above coolant temperature, usually past 300 °F, once EGR is active; a value that barely moves means either no flow or a dead sensor. On a cold engine the sensor should read close to ambient, otherwise it has drifted.
Tools: OBD-II scanner
Force the valve open at idle
Apply vacuum to a vacuum-operated valve with a hand pump, or command an electric valve open with the scan tool. A healthy system makes the idle stumble or die within seconds. If nothing changes, the passage is blocked or the valve isn't moving.
Tools: Vacuum gauge, OBD-II scanner
Check the vacuum path and BPT valve
Tee a gauge into the hose at the EGR valve and hold about 2,000 rpm with a warm engine: vacuum should appear when the solenoid is energized. Systems with a backpressure transducer need exhaust pressure to open the port, so a rusted EGR tube or a leaking transducer diaphragm stops vacuum from ever reaching the valve.
Tools: Vacuum gauge, Flashlight
Inspect the port and the temperature sensor
Remove the valve and the temperature sensor and look into the passage with a light. Scrape hard carbon off the port and the sensor tip; a sensor buried in soot responds slowly even when flow is fine. Check sensor resistance against the spec for its current temperature before reinstalling it.
Tools: Screwdriver, Flashlight, Multimeter
Run the monitor and confirm
Clear the code and drive a cycle with a full warm-up, steady cruising and a few gentle decelerations. Many Nissan and Mazda EGR monitors only run in a narrow speed and load window, so check the EGR readiness flag rather than just waiting to see whether the light returns.
Tools: OBD-II scanner
Where the parts are
- 1MAF sensor
- 2Turbocharger
- 3Throttle body
- 4Intake manifold
- 5Fuel injector
- 6EGR valve
- 7Fuel pump
- 8Thermostat
Repair options & costs
| Repair | DIY? | Estimated cost |
|---|---|---|
| Clean EGR valve, port and temperature sensor | Yes | $100–$350 |
| Replace EGR temperature sensor | Yes | $80–$250 |
| Replace EGR solenoid, BPT valve or vacuum hoses | Yes | $70–$250 |
| Replace EGR valve | No | $220–$650 |
| Replace rusted EGR tube or restricted EGR cooler | No | $300–$1,200 |
Rough US estimates for parts and labor; shop rates vary by region. Not a quote.
Notes by brand
Nissan
Many Nissan four-cylinders and V6s of the late 1990s and 2000s (Altima, Sentra, Frontier and Pathfinder among them) use an EGR temperature sensor together with a backpressure transducer (BPT) valve. A sooted-up temperature sensor or a leaking BPT diaphragm is the usual P0400 culprit on these cars rather than the EGR valve itself.
Mazda
Mazda four-cylinders of the same era judge EGR flow from the intake pressure signal and feed exhaust through small ports in the intake that clog with carbon. Cleaning those ports, not just the valve, is what usually clears P0400.
Emissions / smog test impact
Will fail
P0400 with the check engine light on fails any OBD-based smog check, and the EGR monitor reads 'not ready' after clearing until a full drive cycle completes. Older vehicles that still get a tailpipe test can also fail on NOx when EGR isn't flowing.
Frequently asked questions
How is P0400 different from P0401 and P0402?
P0401 means the ECU measured too little EGR flow, P0402 too much. P0400 is the umbrella code used mostly by Asian and some European makes when the feedback simply doesn't match expectations, so you have to work out the direction yourself: pinging suggests too little, a rough idle suggests too much.
Can a bad EGR temperature sensor set P0400 even if the valve works?
Yes, and it's one of the most common causes on Nissan-type systems. The ECU only knows flow is happening because the sensor heats up; a sensor coated in soot or drifted out of range reports no flow no matter how well the valve opens.
Is it safe to keep driving with P0400?
Generally yes. The risks are pinging under load on gasoline engines and higher NOx, not a breakdown. Fix it before an emissions test and before towing or long mountain climbs.
Why does P0400 only show up after highway trips?
The EGR monitor runs under specific conditions, usually a warm engine at steady cruise, so the code can only set on trips that include that window. Short urban trips never trigger the test, which makes the light look random.
Sources
- SAE J2012 – Diagnostic Trouble Code Definitions
- ISO 15031-6 – Road vehicles, diagnostic trouble code definitions (EOBD)
- US EPA – On-Board Diagnostics (OBD) program
- Manufacturer public service information (cross-checked)
- Methodology: How We Build Code Pages · Data Sources We Use · Editorial Policy