When driving at a speed between 35 and 45 mph, a driver should maintain a following distance of at least:

It is important for a driver to maintain a space cushion around their vehicle at all times. When traveling under ideal driving conditions at a speed that is between 35 and 45 mph, a driver should maintain a minimum following distance of three seconds.
DMV Writen Test