P0400 — Exhaust Gas Recirculation Flow Malfunction
P0400 means the ECM detected a general EGR flow fault: the measured or inferred EGR flow does not match what it commanded. On heavy diesels, flow is usually calculated from an EGR differential pressure sensor or venturi, EGR temperatures and valve position, so many different faults can set this code.
What this means for truckers
Service within a few days on a Cummins X15, Detroit DD15, PACCAR MX-13. Performance is likely degraded. Continuing to drive without service risks additional component damage.
Before you replace parts — try this first
P0400 on the Emissions system is most often sticking or carboned-up egr valve — not a dead part. On commercial diesels especially, work these in order before spending money on parts:
- Confirm the symptoms. Match what your truck is doing to the Symptoms section below. If the code is set but the symptoms are not there, clear the code and re-test after a drive cycle — it may not return.
- Clean and dry the sensor connector. Water, road salt, or oil seeping into a connector is the #1 fake sensor failure. Disconnect, look for green corrosion or moisture, spray with electrical contact cleaner, dry, reseat. Many faults clear here for $0.
- Inspect the wiring harness. Trace the wire from the sensor toward the ECM — look for chafing against the engine block, melted insulation near the turbo or exhaust, or pinch points where a clamp has rubbed through.
- Test the sensor before swapping it. Most Common Causes (below) list the expected voltage or resistance range — a $20 multimeter saves a $300 sensor swap that does not fix the problem.
- Only then, replace the part. Use the OEM or a tier-1 aftermarket. Cheap sensors throw the same code in two weeks.
Symptoms
Check-engine light and possible engine derate. If flow is too high, expect black smoke, lost power, higher soot loading and more frequent DPF regens on diesels, or rough idle and stalling on gas engines. If flow is too low, the truck often drives normally but NOx rises, which can lead to higher DEF use or NOx-related codes on SCR-equipped diesels.
Common causes
- CommonSticking or carboned-up EGR valve ($600–$2500)
- CommonFaulty EGR differential pressure sensor or plugged sensor lines ($200–$700)
- OccasionalRestricted or leaking EGR cooler ($1500–$5000)
- OccasionalLeaking EGR pipes, clamps or gaskets ($200–$900)
- OccasionalEGR actuator wiring or connector fault ($100–$500)
How to fix
Affects most
No specific vehicle pattern found in our complaint database. This code can appear on any vehicle that supports OBD-II diagnostics.
Related
- → Browse all DTC trouble codes
- → Decode a VIN to check codes for your truck
- → Owner-operator maintenance guides
- → P0401 — Exhaust Gas Recirculation Flow Insufficient Detected
- → P0402 — Exhaust Gas Recirculation Flow Excessive Detected
- → P0420 — Catalyst System Efficiency Below Threshold (Bank 1)
- → P0421 — Warm Up Catalyst Efficiency Below Threshold (Bank 1)
- → P0430 — Catalyst System Efficiency Below Threshold (Bank 2)