Skip the auto shop - Our mechanics make house calls

Q: Had new Mass airflow sensor put on an now I'm getting a code p0171 what could it be

asked by on

in the morning I start it up an it start putting an shut off but starts back up gotta put it in drive when warming up

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

A: This relates to a lean fuel condition which...

This relates to a lean fuel condition which can be caused by many different things such as:

  • Intake air leaks
  • Faulty front heated oxygen sensor
  • Ignition misfiring
  • Faulty fuel injectors
  • Exhaust gas leaks
  • Incorrect fuel pressure
  • Lack of fuel
  • Faulty Mass Airflow (MAF) sensor (You already replaced, so it should not be this)
  • Incorrect Positive Crankcase Ventilation (PCV) hose connection

I would recommend having an expert from YourMechanic come to your home to diagnose your trouble code firsthand and help you repair it as necessary.

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

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

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

Q: Rough idle, its "studdering when i accelerate"

Hi there. This may be a sign of a failing mass air flow sensor. The mass air flow sensor is a unit in the intake system that monitors air intake as it is mixed with fuel prior to being injected...

Q: While idling it shuts off and throws out a code that says reduced engine power

As you may know, a general reduced engine power code is somewhat generic and could mean many different things, ranging from a faulty transmission control module to a failing throttle body sensor. You may need to have an expert from...

Q: Coolant leaking from car

Hi, I would check inside the engine bay for residue, mainly around the water pump and on the motor itself. There are seals that can leak slowly over time making it difficult to find the source. You can also check...

Related articles

How Long Does a Heater Control Valve Last?
Keeping the right amount of coolant in a car is essential in keeping the engine at the right temperature. Failing to have the right amount of coolant or even bad elements...
P0240 OBD-II Trouble Code: Turbocharger Boost Sensor B Circuit Range/Performance
P0240 code definition Turbocharger Boost Sensor B Circuit Range/Performance What the P0240 code means P0240 is an OBD-II generic code triggered when the Engine Control Module (ECM) detects the intake boost...
P2103 OBD-II Trouble Code: Throttle Actuator Control Motor Circuit High
P2103 means there is a fault with the throttle actuator control motor circuit, likely due to a defective electrical component or part.