Skip the auto shop - Our mechanics make house calls

Q: Rough idle after replacing Mass Air Flow Sensor - trouble codes P0171 and P0102

asked by on

Was having problems with car turning off at red light or when coming to a stop. Check engine light indicated mass air flow sensor. Replaced air filter and maf sensor. Problems with vehicle turning off seemed to go away but now I have a rough Idle. Car will drop below 1000 rpms and then rev back up to over 1500 like it wants to shut off. Idle problems seem to go away when maf sensor is disconnected. Car throwing codes p0171 and p0102. Where should I go from here?

My car has 190000 miles.
My car has a manual transmission.

A: The P0171 refers to a possible lack of fuel...

The P0171 refers to a possible lack of fuel pressure, a leak in the intake air system, or a possible vacuum leak. The P0102 also leans towards a leak in the intake air system. It is possible that there is a problem with a BARO (barometric pressure) sensor that is reading faulty. Its purpose is to measure atmospheric pressure, the amount of air entering the engine, and supply the ECM with a calculated reading that allows the engine to make corrections accordingly.

If the BARO sensors readings are off, the supplied amount of fuel will be incorrect, and can therefore cause running issues. I would first check all of the intake plumbing to be sure it is all seated and tight, and then test the BARO sensor for correct function.

I recommend having a certified mechanic, such as one from YourMechanic, come to your location to determine why your car is idling rough and if the barometric sensor needs replacing.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: Car overheats aftr 10 mins of idle, but heater blows cold air. Trapped air noises? 2003 Audi A4

Hello - you have at least one cooling system problem that could be causing all of the symptoms, or more than one problem. The cooling system was not properly bled, and still big air pockets. This will cause overheating for...

Q: Can i sync a different ignition switch to existing ecu without going to dealer? 2003 Honda Civic

Hello - replacing the ignition switch (equipped with anti-theft) requires a Honda software scan/reset tool to sync the new switch with the rest of the anti-theft system. A Honda service center (dealer or independent) with this tool will be required...

Q: 1999 firebird every now and then dies while driving and low engine power light comes on

A bad mass airflow (MAF) sensor can cause loss of power, no starts, and lean or rich conditions. If cleaning the sensor did not get rid of the P0102 trouble code, then replace the MAF sensor and clear the...

Related articles

How Do Power Car Windows Increase Passenger Safety?
Power windows are responsible for approximately 2,000 emergency room visits every year. When a power window closes, it exerts enough force to bruise or break bones, crush fingers, or restrict an airway. Though...
P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the P0052 code means This code is seen when the Engine Control Module (ECM) tries to control the...
How to Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...