Under ideal driving conditions, maintain a following distance of at least:

When following another vehicle under ideal driving conditions, you should maintain a minimum four-second following distance. Increase this following distance any time conditions are less than ideal.
DMV Writen Test