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.

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
  1. Home
  2. Questions
  3. Had new Mass airflow sensor put on an now I'm getting a code p0171 what could it be

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: My car seems to lack power when I accelerate, and the rpm's are erratic.

This may be related to a faulty throttle position sensor or potentially a dirty or 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...

Q: My car dies while hitting a bump and pushing gas.

Hello. This can be caused by a number of things, but most of the time this is caused by the fuel pump turning off. It is usually caused by a fuel pump that is failing or a bad fuel pump...

Q: Ticking when accelerating

With the information that you've provided, I think you are describing an exhaust leak. It's not uncommon for a minor exhaust leak to tick, especially when cool, and then go away as it warms up. It can also increase when...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
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...