At Cal Smog Network stations:
Yes — illuminated check engine light is an automatic smog fail.
- MIL on = mandatory fail
- we diagnose the cause
- fix the code, then ask your shop about its retest policy — many offer a free retest window
Per BAR MIL inspection rules.