There is on federal law about leaving children unattended in cars. However, eleven states have strict laws about leaving young children alone, either in cars, in public places, or at home. In those states, it is against the law to leave anyone in a car who cannot get out without help.