The IRS qualifying child test is five separate rules a child must pass before you can claim them as a dependent: relationship, age, residency, support, and joint return.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined Fail one and the child is disqualified, along with the credits that ride on the claim. Pass all five and the door opens to the Child Tax Credit, the Earned Income Tax Credit, and Head of Household filing status.2Internal Revenue Service. Child Tax Credit
Relationship
The child has to be related to you in one of a defined set of ways. Your son, daughter, stepchild, or foster child qualifies. So does any descendant of those individuals: a grandchild, a great-grandchild, and on down. Adopted children count the same as biological children, and that includes a child legally placed with you for adoption even before the adoption is finalized.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
Siblings work too. A brother, sister, half-sibling, or step-sibling qualifies, as does any of their descendants, so a niece, nephew, great-niece, or great-nephew can be your qualifying child if the other tests hold.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined Cousins, aunts, uncles, and unrelated people never pass this test, no matter how long they’ve lived under your roof.
Foster child has a technical meaning here. The placement must come through an agency licensed or certified by a state or local government, or through a court order. A friend’s kid who moved in informally is not a foster child in the IRS sense.4Office of the Law Revision Counsel. 26 USC 131 – Certain Foster Care Payments
Age
Age is measured on the last day of the tax year. The child has to be under 19 at year-end, or under 24 if enrolled as a full-time student for at least five calendar months during the year. Those five months don’t need to be consecutive. The school has to have a regular teaching staff, a set curriculum, and enrolled students; online programs through accredited institutions count, but self-study without formal enrollment generally doesn’t.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
The child also has to be younger than you. If you file jointly, the child only needs to be younger than one of you.5Internal Revenue Service. Qualifying Child Rules Practically, that means a 20-year-old twin can never be your qualifying child, even if every other rule is satisfied.
One exception overrides the age numbers entirely. A child who is permanently and totally disabled qualifies at any age. The IRS defines that as being unable to perform any substantial work because of a physical or mental condition expected to last at least 12 continuous months or result in death.6Office of the Law Revision Counsel. 26 U.S. Code 22 – Credit for the Elderly and the Permanently and Totally Disabled A 35-year-old adult child who meets that standard still passes.
Residency
The child must share your main home for more than half the tax year. For a full calendar year, that works out to more than six months. The home has to be in the 50 states, the District of Columbia, or on a U.S. military base, including bases overseas.5Internal Revenue Service. Qualifying Child Rules Living in a U.S. territory such as Puerto Rico or Guam does not satisfy the residency test for EITC purposes.
Temporary absences still count as time living with you. The IRS lists illness or hospitalization, school attendance, vacation, business trips, military service, and juvenile detention as examples that don’t break the residency clock.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information A child away at college for nine months is treated as having lived with you the whole time.
Children Born or Who Died During the Year
A child born during the tax year is treated as having lived with you the entire year if your home was, or would have been, the child’s home for more than half the time the child was alive. The same rule applies to a child who died during the year. If the child was born and died in the same year and didn’t receive a Social Security number, you can write “DIED” on your return and attach a birth certificate, death certificate, or hospital record.7Internal Revenue Service. Qualifying Child Rules 1
Kidnapped Children
If your child was kidnapped by someone outside your family, the child is still treated as living with you for residency purposes, provided the child lived with you for more than half the year before the kidnapping. That treatment continues each year until the earlier of the year the child is determined to be dead or the year the child would have turned 18.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
Support
The child cannot have paid for more than half of their own living expenses during the year. Read that carefully. The test does not require that you provided the support. It only requires that the child didn’t provide it. If grandparents, the government, or anyone else covered most of the child’s expenses, the child still passes so long as the child’s own money didn’t cover more than half.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined
Total support includes food, housing, clothing, education, medical care, recreation, and transportation. Housing is valued at what comparable space would rent for, not at your actual mortgage or rent payment. Scholarships are excluded from the calculation entirely, so a student on a full scholarship isn’t treated as providing their own support.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
One carve-out matters. The Earned Income Tax Credit drops the support test entirely. A child who fails support can still be your qualifying child for EITC purposes as long as the other four tests are met.5Internal Revenue Service. Qualifying Child Rules
Joint Return
The child cannot file a joint tax return with a spouse. This blocks a married child from being claimed by a parent while also filing jointly and claiming credits as half of a couple.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined
There is a narrow exception. A married child can file a joint return solely to recover taxes withheld from paychecks or estimated tax payments. If the joint return claims any credit beyond that refund of withholding, the child fails this test.5Internal Revenue Service. Qualifying Child Rules
Citizenship and Social Security Number
Passing the five tests is necessary but not the whole picture. Any dependent must be a U.S. citizen, U.S. national, U.S. resident alien, or a resident of Canada or Mexico.8Internal Revenue Service. Dependents
For the Child Tax Credit and the Earned Income Tax Credit, the qualifying child also needs a Social Security number valid for employment, issued before the due date of your return including extensions. A child with only an Individual Taxpayer Identification Number or an Adoption Taxpayer Identification Number won’t qualify you for the CTC or EITC, though you may still be able to claim the Credit for Other Dependents or file as Head of Household.9Taxpayer Advocate Service. TAS Tax Tip: Valuable Information About Child and Dependent-Related Tax Benefits Get the SSN in hand before filing. Amending later to add a child is slower and invites scrutiny.
Divorced or Separated Parents
When parents don’t live together, the qualifying child generally belongs to the custodial parent, defined by the IRS as the one the child lived with for the greater number of nights during the year.5Internal Revenue Service. Qualifying Child Rules
The custodial parent can release the claim to the other parent using Form 8332. Once signed, the non-custodial parent can claim the child for the Child Tax Credit and for dependency purposes. The custodial parent keeps the EITC and Head of Household status though, because those benefits always follow physical residency. Form 8332 can cover a single year, multiple years, or all future years, and the custodial parent can revoke it for future tax years by giving written notice to the other parent.10Internal Revenue Service. Form 8332 (Rev. December 2025)
For a release to work, three conditions must all be true: the child received more than half of their support from one or both parents; the child was in the custody of one or both parents for more than half the year; and the parents are divorced, legally separated, separated under a written agreement, or lived apart for the last six months of the year.10Internal Revenue Service. Form 8332 (Rev. December 2025)
When More Than One Person Qualifies
Sometimes two people can each pass the five tests for the same child. A college student living with a grandparent during the school year while the parent still claims residency through temporary absence is a familiar example. The IRS applies tie-breakers in a fixed order:11IRS.gov. Tie-Breaker Rule
- If only one of the people claiming the child is a parent, the parent wins.
- If two parents both claim and don’t file jointly, the child goes to the parent the child lived with longer during the year.
- If the child spent equal time with each parent, the parent with the higher adjusted gross income claims the child.
- A non-parent can claim only when no parent does, and only if the non-parent’s AGI is higher than any parent who could have claimed.
- Among non-parents, the highest AGI wins.
These rules are not optional. Claiming a child you lose under the tie-breaker will trigger an IRS notice and can delay both returns. For EITC purposes, losing the tie-breaker may still leave you eligible to claim the credit as a worker without a qualifying child, which pays much less.5Internal Revenue Service. Qualifying Child Rules
If the Child Doesn’t Pass
Someone who fails the qualifying child test may still be claimable under the separate qualifying relative test. This is common for adult children who have aged out, elderly parents you support, or other relatives in your household. The qualifying relative test requires that the person have gross income below $5,050, that you provide more than half of their support, and that no one else can claim them as a qualifying child.8Internal Revenue Service. Dependents
A qualifying relative doesn’t get you the EITC or the Child Tax Credit, but can qualify you for the Credit for Other Dependents and, in some situations, support a Head of Household filing status. If your child turns 19 (or 24 as a student) and no longer clears the age test, the qualifying relative route is worth checking before giving up on the dependency claim.