I had a p0405 get code replaced egr valve, map sensor,mad sensor, and PCv valve just to be safe but still getting the code why?

I had a code pop up for egr system p0405 the I also had a mass air flow code. To be on the safe side I ordered all brand new parts with a few extras to be safe as following. The egr valve components, the maf sensor, a map sensor, and a PCv valve installed and reflashed codes car runs good now no hesitation or stumbling whatsoever. But when I turn it on it still lopes and idles at a low rpm 500 or so. What do u guys think it might be? I also keep on getting the p0405 and already checked voltage and it is good

My car has 170000 miles.
My car has an automatic transmission.

Experienced mechanics share their insights in answering this question :
The code P0405 and a rough idle is most likely due to carbon getting into the EGR pintle. This will hold the EGR open. When you are getting the rough idle you should shut off engine and remove EGR valve. Check to see if carbon is holding the pintle open. If it is then you will have to remove the carbon from the pintle. Then try and clean out the EGR passages by scrapping them using a round wire brush. Afterwards, start the engine for a few seconds with valve removed to blow out loose carbon. You should then spray a small amount of carbon cleaner into the passages to dissolve the carbon. Lastly, reinstall the EGR and reset the light and codes.

If you’d like assistance with this, consider YourMechanic, as a certified professional can come to the vehicles locations to perform these checks and properly diagnose your Check Engine Light.

How to Identify and Fix Common car Problems ?

Our sources include academic articles, blog posts, and personal essays from experienced mechanics :

P0405 is an OBD-II generic code that the engine control module (ECM) detected the engine exhaust gas recirculation (EGR) sensor has went below its specification range.
The EGR sensor that keeps track of the EGR valve works by sending signals to the Powertrain Control Module (PCM). Once the PCM detects a lower than normal voltage level, it triggers the P0405 code.
The code P0405 and a rough idle is most likely due to carbon getting into the EGR pintle. This will hold the EGR open. When you are getting the rough idle you should shut off engine and remove EGR valve. Check to see if carbon is holding the pintle open.
The failures are usually caused by a build-up of deposits in the EGR valve over a period of time that causes them to stick. This build-up is part of the ordinary operation of the vehicle and should be regarded as a serviceable item requiring repair or replacement.
What does the P0401 OBD-II diagnostic code mean? Also known as insufficient EGR flow, this particular OBD-II trouble code indicates the engine control module (ECM) has detected the exhaust gas recirculation (EGR) valve is not allowing sufficient flow of recirculated exhaust gases into the engine.
Common EGR fault codes

P0401: EGR insufficient flow detected. P0402: EGR excessive flow detected. P0403: EGR circuit malfunction. P0404: EGR circuit range/performance.

An EGR delete consists of using a delete kit to remove the system. The benefits include an improvement in engine performance, fuel economy and not having to worry about emergency maintenance on the EGR (or even the engine itself).
Manufacturers build this temperature sensor to last the lifetime of your vehicle, but sometimes things can happen and the part will fail.
An overly dirty filter restricts airflow into your engine, often leading to rich fuel conditions. By replacing your air filter, you should not only restore an ideal air-fuel ratio, but also the problems associated with excessive EGR system flow.
Typically driving the vehicle for 100 to 200 miles will clear the system, so you might want to have a professional mechanic take a stab at it with their equipment if it doesn`t clear up in the next week or so.
Where are these sensors located? Mechanical EGR valve position sensors are mounted on the top of the EGR valve. EGR pressure sensors will be located close to the EGR valve as the exhaust gas hose must be connected to the sensor as well as the valve.
What is the EGR Control Solenoid? The EGR control solenoid controls the flow of exhaust gases to the intake manifold. When the solenoid is activated, exhaust gases are sent back into the engine cylinders for re-combustion.

Relevant Questions and Answers :

the most relevant questions and answers related to your specific issue

I had a p0405 get code replaced egr valve, map sensor,mad sensor, and PCv valve just to be safe but still getting the code why?
ANSWER : The code P0405 and a rough idle is most likely due to carbon getting into the EGR pintle. This will hold the EGR open. When you are getting the rough idle you should shut off engine and remove EGR valve. Check to see if carbon is holding the pintle open. If it is then you will have to remove the carbon from the pintle. Then try and clean out the EGR passages by scrapping them using a round wire brush. Afterwards, start the engine for a few seconds with valve removed to blow out loose carbon. You should then spray a small amount of carbon cleaner into the passages to dissolve the carbon. Lastly, reinstall the EGR and reset the light and codes.

If you’d like assistance with this, consider YourMechanic, as a certified professional can come to the vehicles locations to perform these checks and properly diagnose your Check Engine Light.

check engine light O2 sensor already replaced same codes still popping up after replacing old O2 sensor
ANSWER : Hi there. What you received from the parts store was a code retrieval, not a diagnostic. The codes are set when a fault is detected against normal operating parameter. The computer does not know what caused the fault, only that the fault meets the criteria for this code to set. There could be a problem in the wire harness, converter, or the ECM. The code and data are needed to properly assess the direction that a diagnosis needs. I strongly suggest having a qualified technician perform an inspection to avoid replacing unnecessary parts. Your Mechanic has several available technicians that can assist you with a check engine light inspection.

EGR code, Cylinder 4 misfire code 0304 detected.
ANSWER : Hi there. The Exhaust Gas Recirculation (EGR) valve may be not designed for the emissions requirements for U.S. standards. If the EGR is pulling from cylinder number 4 and after replacing the EGR and the computer detects a misfire, then the EGR is malfunctioning and not responding. When you close off the tube to the EGR and the EGR light comes on and the misfire light goes out, then the EGR is not responding to your emissions system. I recommend replacing the EGR with the OEM specified part for the engine and all of the issues should go away. If you need further assistance with your misfire and EGR, then seek out a professional, such as one from Your Mechanic, to help you.

1998 Mazda protege: Had the EGR valve replaced, cleared the computer codes, still get the check engine light then a EGR problem co
ANSWER : Code P0400 does not necessarily mean that there is something wrong with the EGR valve itself. The only way to condemn the EGR valve is to directly test it. In particular Code P0400 includes a circumstance where the EGR passages are simply blocked with carbon and thus little or no exhaust gases can flow into the intake manifold. Code P0400 also includes the possibility that the EGR valve is not opening due to no vacuum opening the valve from the EGR control solenoid. If the valve is electronically controlled, there could be a fault in the circuit. If your vehicle is equipped with an EGR temperature sensor, if the sensor is plugged with carbon, it can’t register a temperature change when the EGR valve is opened, signifying flow. The point is Code P0400 can never be interpreted as the EGR valve has failed. The only way to determine if an EGR valve has failed is to directly test the valve. To resolve this, that is perform a complete system diagnostic and find the root cause for the code having set, the recommended service is an EGR system diagnostic. If you request that service, the responding certified mechanic will get this fully resolved for you. If you have further questions or concerns, do not hesitate to re-contact YourMechanic as we are always here to help you.

It threw a code 21 , throttle position sensor bad code. i replaced it and the code went away but i still have no spark.
ANSWER : Hello and thank you for contacting YourMechanic. The problems that you are encountering with your vehicle, could be caused by the harness to the Throttle Position Sensor (TPS) or the computer itself.

Check the harness to the TPS for any debris or any corrosion. Hook up a paperclip to the harness and turn on the key. Use a multimeter and check for voltage at the pins of the harness. Make sure that the ground on the sensor is grounded and has no resistance. If you find that the harness is having too much resistance, then I recommend having the main engine harness replaced. If you have replaced the harness and still have the same problems, then the computer will need to be flashed or replaced.

I recommend having a professional, like one from YourMechanic, come to your home to diagnose your car’s no start condition before replacing any parts.

EGR code and Cylinder number 4 misfire detected.
ANSWER : Hi there. The Exhaust Gas Recirculation (EGR) valve may be the wrong one or the cheap design could be not designed for the emissions requirements for U.S. standards. If the EGR is pulling from cylinder number 4 and after replacing the EGR and the computer detects a misfire, then the EGR is wide open and not responsive. It is clearly the EGR as when you close off the tube that the EGR light comes on and the misfire light goes out. I recommend replacing the EGR with the OEM specified part for the engine and all of the issues should go away. If you need further assistance with your EGR and misfire, then seek out a professional, such as one from Your Mechanic, to help you.

I have a p0171 code on my ford ranger 2.5 and have replaced fuel filter maf sensor, iac sensor, fixed vacuum leaks, replaced fuel
ANSWER : Hello there. You might to read this article about the P0171 OBD-II trouble code; as it will give you ideas on causes and possible solutions.

No power to the MAP sensor and getting a code P0107.
ANSWER : Hi there. Trace the wires to the bulk wiring harness and check continuity from the wire to the end of the plug. If there is resistance, then disconnect the battery and remove the wiring harness from the computer and check for continuity from the plug to the bulk end of the wiring harness. If you get a resistance, then the problem lies within the computer and the computer would need changed. If the resistance becomes very high or if the meter reads out of limits, then there is a break in the wire and it needs repaired. If you need further assistance with getting no power to the MAP sensor, then seek out a professional, such as one from Your Mechanic, to help you.