P0400 Mercedes Code: Causes, Symptoms and EGR Checks
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A P0400 Mercedes code means the engine computer has found exhaust gas recirculation flow that does not match what it commanded. The EGR system is supposed to send a measured amount of exhaust back into the intake, and the code flags a mismatch in that flow.
Carbon in the EGR passages and a sensor that reads wrong are the usual suspects. Check and clean the system before you replace the valve, and diagnose the code within days rather than months.
What P0400 Means on a Mercedes
P0400 is a general exhaust gas recirculation flow fault. The code does not say whether flow is too high or too low, only that the computer’s test did not show the expected result.
EGR works by sending part of the exhaust back to the cylinders. The recirculated gas takes up space that fresh air would fill, which cools combustion and reduces the NOx that forms at high temperature, according to Wikipedia’s exhaust gas recirculation article.
CarWhere explains that the powertrain control module opens the EGR valve under certain cruise conditions and checks for a response, such as a change in intake manifold pressure or EGR position feedback. If the response does not match the command, the code sets. Test methods and limits vary by manufacturer, so the Mercedes service information is the final word on the exact test. If you want to see how the same fault shows up on another make, read our guide to P0400 Mazda.

Common Causes of P0400 on Mercedes Engines
Carbon buildup is a common cause, and it often clogs more than one part at once. Stuck valves, failed sensors and vacuum faults come next, and each one can set the same code.
- A carbon-clogged EGR valve or clogged passages
- An EGR valve stuck open or closed
- A failed EGR position or differential pressure feedback sensor
- A stuck-closed EGR solenoid or failed valve motor
- A cracked, restricted or misrouted vacuum line
- A clogged catalytic converter or a faulty MAF sensor
Samarins notes a Mercedes-specific pattern: a clogged EGR tube was a common cause of P0400 in some late 1990s and early 2000s Mercedes-Benz cars. Cleaning that tube means removing the EGR valve, so plan for the extra labor.
Carbon in one part often means other passages are clogged too. Samarins advises checking the whole EGR system, not only the valve, before you decide that the valve has failed.
Scope boundary: if the catalytic converter is clogged or the MAF sensor is faulty, cleaning the EGR will not clear the code. Those faults need their own tests. Owners of other makes can check the matching guide: P0400 Code.
Symptoms of a P0400 Mercedes Code
The check engine light is usually the first sign, and a light knock or ping under light load often comes with it. Some cars show no drivability change at all, so the light may be the only clue.
A valve stuck open usually causes a rough idle, and in some cases stalling. A valve stuck closed usually reduces power instead. Carista also notes that NOx emissions can rise, and the car will fail an OBD-II emissions test until the EGR monitor completes clean.
- Check engine light
- Pinging or knocking under light load
- Rough idle or stalling when the valve is stuck open
- Reduced power when the valve is stuck closed
- Failed emissions test until the EGR monitor completes
Samarins says driving is usually fine if the cause is minor, such as a faulty EGR temperature sensor. A malfunctioning EGR system can still raise combustion temperatures and eventually damage the engine, so do not let the code sit for months. P0441 Mercedes covers another issue owners of this vehicle run into.

How to Diagnose P0400 Step by Step
Start with the freeze frame data and the vacuum lines, then test the valve operation with a scan tool. Most of the cheap checks come before any part is removed.
- Scan all codes, record freeze frame data, and deal with any related EGR codes first.
- Check the vacuum line routing and look for cracks, disconnections or misrouting.
- Inspect the connectors and wiring to the EGR valve, solenoid and sensors.
- Command the EGR valve open at idle with a scan tool. The engine should stumble slightly, as Carista describes.
- Compare live EGR position or feedback readings with the commanded value.
- If idle does not change when the valve opens, remove the valve and clean the passages.
- Check the catalytic converter and the MAF sensor if the EGR tests pass.
The sources read did not give Mercedes test values for the EGR valve or sensor. Use the factory service information for your model before you judge a resistance or a position reading, because the limits differ by model and year. If a second code shows up during the scan, P0480 Mercedes could be the next stop.
Repair Cost and When Cleaning Is Enough
Cleaning a carbon-clogged valve and its passages is the cheapest fix, and Wikipedia notes that clogged EGR valves can sometimes be cleaned. A faulty valve or sensor needs replacement, and Carista estimates a repair range of 100 to 600 British pounds for this code.
Trade-off: cleaning costs less, but it does not fix a clogged catalytic converter or a bad vacuum line. A new valve costs more, and it only helps when the valve itself has failed. For tools that help with this kind of work, check Best Bidirectional Scanners with Topology Mapping.
Skip the valve swap until a cleaning and a live test point to the valve. A part swap without that test leaves the real cause in place.
Frequently Asked Questions
Is P0400 on a Mercedes just carbon?
Often it is carbon, but not always. Carbon restricting the EGR passages is a common cause, while a stuck valve, a failed position sensor or a vacuum leak can set the same code. Test the system before you clean or buy parts.
Can I drive a Mercedes with P0400?
Samarins says driving is usually fine when the cause is minor. A malfunctioning EGR can still raise combustion temperatures and damage the engine over time, so get the code diagnosed within days, not months.
Will P0400 make the car fail an emissions test?
Yes, Carista says the car will fail an OBD-II emissions test until the EGR monitor completes clean during a drive cycle. After a repair, a few normal drives let the monitor finish and clear the test.
Can cleaning the EGR fix P0400?
Sometimes. Wikipedia says clogged EGR valves can sometimes be cleaned, but a faulty valve must be replaced. Confirm the valve responds when commanded open before you decide between cleaning and replacement.
Test the system first, clean the passages, and replace the valve or sensor only when the test confirms a fault. Then drive the car so the EGR monitor can finish and show a clean result.
-
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
LearnP0442 Mercedes Code: What It Means and How to Fix It
Learnp0463 mercedes: Diagnose the Fuel Level Sensor Fault
LearnP0480 Mercedes: Diagnose Cooling Fan Problems and Prevent Overheating
LearnP0461 Mercedes: Diagnose Fuel Gauge and Sensor Problems
LearnP0440 Mercedes: Diagnose EVAP System Faults and Avoid Unnecessary Repairs
LearnSymptoms of a Bad Thermostat: What to Check Before You Replace Parts