How far can you drive with the check engine light on?

20 miles is nothing. I would not recommend driving for months in this state. The only time it is really serious is when it flashes.

I will admit I recently drove 1400 miles over a few weeks with a Check Engine Light on. Interestingly enough I was going to shop to get checked out and it finally went out as I was leaving my house. It has not appeared since.