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

asked by on October 28, 2016

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.

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?
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・Fair and transparent pricing

Get a quote

What others are asking

Car over heats even though I have coolant in the engine

The most common cause is the cooling fan is not coming on or there is a restriction in the airflow across the radiator. You should have this checked first then see if the radiator is flowing coolant through all the...

Oil and coolant leak

Hi. Your vehicle can be leaking from numerous locations. I would start by performing a pressure test on the cooling system. This test uses a dedicated tool to pressurize the cooling system and pinpoint the leak. To address the oil...

My car continuously overheats and blows the radiator cap

It sounds like you may have a restriction in your cooling system that is preventing the proper flow of coolant through the engine. I would recommend having the system power flushed to remove any restrictions that may exist. The restriction...

Related articles

The Best Used Cars to Buy for College Students
You’ve You’ve done it – high school is officially behind you. Now it’s time to head off to a brand new world. College is that and more and you may need a car during your pursuit of a higher education....
A Buyer’s Guide to the 2012 Volkswagen Touareg Hybrid
Whether Whether you’re new to the hybrid wave or an old hat, the 2012 Volkswagen Touareg Hybrid gives you exactly what you’re looking for – a comfortable, luxurious ride that provides decent fuel economy. Key Features This hybrid option...
A Buyer’s Guide to the 2012 Volkswagen Touareg TDI
The The 2012 Volkswagen Touareg TDI brings diesel to the family in a big way. This crossover SUV delivers seamless performance in a vehicle that obviously designed for the open road rather than any trails or other types of off-road...