All states have compulsory education laws that require children to attend school for a specified number of years. The age range for compulsory education varies from state to state, but it typically begins around age 6 and ends around age 16 or 18. There are some exceptions to compulsory education laws, such as for children who have disabilities or who are homeschooled.