Diagnostics
11 min readP0402 Code on a Diesel Truck: EGR Flow Excessive Diagnosis and Fix [2026 Diagnostic Guide]
Quick answer
P0402 means the ECM measured more EGR flow than commanded—usually a stuck-open valve, leaking seat, or bad sensor. Command-close test before replacing parts.
- P0402
- EGR
- OBD-II
- diesel diagnostics
P0402 is the mirror image of P0401, and it catches a lot of techs off guard because the truck often feels worse to drive. When the ECM sees more exhaust gas recirculation than it asked for, you get a diluted intake charge, rough idle, and hesitation that shows up before anyone opens a service manual.
What Triggers a P0402 Code
P0402 (EGR Flow Excessive Detected) sets when the ECM commands the EGR valve closed or partially open and measures more exhaust gas recirculation than the calibrated limit—via position feedback, differential pressure across an orifice, or intake temperature change—within its test window, usually during decel, idle, or light-load cruise.
This is a generic OBD-II code, so it appears on 6.7L Cummins Rams, Duramax pickups, Power Strokes, and many medium-duty diesels using the same SAE fault definition. The hardware differs—electric stepper motor valves, vacuum-actuated valves, delta-pressure feedback EGR (DPFE)—but the ECM logic is the same: commanded flow versus measured flow did not match, and this time there was too much, not too little.
How EGR Flow Excessive Actually Happens (Plain English)
EGR routes metered exhaust back into the intake to lower peak combustion temperature and cut NOx. Under light load, the ECM opens the valve a calculated amount. Under acceleration or heavy load, it commands the valve closed so the engine gets a full, dense intake charge.
When P0402 sets, one of three things broke that contract: the valve cannot close (carbon-bound pintle, failed stepper motor, stuck vacuum diaphragm), exhaust leaks past a worn valve seat even when the valve appears closed, or the feedback circuit reports high flow when little or none is actually moving (shorted position sensor, contaminated DPFE hoses, wiring fault).
On high-mileage diesels, a carbon-coked EGR valve that hangs open 10–30% at idle is the most common shop finding. The second most common is a position sensor that reads high regardless of actual valve movement—a false positive that sends you chasing a valve that tests fine on the bench.
Symptoms You'll Notice Before the Code Sets
- Rough or loping idle, especially after a hot soak when carbon expansion makes a sticky valve worse.
- Hesitation or stumble on light throttle tip-in—the engine is trying to accelerate on a diluted air charge.
- Gray or white smoke at idle that clears once you load the engine and the ECM commands more fuel.
- A rattling or ticking sound from the EGR area when the valve chatters between open and commanded-closed.
- Slight loss of power under load on some platforms, though many drivers only notice the idle complaint.
- A companion P0401 or P0405/P0406 sensor code that points more directly at the EGR circuit.
If you are also seeing a derate, DEF warnings, or DPF soot-load codes, treat those as separate faults. P0402 by itself rarely triggers an aftertreatment derate, but stacked codes change the diagnostic picture—check your live fault code lookup before you start swapping parts.
Symptom → Code → Root Cause → Fix Quick Reference
| Symptom pattern | Related codes | Most likely root cause | First fix to try |
|---|---|---|---|
| Rough idle only when hot | P0402 alone | Carbon-bound EGR valve hanging open | Command valve closed, inspect for partial opening, clean or replace valve |
| Rough idle cold and hot | P0402 + P0405/P0406 | Position sensor drift or wiring fault | Back-probe sensor, compare to commanded position with bi-directional control |
| Idle rough, power OK loaded | P0402, sometimes P0401 stacked | Leaking EGR seat or cooler internal leak | Pressure-test EGR circuit, inspect cooler for exhaust bypass |
| Idle rough after EGR service | P0402 new | Misadjusted valve, pinched DPFE hose, leftover gasket debris | Re-check installation, verify hose routing and connector seating |
| Intermittent P0402 | P0402 sporadic | Corroded connector, moisture in harness | Wiggle test at connector, inspect for green corrosion on pins |
Step-by-Step Diagnostic Sequence
- Pull full freeze-frame data, not just the active code. Note engine coolant temp, RPM, calculated load, and intake air temp when P0402 set—a code that only appears cold vs. hot narrows the suspect list fast.
- Read live EGR commanded vs. actual position at idle with a scan tool. If commanded is 0% and actual reads 15–40%, you have a stuck-open valve or a lying sensor. Log both values through a drive cycle.
- Command the EGR valve closed with bi-directional controls (Cummins INSITE, Ford IDS/FDRS, GM factory scan tool, or Diesel Laptops on mixed fleets). Watch actual position track to zero. A valve that will not close confirms a mechanical fault.
- Command the valve fully open, then fully closed several times. Listen for binding or slow return. Carbon-bound pintles often move open freely but drag closed.
- Inspect DPFE hoses and pressure reference lines on delta-pressure systems. Cracked, oil-soaked, or reversed hoses produce false high-flow readings even when the valve is closed.
- Back-probe the EGR position sensor with a multimeter at key-on, engine-off and compare voltage to OEM spec at 0% and 100% commanded. A voltage stuck high with the valve visually closed is a sensor or wiring fault.
- Check for exhaust leaks at the EGR valve gasket and cooler flanges. A leak upstream of the flow sensor can mimic excessive measured flow on some platforms.
- Road test with data logging after repair. Confirm actual EGR position tracks commanded across idle, cruise, and decel before you release the truck.
Platform-Specific Notes: 6.7 Cummins, Duramax, Power Stroke
| Platform | Common P0402 root cause | Tool notes |
|---|---|---|
| 6.7L Cummins (Ram) | EGR valve carbon-bound open, cooler internal fouling | Cummins INSITE shows EGR actual vs. commanded on one screen; use bi-directional close command at idle |
| Duramax (LML/L5P) | Sticky EGR pintle, position sensor drift | GM GDS2 or Diesel Laptops for valve command; LML coolers also foul and restrict flow |
| Power Stroke (6.7L) | EGR valve stepper motor failure, DPFE hose deterioration | Ford IDS/FDRS for actuator test; inspect rubber DPFE lines for heat cracking |
| Mixed-fleet shop | Any of the above plus connector corrosion | Jaltest or Noregon JPRO for quick cross-brand live data before switching to OEM software |
Each platform reports the same generic P0402, but the physical layout matters. A Cummins EGR valve sits in a different heat-soak environment than a Duramax unit, and vacuum-actuated valves on older platforms add a solenoid and vacuum reservoir to the test plan.
Common Misdiagnoses (What Techs Get Wrong)
- Replacing the EGR valve without commanding it closed first—many "failed" valves are carbon-bound and cleanable, and some replacements come back with P0402 because the root cause was a sensor, not the valve.
- Assuming P0402 and P0401 cannot coexist—they often stack when a valve chatters between stuck-open and stuck-closed positions, or when a sensor drifts in both directions across temperature.
- Blaming the turbo or MAF for rough idle when live data shows EGR actual position high at idle with commanded at zero.
- Clearing the code and calling it fixed after a cold start with no load—the ECM retests EGR flow during decel and light cruise, not just at the shop bay.
- Overlooking a pinched or reversed DPFE hose after an EGR cooler job, which sets P0402 immediately on the first drive cycle.
Before: Tech sees P0402, orders a new EGR valve, installs it, truck idles smooth for one day, code returns because a cracked DPFE hose was never inspected. After: Tech commands valve closed, confirms valve seats properly, finds a split DPFE reference hose—$12 in hose and ten minutes of labor, code stays clear.
Repair Options and Real Cost Ranges
| Repair path | Typical cost range | When it applies |
|---|---|---|
| Clean EGR valve and seat | $150–$350 (shop labor) | Valve moves but binds closed; carbon on pintle and seat confirmed |
| Replace EGR valve | $300–$750 parts + labor | Valve fails bi-directional close command or pintle is worn |
| Replace position/DPFE sensor | $120–$300 | Sensor voltage wrong with valve visually confirmed closed |
| Repair wiring or connector | $80–$250 | Corrosion, broken pin, or short traced to harness |
| Replace EGR cooler | $500–$1,400+ | Internal cooler leak bypassing valve control; coolant in exhaust |
| Wrong diagnosis path | Correct diagnosis path | |
|---|---|---|
| First action | Replace EGR valve based on code description | Command valve closed, compare actual vs. commanded live data |
| Parts cost | $300–$750 for a valve that was not stuck open | $120–$300 for sensor or hose, or $150–$350 to clean a carbon-bound valve |
| Downtime | Truck returns with same code after brief improvement | Diagnosed and fixed in one visit |
| Outcome | Second comeback, customer loses trust | Code clears and stays clear through full drive cycle |
P0402 vs. P0401: Why the Difference Matters
P0401 means the ECM asked for more EGR than it measured—restricted flow, stuck-closed valve, clogged passage. P0402 means the opposite: more flow than commanded—stuck-open valve, leaking seat, or false high sensor reading.
They feel different behind the wheel. P0401 often drives normally; P0402 usually brings rough idle and hesitation because excess exhaust dilutes the intake charge at low load. They can appear together on a chattering valve or a failing sensor that reads erratically in both directions.
The fix order differs too. P0401 starts with "can the valve open and is the path clear?" P0402 starts with "can the valve close and is the sensor telling the truth?" Running the wrong playbook wastes parts and shop time.
Prevention: Keeping the EGR Valve Closing Properly
- Use the correct engine oil and change it on schedule—soot-laden crankcase vapors accelerate carbon buildup on the EGR pintle and seat.
- Avoid extended idling and short-trip-only driving, which produce heavier soot and keep the EGR valve in its most carbon-prone operating range.
- During any intake or turbo service, inspect the EGR valve stroke by hand—binding you catch at 80,000 miles prevents a P0402 at 150,000.
- On platforms with DPFE hoses, replace heat-brittled rubber lines at the first sign of cracking rather than waiting for a false flow reading.
FAQ
What does code P0402 mean on a diesel truck?
It means the engine control module commanded the EGR valve to a specific position—usually closed or partially open—and measured more exhaust gas recirculation than the calibrated limit. The ECM uses position sensors, differential pressure, or intake temperature change to verify flow, and P0402 indicates too much flow, not too little.
What is the difference between P0401 and P0402?
P0401 is EGR flow insufficient—the ECM wanted more EGR than it measured. P0402 is EGR flow excessive—the ECM got more EGR than it commanded. They point to opposite failure modes: restriction or stuck-closed on P0401, stuck-open, leaking seat, or false high sensor reading on P0402.
Can I still drive with a P0402 code?
Short distances, usually yes, but expect rough idle, hesitation on light throttle, and higher emissions. The truck is not typically in a derate from P0402 alone, but the diluted intake charge can cause stumble in traffic. Get it diagnosed before your next emissions inspection—the MIL will fail most state tests.
What usually causes P0402 on a diesel?
The most common mechanical cause is a carbon-bound EGR valve that hangs partially open at idle. A leaking valve seat, failed stepper motor that cannot drive closed, and a position sensor or DPFE hose fault that reports high flow when the valve is actually closed are the next most frequent findings.
How do you test for P0402 EGR flow excessive?
Use a scan tool with bi-directional controls to command the EGR valve fully closed at idle while watching actual position feedback. If actual reads high with commanded at zero, inspect the valve for binding, test the position sensor voltage against spec, and check DPFE hoses on delta-pressure systems.
Will cleaning the EGR valve fix P0402?
Often, yes—if carbon on the pintle and seat is preventing the valve from seating fully. Cleaning will not fix a failed stepper motor, a worn seat, or a sensor that reads high regardless of valve position. Confirm close command and feedback before you decide between cleaning and replacement.
How much does it cost to fix a P0402 code?
Cleaning a carbon-bound valve typically runs $150–$350 in shop labor. A confirmed bad valve runs $300–$750 depending on platform. Sensor, hose, or wiring repairs commonly fall in the $80–$300 range. EGR cooler replacement, when internal leakage bypasses valve control, can run $500–$1,400 or more.
Can a bad turbo or intake leak cause P0402?
An intake leak downstream of the EGR entry can alter the pressure differential some systems use to calculate EGR flow, but it is not the typical cause. Start with EGR valve close command and sensor verification. If those check out, then investigate unmetered air leaks and exhaust backpressure as secondary suspects.
Fault codes covered in this guide
- Ford Power Stroke P-Code P0402 — EGR Valve / Flow Control
- OBD-II Diesel P-Code P0402 — Exhaust Gas Recirculation
- Caterpillar SPN 27 FMI 3 — EGR Valve Position Sensor Circuit
- Ford Power Stroke P-Code P0404 — EGR Position Sensor / Valve
- GM Duramax P-Code P0402 — EGR System
- All Brands Guide Inj-Return — Fuel Injectors