Depending on the state and county, you could have a traffic school course that is anywhere from 4 to 8 hours long. Some counties require online traffic schools to enforce a time minimum - meaning you cannot actually finish the course in less than the state-required time. Also, most states have an exam at the end that the student has to pass.