How long must I drive after new battery and gas cap to pass smog test?

Asked by Apr 04, 2017 at 01:20 AM about the 2004 Toyota Camry CE

Question type: Maintenance & Repair

I recently relocated my 2004 Toyota Camry from California to Nevada. In
order to register my car in Nevada, it was necessary to pass a smog
inspection. I took my car to Firestone and did not pass. I later learned that
my car failed the smog test because I just installed a new battery and need
to drive the car for approximately 100 miles for the computer to calibrate. I
followed the advice of several YouTube videos and drove the car about 150
miles. On the very day I planned to retake the smog inspection, my check
engine light came on. I took the car to AutoZone because they offer a free
check engine light inspection. AutoZone said that I needed a new gas cap.
I checked my gas cap and the seal was cracked. Before purchasing from
AutoZone, I searched online reviews - two Camry owners said the same
thing happened to them, but the gas cap from AutoZone did not work. Both
guys replaced the AutoZone cap with an OEM Delco cap and the engine
light went off and stayed off.

When I returned to AutoZone to buy the cap, I requested an OEM cap and
explained why. The AutoZone guy informed me that they do not carry OEM
caps and that I would have to purchase an OEM from a Toyota dealership.
The AZ guy added that the only reason the other guy’s caps did not work
was because it was necessary to drive the car 60 miles before the check
engine light would turn off.
That said, I went ahead and purchased the “stock” cap from AutoZone,
drove over 75 miles and this did not remedy the situation. I eventually
purchased an OEM cap, but my engine light is still on. I haven’t driven 60
miles yet, but I am starting to wonder if I should reset the engine light by
disconnecting the battery. If I do, I will have to start all over with
recalibrating the computer. I only have 7 days left on my temporary moving
permit and won’t be allowed another extension at the $2 for 10-days rate.
My next temp moving permit will cost me $9 per day – yikes!
I am looking for some seriously sound advice on the best course of action.

5 Answers


dont remove power from the system...should be close to reset..some take much more time and miles...they like a steady 15 mile trip..have the codes rescanned again cant hurt


It depends from just a few miles to 50. Sometimes more. There is a procedure for this on the internet how to drive the car to make it ready for the smog


Also, you coild post the error code. The guys at autozone are just sellers and maybe offer a hint, but are not certified techs. I think he just read the code and offered the usual solution or the easiest. By any chance did you filled the tank before this error occured? Maybe try to reset tne error, but this means you have to drive it some more to make it smoke check ready.


you need to know what the code is , you've already learned not to buy cheap parts , the gas cap may well have solved the one code but a different one may be up now , you don't know , then there's the "smog test " which I understand as the actual testing (sniffing )of the exhaust which is separate from when codes have been purged from the ECM. First get the codes cleared then the exhaust can be checked .The catalytic converter takes care of a majority of pollutants . Let us know what happens .


If that code does not clear up driving a 100 miles or more, you have a small EVAP leak, and a smoke test would need to be performed to find it. I'd quit messing around with the gas cap and get it into a good shop to have the EVAP system checked out. But you probably should drive it a bit more to see if the gas cap was the problem. When codes are set, and you get them repaired and cleared there is a minimum amount of miles you need to drive the vehicle, usually over 100 miles. When the car goes to inspection, their scanner can tell when the last time in miles when the codes were cleared, and tell you to come back if the required miles have not ben driven. So you need to getter fixed.

Your Answer


Looking for a Used Camry in your area?

CarGurus has 1,940 nationwide Camry listings starting at $1,995.

Postal Code:

Toyota Camry Experts

  • #1
  • #2
    Tom Demyan
  • #3
View All

Related Models For Sale

Used Honda Accord
51 Great Deals out of 1,254 listings starting at $1,350
Used Toyota Corolla
130 Great Deals out of 3,633 listings starting at $2,495
Used Honda Civic
258 Great Deals out of 4,531 listings starting at $1,980
Used Nissan Altima
67 Great Deals out of 1,223 listings starting at $1,900
Used Toyota Avalon
6 Great Deals out of 122 listings starting at $3,288
Used Toyota RAV4
32 Great Deals out of 3,051 listings starting at $4,799
Used Nissan Maxima
18 Great Deals out of 406 listings starting at $1,995
Used Hyundai Sonata
38 Great Deals out of 1,332 listings starting at $3,333
Used Toyota Highlander
13 Great Deals out of 1,011 listings starting at $4,950
Used Honda CR-V
38 Great Deals out of 2,809 listings starting at $300
Used Chevrolet Malibu
70 Great Deals out of 1,823 listings starting at $2,495
Used Toyota Tacoma
28 Great Deals out of 1,343 listings starting at $6,900
Used Toyota 4Runner
5 Great Deals out of 525 listings starting at $4,995
Used Toyota Prius
5 Great Deals out of 185 listings starting at $4,995

Used Cars For Sale

2018 Toyota Camry For Sale
905 listings starting at $26,390
2017 Toyota Camry For Sale
3 Great Deals out of 189 listings starting at $17,588
2016 Toyota Camry For Sale
8 Great Deals out of 112 listings starting at $15,490
2015 Toyota Camry For Sale
4 Great Deals out of 120 listings starting at $14,895
2014 Toyota Camry For Sale
179 listings starting at $11,888

Content submitted by Users is not endorsed by CarGurus, does not express the opinions of CarGurus, and should not be considered reviewed, screened, or approved by CarGurus. Please refer to CarGurus Terms of Use.