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
  • Home
  • Questions
  • 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: I smell vapor in the car and the car is starting and cutting right off

A code for the canister close valve will not cause the engine to not run. What would cause the engine to not run, and may be the cause of the fuel vapor smell in the car, would be a leaking/cracked...

Q: 2008 Hyundai Sonata GLS 4 cyl. 108,000 miles, code P0011 (Cam position, Actuator A-Bank I, Timing over-advance)

Hello, thanks for writing in. I'd be happy to provide my insight. The cam position actuator is an engine component that is responsible for phasing the camshafts and altering the timing. It works using oil pressure, so you are good...

Q: Howling sound from front driver side

Hello, It sounds like you may have a failing wheel bearing on the driver side of the vehicle. It is not uncommon for one side to fail prior to the other side. A wheel bearing will usually fail due to...

Related articles

How Long Does a Distributor O Ring Last?
The distributor is part of the ignition system in your vehicle and its purpose is to route high voltage from the ignition coil to the spark plug. The spark plug then...
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...
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...