Question: how long can a child be claimed as a dependent?
Answer: To claim your child as your dependent, your child must meet either the qualifying child test or the qualifying relative test: To meet the qualifying child test, your child must be younger than you and either younger than 19 years old or be a "student" younger than 24 years old as of the end of the calendar year.