Notices
ES - 1st to 6th Gen (1990-2018) Forum for all 1990 - 2018 ES Models

Still getting Code P0171

Thread Tools
 
Search this Thread
 
Old Jan 18, 2022 | 03:01 PM
  #1  
Alex45K's Avatar
Alex45K
Thread Starter
Driver School Candidate
 
Joined: Jan 2022
Posts: 5
Likes: 1
From: OR
Default Still getting Code P0171

See bottom for update.

​​Code P0171 I have a 1998 Lexus ES300 and keep getting the code P0171 since before Oct 2021. Originally my car would drive fine until a couple hours after driving it I would shut it off and on trying to work and make food deliveries and it would die. All signs pointed to a bad battery or alternator and had a good friend replace them both including spark plugs. They all needed replaced. A week later it continued to have similar issues. I then replaced the Maf sensor, and took the old one it and they said it looked fine. (Note: I am not familiar with fixing cars) so I reinstalled the original without cleaning it and returned the new Maf sensor. But when I would try and start it all the lights would turn on etc. Basically all the symptoms you'd get for needing to replace your fuel filter, Starter or various Lean Bank 1 issues. The starter didn't seem to be doing that good either so my friend Devan replaced that as well. But the problem still continued. Just last week my friend changed the Oil Filter and last night I changed the Oxygen sensor (front) for Lean bank 1. And today the engine light came on again with the same code P0171. But I just remembered around 5 months ago the gas station attendant forgot to put my gas cap back on which I didn't realize until 2 days later getting gas when the guy refueling my car (I live in Oregon) told me it was missing. So I went back to the original gas station and the guy remembered me and said he had my gas cap and then put it back on (so I thought) Well I just checked and noticed he put a Honda gas cap on it. And I read that having the wrong Gas Cap wouldn't give me the code P0171, but I'm wondering what you all think? Could it be the Gas Cap? What do you all think might be causing this? I'm thinking the next on my troubleshooting list would of course be to get the correct Gas Cap for my car, and actually clean the Maf sensor. But I'm kinda lost at this point. I hope it's not the File Pump. I will mention aside from still having a hard time starting it, or stalling etc, after replacing all that I mentioned. It does run a lot better and feel a lot stronger. Now If I could only figure out the cause of this issue it would be great.

I forgot to mention I took it to the dealership to replace the alternator and then (supposedly) did a full diagnostic on my car and said everything looked great except I needed to break pads for the rear and could use an oil change. Never mentioned anything about all that I mentioned. Any replys are fully appreciated.

Devan if you see this, thank you for all your help bro!

Update: I cleaned the Maf sensor with Mass Air Flow sensor cleaner, and also purchased a proper gas cap and the Engine light came back on and got the same code 😑

​​​​​

Thanks
Alex

Last edited by Alex45K; Jan 19, 2022 at 10:54 AM. Reason: Forgot some important details
Reply
Old Jan 18, 2022 | 03:59 PM
  #2  
Arsenii's Avatar
Arsenii
Lead Lap
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2019
Posts: 3,694
Likes: 1,102
From: Michigan
Default

Hello,

Did you try resetting the code by disconnecting the battery for a few minutes?
Which O2 sensor did you replace, the one on the front or the back of an engine?

There are a few spots that can result in a Lean Condition, the most common one is a vacuum leak. Check all the hoses around the engine bay, see if any are torn, loose, or otherwise damaged, if that's good, check and/or replace the PCV Valve, they are known to cause issues on those cars. Other thing you can try while the engine is cold is to spray some quick start or brake cleaner around all the intake joints, while also monitoring the O2 sensor readouts, if they will budge when you hit a specific spot, it would mean there is a vacuum leak in that joint. With that, do it on your own risk, there is a good chance to catch fire if you are not careful.

You can also check the VVT solenoid and its filter for Bank 1, which is the one on the back towards the Firewall, see if the solenoid is clean and responds well when you power it from the battery, the filter just needs to be free of any gunk, here is a good post about it.

If none of it will help, use an OBD2 scanner to check Live Data, check the readouts for Bank 1 Fuel Trims, as well as Temperature, O2 and MAF Sensors. O2 Sensor readouts should constantly fluctuate from about 0.1-0.2V to 0.8-0.9V, since your car is not yet equipped with A/F sensors, if it fluctuates between different voltages or is frozen at one specific voltage, the sensor or its wiring are bad.

MAF Sensor should read something close to 4g/s, if it is lower than that and a new sensor didn't make any difference, it could indicate a vacuum leak in the system. Temperature sensor, you can just disconnect it and see if makes a difference.

Hope this helps and best of luck!
Reply
Old Jan 19, 2022 | 10:59 AM
  #3  
Alex45K's Avatar
Alex45K
Thread Starter
Driver School Candidate
 
Joined: Jan 2022
Posts: 5
Likes: 1
From: OR
Default

Originally Posted by Arsenii
Hello,

Did you try resetting the code by disconnecting the battery for a few minutes?
Which O2 sensor did you replace, the one on the front or the back of an engine?

There are a few spots that can result in a Lean Condition, the most common one is a vacuum leak. Check all the hoses around the engine bay, see if any are torn, loose, or otherwise damaged, if that's good, check and/or replace the PCV Valve, they are known to cause issues on those cars. Other thing you can try while the engine is cold is to spray some quick start or brake cleaner around all the intake joints, while also monitoring the O2 sensor readouts, if they will budge when you hit a specific spot, it would mean there is a vacuum leak in that joint. With that, do it on your own risk, there is a good chance to catch fire if you are not careful.

You can also check the VVT solenoid and its filter for Bank 1, which is the one on the back towards the Firewall, see if the solenoid is clean and responds well when you power it from the battery, the filter just needs to be free of any gunk, here is a good post about it.

If none of it will help, use an OBD2 scanner to check Live Data, check the readouts for Bank 1 Fuel Trims, as well as Temperature, O2 and MAF Sensors. O2 Sensor readouts should constantly fluctuate from about 0.1-0.2V to 0.8-0.9V, since your car is not yet equipped with A/F sensors, if it fluctuates between different voltages or is frozen at one specific voltage, the sensor or its wiring are bad.

MAF Sensor should read something close to 4g/s, if it is lower than that and a new sensor didn't make any difference, it could indicate a vacuum leak in the system. Temperature sensor, you can just disconnect it and see if makes a difference.

Hope this helps and best of luck!

Thanks for your reply! And yes I reset the code numerous times now, with.the device, and by disconnecting the battery. And it was the front Oxygen sensor. I cleaned the Maf sensor yesterday with Mass Air Flow cleaner, and purchased a new proper Gas Cap but just got the same code again. I will try some more troubleshooting today with your suggestions and keep you posted! Thanks again. I really appreciate!

​​​​​​
Reply
Old Jan 19, 2022 | 12:35 PM
  #4  
Arsenii's Avatar
Arsenii
Lead Lap
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2019
Posts: 3,694
Likes: 1,102
From: Michigan
Default

Originally Posted by Alex45K
And it was the front Oxygen sensor.
What brand replacement did you get?

Well, that is one of the more common mistakes people do with those cars.. On those engines it's a little counterintuitive, with the Bank 1 being located towards the Back of an engine, near the Firewall, the one on the Front is actually Bank 2.

Bank 1 and Bank 2 sensors have the same basic construction, the only difference being the length of the wire, so if you really want to, you can try swapping those sensors around to see if anything would change, though I am not sure if it is actually worth all the trouble instead of just replacing the other sensor. Denso is the OEM supplier, so those are the ones I would go with, you can find them here.

Hope this helps and best of luck!
Reply
Old Jan 19, 2022 | 01:13 PM
  #5  
Alex45K's Avatar
Alex45K
Thread Starter
Driver School Candidate
 
Joined: Jan 2022
Posts: 5
Likes: 1
From: OR
Default

I just took a screenshot of the codes again and this time it showed me these codes other codes as possible problems. Pic below.
Reply
Old Jan 19, 2022 | 05:05 PM
  #6  
Arsenii's Avatar
Arsenii
Lead Lap
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2019
Posts: 3,694
Likes: 1,102
From: Michigan
Default

Originally Posted by Alex45K
I just took a screenshot of the codes again and this time it showed me these codes other codes as possible problems. Pic below.
Did you reset the codes after replacing the O2 Sensor?

That is actually quite interesting, a bad O2 sensor can very well cause your Lean condition. Slow response means that the ECU is not getting the expected reaction from the O2 sensor in time, meaning that if you were to floor the accelerator from idle, you should immediately see the O2 readings fly to the Rich side, if it happens with a delay or the readings are lower than expected, the ECU will not be able to adjust the Air-Fuel mixture, causing the engine to run poorly.

The way to check the sensor is to see its readouts with a scan tool - O2 sensor should fluctuate from about 0.1V to 0.9V, if the amplitude is noticeably less than that, like 0.4V to 0.6V, or it is shifted up or down, the sensor is bad and needs to be replaced. From idling, floor the accelerator and watch the readings immediately jump for a moment, before returning to normal, the same should happen when you release the throttle. If readings are sluggish or lower than expected, the sensor is likely bad.

Hope this helps and best of luck!
Reply
Old Jan 19, 2022 | 08:44 PM
  #7  
Alex45K's Avatar
Alex45K
Thread Starter
Driver School Candidate
 
Joined: Jan 2022
Posts: 5
Likes: 1
From: OR
Default

Originally Posted by Arsenii
Did you reset the codes after replacing the O2 Sensor?

That is actually quite interesting, a bad O2 sensor can very well cause your Lean condition. Slow response means that the ECU is not getting the expected reaction from the O2 sensor in time, meaning that if you were to floor the accelerator from idle, you should immediately see the O2 readings fly to the Rich side, if it happens with a delay or the readings are lower than expected, the ECU will not be able to adjust the Air-Fuel mixture, causing the engine to run poorly.

The way to check the sensor is to see its readouts with a scan tool - O2 sensor should fluctuate from about 0.1V to 0.9V, if the amplitude is noticeably less than that, like 0.4V to 0.6V, or it is shifted up or down, the sensor is bad and needs to be replaced. From idling, floor the accelerator and watch the readings immediately jump for a moment, before returning to normal, the same should happen when you release the throttle. If readings are sluggish or lower than expected, the sensor is likely bad.

Hope this helps and best of luck!

Thank you for all your knowledge and advice Arsenii, Im going to show my friend this info because he's offered to helpto
​​​​​​You think it's safe to drive for a few days until I can do more troubleshooting since all the codes say minor?
Reply
Old Jan 19, 2022 | 09:24 PM
  #8  
Arsenii's Avatar
Arsenii
Lead Lap
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2019
Posts: 3,694
Likes: 1,102
From: Michigan
Default

Originally Posted by Alex45K
Thank you for all your knowledge and advice Arsenii, Im going to show my friend this info because he's offered to helpto
​​​​​​You think it's safe to drive for a few days until I can do more troubleshooting since all the codes say minor?
Depends on how is the car doing right now, if it doesn't misfire or stall at random, it is probably safe to drive for a day or two. With that, if the car is not doing so great, there are a lot of vibrations and the car stalls at every corner, there is a big chance to fry the catalysts or cause the local overheat, all sorts of fun stuff that you don't want to encounter if you plan to keep the car for a while longer. Since I haven't seen the car in person, I can't say anything specific, so it is your call..

Hope this helps and best of luck!
Reply
ClubLexus Stories

Celebrating Lexus & Toyota from Around the Globe

story-0

Toyota and Lexus Join Mille Miglia For The First Time

 Verdad Gallardo
story-1

Lexus NX 350h: A Fuel-Sipping Secret Hot Hatch???

 Michael S. Palmer
story-2

5 Best & 5 Worst Lexus Daily Drivers

 Joe Kucinski
story-3

Top 5 Hottest Lexus & Toyotas in 2026 (Hardest To Buy)

 Brett Foote
story-4

2026 Lexus IS 350 F Sport Review: The Last of Its Kind Still Rocks

 Michael S. Palmer
story-5

Top 10 Most Confusing Things Lexus Has Ever Done!

 Joe Kucinski
story-6

2026 Lexus ES Review: Lexus Re-Embraces Founding Principles

 Michael S. Palmer
story-7

10 Lexus Bargains That are Cheaper Than a New Toyota RAV4

 Joe Kucinski
story-8

8 Weirdest Things Lexus Has Ever Built

 Verdad Gallardo
story-9

10 Lexus Designs That Have Aged Like Fine Wine

 Verdad Gallardo
Old Jan 20, 2022 | 10:15 AM
  #9  
Alex45K's Avatar
Alex45K
Thread Starter
Driver School Candidate
 
Joined: Jan 2022
Posts: 5
Likes: 1
From: OR
Default

Originally Posted by Arsenii
Depends on how is the car doing right now, if it doesn't misfire or stall at random, it is probably safe to drive for a day or two. With that, if the car is not doing so great, there are a lot of vibrations and the car stalls at every corner, there is a big chance to fry the catalysts or cause the local overheat, all sorts of fun stuff that you don't want to encounter if you plan to keep the car for a while longer. Since I haven't seen the car in person, I can't say anything specific, so it is your call..

Hope this helps and best of luck!

It actually seems to run better and better considering all the recent replacements. It fires right up. The only thing Is I've noticed my fuel burning quicker, and after I'm driving it for a couple hours making deliveries shutting the engine off and on, it will have a little hesitation on start up and mutter a bit (not as severe as before) like 1 out of 5 times, but will feel fine once I start moving. But I may just go talk to my dealership and have them diagnose it for me. Especially with all the new information you've provided. I think this car has a lot of life left in it. I've always felt like it drove amazing up until 6 months ago. And now with all the replacements, it seems to have a lot more power and acceleration.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mrsincere
LS - 3rd Gen (2001-2006)
3
Oct 2, 2021 04:12 PM
Jshmontes
ES - 1st to 6th Gen (1990-2018)
1
Mar 12, 2019 02:37 AM
reisjdmd
RX - 1st Gen (1999-2003)
2
Nov 30, 2013 11:46 PM
moening25
SC - 1st Gen (1992-2000)
12
Sep 1, 2009 12:53 AM
RedPhoenix
SC - 1st Gen (1992-2000)
12
Apr 15, 2007 09:43 AM




All times are GMT -7. The time now is 09:06 PM.

story-0
Toyota and Lexus Join Mille Miglia For The First Time

Slideshow: A five-car lineup spanning more than five decades of Toyota performance and engineering will tackle one of Italy's most celebrated automotive routes.

By Verdad Gallardo | 2026-06-15 16:53:16


VIEW MORE
story-1
Lexus NX 350h: A Fuel-Sipping Secret Hot Hatch???

Slideshow: a quick review of the 2026 Lexus NX 350h F Sport Handling

By Michael S. Palmer | 2026-06-18 14:36:21


VIEW MORE
story-2
5 Best & 5 Worst Lexus Daily Drivers

Slideshow: The 5 best and 5 worst Lexus daily drivers

By Joe Kucinski | 2026-06-15 11:14:58


VIEW MORE
story-3
Top 5 Hottest Lexus & Toyotas in 2026 (Hardest To Buy)

These five Lexus and Toyota models are the most sought-after on the market right now.

By Brett Foote | 2026-06-15 10:47:52


VIEW MORE
story-4
2026 Lexus IS 350 F Sport Review: The Last of Its Kind Still Rocks

Slideshow: the 2026 IS 350 isn't all that new, and that's why we love it!

By Michael S. Palmer | 2026-06-04 14:35:23


VIEW MORE
story-5
Top 10 Most Confusing Things Lexus Has Ever Done!

Slideshow: 10 most confusing things Lexus has ever done.

By Joe Kucinski | 2026-06-04 09:40:55


VIEW MORE
story-6
2026 Lexus ES Review: Lexus Re-Embraces Founding Principles

Slideshow: Our First-Drive Review of the 2026 Lexus ES!

By Michael S. Palmer | 2026-05-29 20:30:16


VIEW MORE
story-7
10 Lexus Bargains That are Cheaper Than a New Toyota RAV4

Slideshow: 10 Lexus bargain that are cheaper than a new Toyota.

By Joe Kucinski | 2026-05-20 10:28:20


VIEW MORE
story-8
8 Weirdest Things Lexus Has Ever Built

Slideshow: From hoverboards to luxury yachts, these are the strangest projects Lexus has ever attached its badge to.

By Verdad Gallardo | 2026-05-16 11:34:36


VIEW MORE
story-9
10 Lexus Designs That Have Aged Like Fine Wine

Slideshow: Some luxury cars chase trends, but these Lexus models look better now than they did when they first rolled into showrooms.

By Verdad Gallardo | 2026-05-06 17:58:29


VIEW MORE