P0400 Subaru Code: EGR Flow Causes and Fixes
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A p0400 Subaru code means the exhaust gas recirculation system is flowing less exhaust than the computer expects. Carbon in the EGR valve and its passages is the most common reason, though a sensor or wiring fault can set the same code.
Inspect the EGR path for carbon before you replace any part, because a clog in one passage often means the others are clogged too.
What the P0400 Code Means
P0400 is set when the EGR system flow is less than expected. The EGR system routes some exhaust back into the intake to lower combustion temperature and cut nitrogen oxide emissions, so a weak flow shows up in emissions as well as in the engine.
Samarins describes soot as the usual culprit, since it clogs the passages and tubes. A valve that is coated in carbon cannot move the flow the computer requests, so the code is often a sign of restriction rather than a failed electronic part. Seeing the code on another make? Start with P0400 Mazda.

Common Causes of P0400 on a Subaru
Samarins lists the causes in the order the page gives them, starting with the passages and the valve itself. The first items on that list are these:
- Clogged EGR passages and tubes
- A sticking or clogged EGR valve
- An EGR valve stuck open
- A clogged or leaking vacuum line to the EGR valve
- A problem with the EGR valve position sensor
- Misrouted vacuum lines or a faulty mass airflow sensor
Carista groups the causes differently, listing a carbon-clogged valve or passages, a failed EGR position or DPFE sensor, and a stuck-closed EGR solenoid or valve motor on electronic designs.
Subaru-Specific Checks
Samarins asks you to check the BPT valve along with the other EGR components on Subaru models, rather than the EGR valve alone. The page treats the EGR path as one system, which is why a single clogged part should prompt a look at the rest.
The same guide advises checking exhaust back pressure when a catalytic converter is suspected of being clogged. Samarins does not list Subaru model years or the EGR layout for each engine, so confirm the layout for your model before you start disassembly.

How to Test EGR Flow Without Guessing
A command test shows whether the EGR valve can open, which tells you if the valve can move before you condemn it. Work through the steps below in order.
- Command the EGR valve open with a scan tool and watch whether the engine responds.
- Inspect the valve and passages for carbon buildup.
- Test the EGR position or DPFE sensor for correct feedback.
- Clean or replace the EGR valve, and clear carbon from the passages before you condemn a part.
On some models, Samarins says that if the idle does not change when the EGR valve is commanded open, the passages should be checked and cleaned. That check is a practical first step before any new valve is bought. Owners of other makes can check the matching guide: P0400 Dodge.
Symptoms and Driving Risk
P0400 usually turns on the check engine light, and the car can fail an OBD-II emissions test until the EGR monitor passes during a drive cycle. Carista describes the rise in nitrogen oxide emissions as a symptom that often goes with the code.
A valve stuck open can cause a rough idle, and a valve stuck closed can reduce power. Carista also lists light-load knock as a possible sign, so do not ignore a rough idle or a knock while the code is stored.
Repair Steps That Save Money
Cleaning carbon from the EGR passages is the lowest-cost first repair, and it should come before any new valve. Carista recommends cleaning or replacing the EGR valve and clearing carbon from the passages.
If the sensor tests good and the passages are clean, check the vacuum lines and wiring before you replace the engine computer. Samarins lists computer problems last, after the physical and vacuum causes. For another common fault on this model, see P0480 Subaru.
Why the Carbon Keeps Coming Back
Carbon builds up in the EGR passages over time, and Samarins notes that a clog in one place often means other passages are clogged too. Cleaning only the valve can leave the passages restricted, so the whole path needs a look.
After cleaning, clear the code and drive the car through a full drive cycle. Carista notes that the EGR monitor must pass during a drive cycle, so the result shows whether the flow is back in the expected range.
If the code returns after the passages are clean, the cause is more likely a sensor, a vacuum line or wiring. Those checks come next, before any computer work.
How a Technician Confirms the Fix
A confirmed fix shows three things: the EGR command test moves the valve, the flow path reads normally, and the EGR monitor completes without the code returning. Check all three before you close the job.
Samarins lists engine computer problems last among the causes, so a computer replacement is not a first step. Keep the removed parts until the code stays off through a drive cycle, in case the fault was somewhere else. If the light returns with a different code, P0451 Subaru is a good next read.
Frequently Asked Questions
Can I still drive with a p0400 Subaru code?
Usually for short trips, but a rough idle, knock or power loss means you should stop and diagnose the EGR path first. Carista rates the severity of P0400 as Medium, so the code should be checked soon rather than ignored.
Does clearing the code fix P0400?
Clearing it only resets the light. Samarins lists clogs, sensors and vacuum leaks as the causes, so the code will return until the cause is fixed and the EGR monitor passes again.
Is a clogged EGR valve the most common cause?
Samarins lists clogged EGR passages first and a sticking or clogged valve second. Carbon is the common root of both, which is why cleaning often comes before replacement.
Can a sensor cause P0400 on its own?
Yes. Carista lists a failed EGR position or DPFE sensor giving bad feedback as one of the main causes, so the sensor should be tested before the valve is replaced.
Check the EGR path for carbon before you buy parts, because the low-cost fix is often the right one. If the passages are clean and the sensor tests good, move on to the vacuum lines and wiring.
-
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
LearnP0443 Subaru: Diagnose the EVAP Purge Circuit and Fix the Fault
LearnP0420 Subaru Outback Code: Converter Causes and Checks
LearnP0457 Subaru: Loose Gas Cap and EVAP Leak Checks
LearnP0420 Subaru Forester: Sensor Data, Causes and Safe Driving
LearnP0446 Subaru: Diagnose EVAP Vent Control Problems
LearnP0741 GMC: Diagnose a Torque Converter Clutch Problem