is it illegal to drive with check engine light on?
If the check engine light comes on while you're driving, it can be unnerving. ... The check engine light means there's a problem somewhere in your emissions system. Regardless, you're safe to drive for now as long as the car isn't performing strangely. Just have the check engine light checked and the problem repaired.