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・Save up to 30%

Get a quote

What others are asking

Q: Car hesitates when I put my foot into it.

Hi there, thanks for writing in. I'd be happy to help. This is a common symptom of a failing mass air flow sensor or throttle position sensor. A mass air flow sensor is a unit that monitors the air flow...

Q: Break and quench (off)

You may have a bad or sticking idle air control valve. You need to have the computer checked for codes. The throttle body and idle air control valve should be thoroughly inspected. Resetting the idle speed will cause the computer...

Q: Engine making high-pitched noise

Hi, this typically points to an issue with one of your serpentine belts. These belts drive different components on the vehicle such as the water pump, alternator, and A/C compressor. Over time, they will begin to lose their grip which...

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...
Rules of the Road For Iowa Drivers
Driving on the roads requires knowledge of the rules, many of which are based on common sense and courtesy. However, even though you know the rules in...
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...