P0407 Code: Find the EGR Sensor Fault and Fix It
19 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0407 code means the engine control module has detected a voltage signal that is too low in the Exhaust Gas Recirculation (EGR) Sensor B circuit. This generic OBD-II powertrain code usually points to an electrical problem involving the EGR position sensor, wiring, connector, reference voltage, or ground connection. However, the exact sensor arrangement and diagnostic procedure depend on the vehicle.
The EGR system sends a controlled amount of exhaust gas back into the intake to reduce combustion temperatures and nitrogen oxide emissions. Sensor feedback helps the engine computer monitor EGR operation. When the Sensor B signal falls below the expected range, the computer can store P0407 and illuminate the Check Engine Light.
A failed sensor is one possible explanation, but replacing the EGR valve immediately is not a reliable repair strategy. A damaged wire, poor connector contact, missing reference voltage, or defective ground can produce the same code. This guide explains the symptoms, causes, scanner checks, diagnostic process, repair considerations, and driving risks.
What the P0407 Code Means
P0407 identifies a low electrical input from Exhaust Gas Recirculation Sensor B. The important distinction is that this is a circuit or feedback problem, not automatic proof that exhaust gas flow is too low.
OBD-II codes use a five-character format. The first character identifies the system, the second identifies whether the definition is generic or manufacturer-specific, and the remaining characters identify the particular fault. P0407 is a generic SAE powertrain code. Its basic definition is shared across manufacturers, although the exact sensor design and diagnostic thresholds can differ.
| Code element | Meaning |
|---|---|
| P | Powertrain fault involving engine, transmission, fuel, or emissions systems. |
| 0 | Generic SAE diagnostic trouble code. |
| 4 | EGR system fault-code family. |
| 0 | Identifies the particular diagnostic condition within the family. |
| 7 | Sensor B circuit signal is below the expected electrical range. |
Sensor B does not necessarily mean the second EGR valve or the second sensor physically mounted on the engine. Manufacturers use different EGR configurations, including systems with multiple position sensors, differential pressure sensors, and separate high-pressure and low-pressure circuits.
For example, Nissan service information for a documented Rogue application describes P0407 as an excessively low EGR differential pressure sensor signal. Other implementations monitor an EGR valve position feedback circuit. Therefore, the correct service information must match the vehicle identification number, model year, engine, and emissions configuration.
The EGR system reduces nitrogen oxide emissions by directing a measured quantity of exhaust gas into the intake. This lowers the oxygen concentration and combustion temperature under operating conditions where EGR is required. A fault in the feedback circuit can prevent the engine computer from controlling or verifying this process correctly.
P0407 should also be distinguished from nearby EGR codes. P0405 generally indicates a low Sensor A signal, P0406 indicates a high Sensor A signal, and P0408 indicates a high Sensor B signal. P0401 and P0402 concern insufficient and excessive EGR flow, respectively. These codes point toward different diagnostic paths.
Common Symptoms of an EGR Sensor B Fault
The most recognizable symptom is an illuminated Check Engine Light. Other symptoms depend on whether the computer can maintain EGR control and whether the underlying fault also affects valve operation or exhaust flow.

Some vehicles continue running almost normally because the computer uses backup strategies. Others experience noticeable drivability problems, particularly when the EGR valve operates incorrectly or the feedback signal prevents accurate control.
1. Check Engine Light
The Check Engine Light is the most common indication. The engine control module detects a signal outside its acceptable range and records the fault. Depending on the manufacturer’s diagnostic strategy, the light may appear immediately or after the fault occurs during more than one driving cycle.
A scanner may show P0407 as pending, stored, or permanent. A pending code means the computer has detected the condition but has not yet met all confirmation requirements. A stored code indicates that the fault has been confirmed. A permanent code cannot be removed simply by clearing the scanner memory.
2. Rough Idle or Engine Misfire
An EGR valve that does not operate correctly can disturb the balance between fresh air and recirculated exhaust gas. Excessive EGR flow at idle can cause unstable combustion, rough running, hesitation, or stalling.
An FCA technical communication about P0407 and P0408 describes customer complaints involving perceived power loss and misfires. It also lists possible accompanying codes such as P0300 and individual cylinder misfire codes P0301 through P0306. These symptoms are possible, not guaranteed.
3. Hesitation and Reduced Engine Power
Incorrect EGR feedback can cause the engine computer to restrict certain operations or use a fallback strategy. The driver may notice delayed acceleration, hesitation when pressing the throttle, or reduced pulling power.
On diesel vehicles, an EGR problem may also affect airflow management and emissions control. Some vehicles use both high-pressure and low-pressure EGR arrangements, with additional valves and exhaust coolers. A fault in one part of this system can influence other components.
4. Increased Emissions and Failed Inspection
An EGR system that cannot regulate exhaust recirculation properly may produce higher nitrogen oxide emissions. The Check Engine Light can also prevent a vehicle from passing an emissions inspection in states that require the malfunction indicator and emissions monitors to meet specific requirements.
Fuel economy can change as well, although the direction and size of the change depend on the engine and fault. A sensor circuit problem does not automatically mean the engine is consuming more fuel.
5. Additional EGR and Engine Codes
Related codes can provide useful clues. For example, P0408 may indicate a high Sensor B signal, while P0300 suggests random or multiple-cylinder misfires. P0401 can indicate insufficient EGR flow.
If P0407 appears with several related faults, diagnose the electrical feedback problem before assuming every additional code represents a separate failed component. A single sensor supply or wiring issue can affect multiple monitored functions. Codes in this range are close together, so if P0406 Code shows up as well, read that guide too.
Most Common Causes of P0407
P0407 usually requires checking the electrical circuit before replacing mechanical EGR components. The most useful starting points are the Sensor B signal wire, connector, reference voltage, ground, and sensor itself.

1. Faulty EGR Sensor B
An internal sensor failure can produce an abnormally low output signal even when the power supply and ground are correct. Depending on the design, the sensor may be integrated into the EGR valve assembly or installed separately.
Position sensors commonly use an electrical feedback signal to report movement or operating position. Other systems use differential pressure information to monitor exhaust flow. A failed internal sensing element can prevent the computer from receiving an accurate reading.
2. Damaged or Shorted Wiring
A signal wire shorted to ground can pull the Sensor B voltage below its expected range. An open circuit or damaged conductor can also cause an incorrect reading, depending on the circuit design and the computer’s monitoring strategy.
EGR wiring operates near hot engine and exhaust components. Heat, vibration, oil contamination, road debris, and previous repairs can damage the insulation or wiring terminals. Pay particular attention to harness sections near brackets, connectors, and hot exhaust components.
3. Corroded or Loose Electrical Connector
A loose connector, bent pin, corrosion, or moisture intrusion can interrupt the sensor signal. Even a connector that appears properly attached can have poor terminal contact inside its housing.
A connector problem may create an intermittent fault. The Check Engine Light might return after driving over rough roads or after the engine reaches operating temperature. A technician can monitor the signal while checking the harness for intermittent changes.
4. Missing Reference Voltage or Poor Ground
Many electronic sensors receive a regulated reference voltage from the engine computer. A common arrangement uses a 5-volt reference, a ground circuit, and a signal wire. If the reference supply is missing or the ground is defective, the output can become unreliable.
A shared reference circuit may supply multiple sensors. A short elsewhere on that circuit can affect more than one component. This is why checking related trouble codes and other sensor readings can prevent an unnecessary EGR replacement.
5. Carbon Deposits or a Mechanically Stuck EGR Valve
Carbon deposits can restrict EGR passages or interfere with valve movement. A valve that sticks open or closed may cause the actual position to disagree with the commanded position.
However, carbon buildup alone does not prove that the Sensor B circuit is electrically low. The electrical feedback system and mechanical valve operation should be tested separately. A mechanically restricted passage is more directly associated with flow-related codes such as P0401.
6. Faulty Engine Control Module
An internal PCM or ECM fault is possible, but it should be considered only after the sensor, reference supply, ground, wiring, and connectors have passed the appropriate tests.
Replacing an engine computer without proving that its input circuit is defective can create unnecessary expense and programming requirements. A professional should confirm the failure using the manufacturer’s circuit-testing procedure.
How to Diagnose P0407 With an OBD2 Scanner
An OBD2 scanner helps identify the fault, capture the conditions when it occurred, and monitor relevant sensor information. A basic code reader may retrieve P0407, but a more capable diagnostic scanner is useful for live data, manufacturer-specific information, and bidirectional testing.
Start with a complete scan before clearing anything. The goal is to determine whether the problem is electrical, mechanical, intermittent, or part of a wider emissions-system failure.
Step 1: Read All Diagnostic Trouble Codes
Connect the scanner to the 16-pin OBD-II diagnostic port, usually located beneath the dashboard on the driver side. Switch the ignition on and retrieve stored, pending, and permanent codes if the scanner supports all three categories.
Record every code before erasing anything. Look for P0405, P0406, P0408, P0401, P0402, and any accompanying misfire or voltage-related faults. Multiple sensor codes may indicate a shared electrical supply or ground problem.
Step 2: Review Freeze-Frame Data
Freeze-frame data records operating conditions when the computer detected a fault. Depending on the vehicle, available information can include engine speed, vehicle speed, coolant temperature, calculated load, intake air temperature, and battery voltage.
Check whether the code appeared during a cold start, warm idle, steady cruising, or acceleration. This information helps reproduce the conditions and identify intermittent wiring or temperature-related faults.
Step 3: Monitor EGR Sensor B Live Data
Open the scanner’s live-data menu and look for EGR Sensor B voltage, EGR position, EGR differential pressure, or related manufacturer-specific parameters. The available labels depend on the vehicle and scanner.
A reading that remains near zero when the manufacturer’s specification requires a changing signal is suspicious. However, do not apply one universal voltage threshold to every vehicle. Sensor architecture, reference voltage, signal scaling, and diagnostic limits differ between applications.
Compare Sensor B information with Sensor A if the vehicle provides both readings. Also compare commanded EGR position with actual position. If the commanded value changes but feedback remains fixed, investigate the sensor circuit and mechanical operation.
Step 4: Inspect the Sensor Connector and Harness
With the ignition switched off, inspect the accessible connector and wiring for visible damage. Look for broken insulation, corrosion, loose terminals, heat damage, oil contamination, and wiring that has rubbed against metal brackets.
A technician may perform an electrical wiggle test while monitoring live data. If the signal changes when a harness section moves, the affected wiring or connector deserves closer inspection. Avoid pulling on wires or disconnecting components while the circuit is energized.
Step 5: Check Reference Voltage and Ground
Use the correct vehicle wiring diagram and manufacturer specifications to identify the reference, ground, and signal terminals. Many systems use a 5-volt reference, but the terminal arrangement must never be assumed from another vehicle.
The documented Nissan Rogue procedure checks for approximately 5 volts at the EGR differential pressure sensor supply terminal. It also checks the sensor ground and signal circuits for continuity and shorts. These are vehicle-specific test instructions, not universal pin assignments.
If reference voltage is missing, investigate the supply circuit and any shared sensor circuits. If the supply is correct but the output remains low, test the ground and signal path before condemning the sensor.
Step 6: Perform an Appropriate EGR Functional Test
A bidirectional scanner may allow a qualified technician to command the EGR valve through different operating positions. The technician can compare the commanded movement with the sensor feedback and available pressure or airflow readings.
If the valve moves but Sensor B does not respond, the feedback circuit deserves attention. If the sensor signal changes correctly but airflow does not respond, investigate restricted passages, a sticking valve, or another mechanical issue.
Step 7: Check Additional Diagnostic Information
Fuel trims are useful supporting information on gasoline engines, although they are not direct tests of the EGR Sensor B circuit. Short-term and long-term fuel trims that exceed approximately plus or minus 10 percent combined can indicate a mixture problem. Values approaching 25 percent or more may trigger lean or rich trouble codes.
Mode $06 data can help when the vehicle exposes relevant EGR monitor results. Check manufacturer-specific test identification and limits rather than interpreting an isolated number without context. Not every vehicle reports a useful EGR test through generic Mode $06.
| Diagnostic finding | Possible interpretation | Next check |
|---|---|---|
| Sensor B signal remains unusually low. | Sensor failure or signal circuit problem. | Check reference, ground, signal, and sensor specifications. |
| Reference supply is missing. | Supply circuit or shared reference fault. | Inspect the reference wiring and related circuits. |
| Reference is correct but signal wire is shorted to ground. | Damaged harness or connector. | Locate and repair the short using the wiring diagram. |
| Signal changes but actual EGR movement is incorrect. | Possible sticking valve or restricted passage. | Perform an EGR functional and mechanical inspection. |
| Signal, wiring, and sensor pass testing. | Intermittent fault or controller-side problem. | Follow manufacturer diagnostic procedures. |
Tip: Do not replace the EGR valve just because P0407 appears on a scanner. First record freeze-frame data, compare Sensor A and Sensor B readings when available, and verify the reference voltage, ground, and signal circuit. Always use the vehicle-specific wiring diagram. EGR components and nearby exhaust parts can become extremely hot, so electrical and mechanical testing should be performed with appropriate precautions. Doing this job more than once? Best OBD2 Apps for All Cars covers tools that pay for themselves.
How to Fix P0407 and Prevent It From Returning
The correct repair depends on the diagnostic results. Some vehicles need a wiring repair or connector replacement, while others require a new sensor or EGR assembly. Cleaning a valve will not correct an electrical short or failed sensor.
Repair Damaged Wiring
If testing identifies a broken conductor, short to ground, or damaged insulation, repair the affected section using an automotive-grade repair method. The repaired wiring must have secure electrical connections and suitable protection against heat, vibration, and moisture.
Do not leave exposed copper or unsupported wiring near the exhaust system. A temporary electrical connection may allow the fault to disappear briefly but can fail again after several heat cycles or periods of vibration.
Clean or Replace the Connector
A corroded or contaminated connector may need professional cleaning or replacement. Damaged terminals should not simply be bent until they appear to make contact. Incorrect terminal tension can cause intermittent signals and repeat faults.
The connector seal should also be checked. If moisture entered because of a damaged seal, replacing the terminal or connector without correcting the source of water intrusion may not provide a lasting repair.
Replace a Defective EGR Sensor
If the reference voltage, ground, and signal wiring meet specifications but the sensor output remains incorrect, replacing the defective sensor may resolve P0407. Some designs allow the sensor to be serviced separately, while others require replacement of the complete EGR valve assembly.
Check the parts and service information for the exact vehicle. Some replacement components require calibration, relearning, or an EGR adaptation procedure before the system operates correctly.
Service a Sticking EGR Valve
If inspection confirms carbon deposits or mechanical sticking, the appropriate repair may involve cleaning accessible passages or replacing the affected valve. Cleaning is not appropriate for every design. Some electronic valves contain sensitive motors and position sensors that can be damaged by incorrect handling or cleaning chemicals.
A technician should also inspect associated passages, cooler connections, and control components where the vehicle’s EGR design requires them. Replacing only the valve may not resolve a restriction elsewhere in the system.
Verify the Repair
After the repair, clear codes only when appropriate and perform the manufacturer’s confirmation procedure. Recheck live Sensor B data and compare actual feedback with the expected operating range.
The vehicle may need a complete drive cycle before its emissions monitors finish running. A permanent code does not necessarily disappear immediately after a successful repair. The computer must confirm that the relevant monitor passes on its own.
What Affects Repair Cost?
Repair expense depends on the failed component, vehicle design, labor requirements, and diagnostic time. A simple connector repair is different from replacing an integrated EGR assembly or diagnosing an intermittent electrical fault.
- Sensor replacement: Depends on whether Sensor B is separately serviceable or integrated into the valve assembly.
- Wiring repair: Depends on harness accessibility, damaged wire length, connector condition, and repair complexity.
- EGR valve replacement: Depends on component design, mounting access, and whether additional parts require removal.
- Carbon cleaning: Depends on the extent of deposits and whether the cooler or intake passages also need attention.
- Diagnostic labor: Intermittent electrical faults can require additional testing and time to reproduce.
- Shop versus DIY: A professional repair includes diagnostic labor and equipment, while DIY work depends on the owner’s tools, experience, and access to accurate service information.
A reliable estimate should identify the failed component and explain why it needs replacement. Ask whether the quoted work includes diagnosis, installation, required programming or relearning, and post-repair verification. If your scanner also lists P0410 Code, that guide covers it.
Is It Safe to Drive With P0407?
A vehicle with P0407 may remain drivable if the Check Engine Light is steady and the engine runs normally. However, the fault should be diagnosed promptly because an EGR control problem can affect emissions, engine performance, and drivability.
The severity depends on the actual failure. A sensor circuit problem with no noticeable symptoms may present less immediate risk than a fault that leaves the EGR valve stuck in an incorrect position. A vehicle that stalls, misfires, or loses power unexpectedly should not be treated as safe for normal driving.
When Limited Driving May Be Possible
If the Check Engine Light is steady, the engine idles normally, acceleration is predictable, and there are no unusual noises or smells, a short trip to a repair facility may be reasonable. Avoid heavy acceleration, towing, high engine loads, and unnecessary journeys until the cause is identified.
Do not assume that normal driving behavior means the emissions system is operating correctly. The computer may have disabled part of the EGR strategy or adopted a backup operating mode.
When to Stop Driving
Stop driving when the engine stalls repeatedly, experiences severe misfires, loses substantial power, or develops symptoms that make controlling the vehicle difficult. A flashing Check Engine Light is especially important because it indicates an active misfire that can damage the catalytic converter.
Reduce engine load and arrange prompt professional inspection if the light flashes. If the vehicle runs very roughly, stalls, or cannot maintain safe speed, arrange a tow rather than continuing to drive.
Can P0407 Cause a Failed Emissions Test?
Yes. A confirmed emissions-related trouble code and an illuminated malfunction indicator can cause an inspection failure under applicable state testing rules. Even after a repair, the vehicle may not pass immediately if its required readiness monitors have not completed.
Avoid clearing codes immediately before an emissions inspection. Doing so can reset readiness monitors and create an incomplete-monitor result. Complete the required drive cycle and check readiness status with a scanner before returning for inspection.
The safest approach is to diagnose the fault, repair its actual cause, and confirm that the EGR monitor and other required emissions monitors have completed successfully.
Frequently Asked Questions
Can a P0407 code clear itself?
A pending fault may disappear if the computer no longer detects the problem during subsequent monitoring. A confirmed fault may turn off the Check Engine Light after successful driving cycles, but permanent codes require the relevant monitor to pass after the repair. Simply disconnecting the battery does not guarantee removal of a permanent code.
Is P0407 the same as P0408?
No. P0407 identifies an EGR Sensor B circuit signal that is too low, while P0408 identifies a signal that is too high. Both involve Sensor B, but the electrical conditions and diagnostic checks are different.
Does P0407 always mean the EGR valve is bad?
No. The fault can originate in the sensor, wiring, connector, reference supply, or ground circuit. Some vehicles monitor a differential pressure sensor rather than a conventional valve position sensor. The vehicle-specific diagnostic procedure determines which component is responsible.
Does a basic OBD2 scanner read P0407?
Yes. P0407 is a generic powertrain code that most standard OBD-II code readers can retrieve. However, some basic readers cannot display manufacturer-specific EGR sensor data, perform active tests, or access enhanced diagnostic information.
Can a vehicle have P0407 without noticeable symptoms?
Yes. The engine computer may detect an electrical signal outside its acceptable range while the engine continues operating normally. The absence of rough idle, hesitation, or power loss does not rule out a genuine sensor circuit problem.
The P0407 code identifies a low EGR Sensor B circuit signal, but it does not automatically mean the EGR valve needs replacement. Start with a complete OBD2 scan, review freeze-frame and live data, and check the sensor’s wiring, reference voltage, and ground before choosing a repair. For additional technical information, consult the Nissan P0407 diagnostic procedure and the FCA technical communication about P0407 and P0408. Fixing the actual electrical or mechanical problem and confirming that the emissions monitor passes is the best way to prevent the code from returning.
-
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
LearnP0741 Code: What It Means and How to Fix It
LearnP0191 Duramax: Fuel Rail Pressure Sensor Check
LearnP0137 Code: O2 Sensor Circuit Low Voltage Bank 1 Sensor 2
LearnP0740 GMC: Diagnose Torque Converter Clutch Problems
LearnP0128 Ford Escape: Find the Cause and Fix Engine Warm-Up Problems
Learn4L60E Hard 1-2 Shift: Causes and Fixes