When riding at night, a motorcyclist should maintain a minimum following distance of:

Because it is more difficult to see and judge distances in the dark than in daylight, you should maintain an expanded following distance of at least three seconds when riding at night. It may take you longer than usual to realize the vehicle in front of you has stopped and you may need additional time to slow or stop to avoid hitting the vehicle.
DMV Writen Test