Before you can claim a child as a dependent, she must meet either the qualifying child test or the qualifying relative test. To be a qualifying child, she must be either younger than 19 years old, or be a student younger than 24 years old at the end of the calendar year.