P0402 Code: What It Means and How to Fix It
7 min read · by Nicole Bennett · Last updated: November 6, 2026
A p0402 code means the engine computer has detected more exhaust gas recirculation (EGR) flow than it expects. The fix depends on the cause, so start with the simplest checks and move toward the more expensive ones.
Rough idle and stalling are the symptoms reported most often, and they are reasons to have the car checked soon. The exact test differs by make, so the service information for your vehicle comes first.
What the P0402 Code Means
P0402 is a generic OBD-II code that sets when the actual EGR flow is higher than the expected value. The engine control module or powertrain control module sets it when it sees that condition.
TaT’s reference for P0402 gives this definition. Some manufacturers use their own wording for the same idea, such as “EGR A Flow Excessive,” so the label on your scan report may differ.
How EGR Works and Why Flow Matters
EGR sends part of the spent exhaust back into the cylinders, where it displaces fresh air. The main purpose is to cut nitrogen oxide (NOx). NOx forms when nitrogen and oxygen are exposed to high temperature, and the recirculated exhaust lowers peak combustion temperature.
In a typical spark-ignition engine, roughly 5% to 15% of the exhaust is routed back, according to Wikipedia’s exhaust gas recirculation article. That article also explains that EGR is normally kept out of the cycle at idle because it would cause unstable combustion and a rough idle.

That idle behavior is why flow seen at idle is a useful clue. When the computer expects no EGR flow at idle and still measures it, the code can set.
- The valve is the part that opens and closes the EGR passage.
- Carbon buildup can stop the valve from working properly.
- A clogged valve can sometimes be cleaned, but a faulty valve must be replaced.
Common Causes of a P0402 Code
The most reported causes are a valve stuck open, faulty sensors and abnormal exhaust pressure. TaT lists these three as general causes. Its detailed diagnosis is available only to members. A fault in the EGR control circuit sets a different code, covered in our P0403 code guide.
- A valve stuck open, which lets exhaust in when it should stay closed.
- Sensor faults that send the wrong signal to the computer.
- Abnormal exhaust pressure, measured through the back pressure transducer on some vehicles.
- Wiring faults or damaged hoses in the EGR circuit, which the Nissan test list includes.
The test logic differs by make. The reference at dtcsearch.com lists the checks below, but it does not give test values or a repair procedure.
| Make | What the computer checks | Listed causes or notes |
|---|---|---|
| Ford | DPFE sensor signal at closed-loop idle | EGR gas flow present when it should not be |
| GM | Intake manifold pressure during an EGR test with EGR commanded on | Pressure above the calculated limit, with no PCM codes stored |
| Nissan | EGR system and related signals | Wiring, EGR valve, back pressure transducer, hoses, CMP and MAF sensors, EGR/EVAP valve, ECM |
Symptoms and When to Get It Checked
Rough idling, hesitation and stalling are the symptoms most often tied to a P0402 code and excess EGR flow. TaT’s reference says excessive flow can cause these problems because the air-fuel mixture becomes overly rich.

Too much EGR can also stop the mixture from sustaining a continuous flame in a spark-ignition engine. The result can be misfires and partial burns. A single-cylinder misfire code, such as P0305 for cylinder 5, has its own causes. If the idle is rough with no EGR code, the P0505 idle control system guide is the next place to look.
- Rough idle at a stop or in park
- Hesitation when you press the accelerator
- Stalling, especially at low speed
- Misfires or partial burns felt as a shaky engine
Step-by-Step Diagnosis for a P0402 Code
Diagnose the cheapest and simplest checks first. This order is a general plan, not a manufacturer procedure, so confirm each test value in your service information.
- Record the code and any other codes stored with it, plus freeze-frame data if your tool shows it.
- Inspect the EGR hoses and connections for cracks, leaks and loose clamps.
- Check the EGR valve and its passages for carbon buildup.
- Check the wiring and connectors to the EGR valve, sensors and back pressure transducer.
- Compare sensor readings at idle with the test values in the service information.
A generic scanner usually reads and clears codes, and our guide to using an OBD2 scanner shows how to read and record them. According to TaT’s reference, live data, freeze-frame capture and bidirectional tests need a more capable tool that supports the vehicle’s module protocol.
Is a P0402 Code Safe to Drive With?
A P0402 code with stalling or a rough idle is a reason to stop driving and have the car inspected soon. Stalling is the symptom that matters most, because an engine that cuts out in traffic is a safety problem.
- Stalling or near-stalling: pull over when it is safe and arrange a tow or inspection.
- Rough idle without stalling: book a diagnostic check soon.
- P0402 code only, normal driving: find the cause before a long trip.
Clearing a P0402 code without a repair only hides the message. The code returns if the EGR flow is still too high.
What This Guide Has Not Verified
The repair cost, the exact test values and the vehicle scope for a P0402 code are not confirmed in this guide. No repair price appears here, because none came from a source that stated its date.
- Repair cost by cause: ask an independent shop or dealer for an itemized estimate, and see our EGR valve replacement cost guide for price ranges.
- Test values and pass or fail limits: check the vehicle’s service information.
- Vehicle scope for make, model and year: confirm with the dealer by VIN or check the owner’s manual.
- Engine family: find it on the owner’s manual or the engine label.
If the engine stalls, pull over when it is safe and arrange an inspection rather than driving it daily. A repair shop can match the code to your vehicle’s test values and give you a written estimate before any work starts.
Frequently Asked Questions
Will clearing the P0402 code fix the problem?
No. Clearing the code removes the stored message, but the code returns if the EGR flow is still too high. Find the cause first, then clear the code after the repair.
Can a clogged EGR valve cause a P0402 code?
Carbon buildup can keep the valve from working properly, which is one possible cause of excess flow. A clogged valve can sometimes be cleaned, but a faulty valve must be replaced.
Is the P0402 code the same on every car?
P0402 is a generic code, but makers use their own wording and test logic. Ford checks the DPFE sensor and GM checks intake manifold pressure. Check the service information for your make and model.
Can a generic scanner diagnose a P0402 code?
A generic scanner usually reads and clears codes. Live data, freeze-frame capture and bidirectional tests need a more capable tool that supports your vehicle’s module protocol.
Does a P0402 code always mean the EGR valve is bad?
No. The code can come from wiring, sensors, hoses, exhaust pressure or the computer itself. The EGR valve is one possible cause among several, so test before you replace it.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0402 Honda: Find the Cause of Excessive EGR Flow
LearnP0402 Ford Code: Excessive EGR Flow, DPFE Sensor and Valve Checks
LearnP0402 Chrysler: Diagnose Excessive EGR Flow and Find the Cause
LearnP0402 Subaru: Diagnose Excessive EGR Flow and Find the Cause
LearnP0402 Ram: Diagnose Excessive EGR Flow and Avoid Unneeded Repairs
LearnP0303 Chevy Code: Cylinder 3 Misfire Causes and Swap Test