A bad EGR valve usually causes rough idle, a check engine light with a P0400-series code, surging or hesitation under light load, and sometimes a knocking or pinging sound. Average 2026 replacement cost runs $150 to $850 on gas engines, more on diesels. Cleaning the valve solves the problem in maybe a third of cases.

The exhaust gas recirculation valve routes a measured amount of cooled exhaust back into the intake manifold. That lowers combustion temperatures and cuts NOx emissions. When the valve sticks open, you get rough idle and stalling. When it sticks closed, you get pinging, higher NOx, and an emissions-test failure.

Symptoms in order of usefulness

Check engine light with P0400-series codes

The clearest accusation:

CodeMeaning
P0400EGR flow malfunction
P0401EGR insufficient flow
P0402EGR excessive flow (stuck open)
P0403EGR control circuit
P0404EGR circuit range/performance
P0405, P0406EGR sensor A circuit low/high
P0488EGR throttle position control range/performance (diesel)

P0401 means the valve is stuck closed or the passages are carboned up. P0402 means it is stuck open. Different symptoms, different fix paths.

Rough idle, stalling at stoplights

Almost always a stuck-open EGR valve. Exhaust gas getting into the intake at idle leans out the air-fuel mix more than the engine can tolerate. The idle gets rough, sometimes the engine stalls when you stop at a light. Re-starting it usually works fine. Driving down the road masks the problem because there is enough airflow to dilute the EGR.

Pinging or knocking under load

A stuck-closed EGR raises combustion temperature. On a gas engine that shows up as detonation (pinging) under load, especially on hills or when towing. The ECM eventually pulls timing to compensate, which drops power.

Hesitation or surging at light throttle

Light-throttle cruise (40 to 55 mph) is when the EGR is most active on a healthy engine. A sticky valve produces a hesitation or hunting feeling exactly in that range.

Failed emissions test, especially NOx

If your area runs a tailpipe or OBD2 emissions test, a stuck-closed EGR will spike NOx readings. A stuck-open EGR usually triggers an OBD readiness fault instead.

Black smoke on a diesel

EGR failures on modern diesels (6.7 Cummins, 6.7 Power Stroke, 6.6 Duramax, VW 2.0 TDI, Mercedes BlueTEC) often show up as black smoke under acceleration and reduced fuel economy. The DEF and DPF systems are tied in tightly, so an EGR fault frequently triggers a derate or limp mode.

When cleaning fixes it

Older non-electric EGR valves (vacuum-operated, mid-1990s through about 2008 on many domestics) often just need to come off the manifold and have the carbon deposits cleaned out with carb cleaner and a wire brush. Around 30% of P0401 codes on these engines clear after a thorough clean.

Newer electric EGR valves (most 2010+ vehicles) are less forgiving. The internal motor and position sensor either work or they do not. Cleaning the passages can buy time, but a valve that sticks once usually sticks again.

Cooler-equipped EGR systems (most modern diesels) have a separate EGR cooler that also clogs. Replacing the valve without addressing a clogged cooler just sets up the next failure.

2026 replacement cost

Engine typePartsLaborTotal
Common gas engine, accessible valve$50 to $250$100 to $250$150 to $500
Gas engine, buried valve (intake-off)$100 to $400$250 to $500$350 to $900
Modern diesel (6.7 Cummins, 6.7 PS, 6.6 Duramax)$300 to $900$400 to $1,000$700 to $1,900
EGR cooler at the same time (diesel)$400 to $1,200included aboveadd $500 to $1,500

Aftermarket Dorman, Standard, Hitachi, and Delphi EGR valves are usually fine. Avoid the no-name $30 valves. Out-of-spec position-sensor curves are common with cheap parts and will throw a P0405/P0406 fault within a few hundred miles.

Where the EGR valve sits

Usually bolted to the intake manifold near the firewall. On some engines (Honda K-series, GM 3.6 LFX, many Fords) it is under the throttle body. On modern diesels the EGR valve is part of an assembly with the cooler and tubes that runs from the exhaust manifold to the intake.

If the valve is buried under the upper intake, the labor goes up significantly. Get a quote before committing.

What kills EGR valves

  • Carbon and oil mist from the PCV system. A failing PCV valve dumps oil vapor into the intake, which coats the EGR with sticky residue.
  • Short-trip driving that never gets the engine fully warm.
  • On diesels: a clogged DPF that raises back pressure and forces the EGR to work against higher exhaust pressure.

Running the engine on a sustained highway run every few weeks helps keep the EGR passages cleaner on gas engines. There is no equivalent shortcut on a modern diesel: a clogged EGR cooler comes out eventually, period.