When Can I Claim a Child as a Dependent: The Four IRS Tests

You can claim a child as a dependent on your federal tax return when the child passes all five IRS tests: relationship, age, residency, support, and joint return. Miss any one and the claim fails, even if the other four are solid. Age is where most parents lose the claim first: a non-disabled child stops being a qualifying child once they turn 19, or 24 if they are a full-time student. But a child who ages out can sometimes still be claimed under a separate category called a qualifying relative, and divorced parents have their own rules on top of everything else.

The Age Test

At the end of the tax year, your child must fall into one of three groups:

  • Under 19
  • Under 24 and a full-time student for at least parts of five calendar months during the year (the months do not need to be consecutive)
  • Permanently and totally disabled, at any age

The child also has to be younger than you (or your spouse, if you file jointly). A 19-year-old cannot claim an 18-year-old sibling as a qualifying child. The only situation where neither the age cap nor the “younger than you” rule applies is a child who is permanently and totally disabled.1Office of the Law Revision Counsel. 26 U.S. Code 152 – Dependent Defined2Internal Revenue Service. Dependents

Full-time status is determined by the school’s own enrollment standards. Online courses count if the school treats that enrollment as full-time.3IRS.gov. Full-Time Student For disability, the IRS looks for a physical or mental condition that prevents substantial gainful activity and is expected to last at least 12 continuous months or result in death.4Office of the Law Revision Counsel. 26 U.S. Code 22 – Credit for the Elderly and the Permanently and Totally Disabled You may be asked for documentation.

Who the IRS Counts as Your “Child”

The relationship test reaches further than biological parenthood. Any of these qualify:

  • Your son, daughter, grandchild, or great-grandchild
  • A stepson or stepdaughter
  • A legally adopted child, or one lawfully placed with you for adoption
  • A foster child placed with you by an authorized agency or by court order
  • A brother, sister, stepbrother, stepsister, half-sibling, or any of their descendants (nieces, nephews)

All of these satisfy the relationship test under federal tax law.1Office of the Law Revision Counsel. 26 U.S. Code 152 – Dependent Defined If you are raising a grandchild, niece, or foster child, they can be your qualifying child on the same terms as a biological one.

The Residency and Citizenship Tests

Your child has to live with you for more than half the year. The IRS counts nights. Temporary absences still count as time at your address, including time away for school, vacation, illness, military service, or detention in a juvenile facility.5Internal Revenue Service. Qualifying Child Rules

A child born or who dies during the year is treated as having lived with you the whole year, as long as your home was the child’s home for more than half the time the child was alive.6Internal Revenue Service. Qualifying Child Rules 1

Citizenship matters too. The child must be a U.S. citizen, U.S. resident alien, U.S. national, or a resident of Canada or Mexico. A child living abroad who fits none of those categories cannot be claimed, no matter how well the other tests are met.2Internal Revenue Service. Dependents

The Support Test

For a qualifying child, the support test asks one question: did the child pay for more than half of their own support? If the answer is no, the test is passed. You do not have to show that you personally covered the majority. If your child earned $5,000 but their total living costs were $20,000, it does not matter whether you, a grandparent, or several relatives combined to make up the difference. What matters is that the child did not fund more than half.7Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information

Support includes food, housing, clothing, education, medical care, recreation, and transportation. Scholarships are excluded from the calculation entirely, which matters for parents of college students on generous aid packages. Social Security benefits paid to the child and used for the child’s own care do count. If your child’s survivor or disability benefits cover more than half their living expenses, the child may fail the test.7Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information

The Joint Return Test

If your child is married and files a joint return with their spouse, you generally cannot claim them.7Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information The one narrow exception: if the married child files jointly only to claim a refund of withheld taxes or estimated payments, and neither spouse would owe any tax on a separate return, the claim still holds.2Internal Revenue Service. Dependents This mostly comes up when two young spouses had small part-time incomes and file jointly just to recover withholding.

Rules for Divorced or Separated Parents

When parents live apart, the IRS awards the claim to the custodial parent, meaning the parent the child spent more nights with during the year.8Internal Revenue Service. Claiming a Child as a Dependent When Parents Are Divorced, Separated or Live Apart A divorce decree does not override this. Family court orders don’t control federal tax law here.

The custodial parent can release the claim to the other parent by signing IRS Form 8332, which the noncustodial parent attaches to each return where the claim is used. The release can cover one year or multiple future years, and the custodial parent can revoke it in writing.9Internal Revenue Service. Form 8332 Release/Revocation of Release of Claim to Exemption for Child by Custodial Parent

Even when Form 8332 is used, the custodial parent typically keeps the Earned Income Tax Credit and Head of Household filing status, because those benefits follow where the child actually lives. The noncustodial parent gets only the dependency-linked pieces, such as the Child Tax Credit.

When Two People Claim the Same Child

If two returns claim the same child, the IRS applies tiebreakers in this order:

  • A parent beats a non-parent.
  • Between two parents not filing jointly, the parent the child lived with longer during the year wins.
  • If the child lived with both parents equally, the parent with the higher adjusted gross income wins.
  • A non-parent can claim the child only if no parent does, and only if that non-parent’s AGI is higher than any parent who could have claimed the child.
  • Among non-parents, highest AGI wins.

These rules are published in IRS Publication 501.10IRS.gov. Tie-Breaker Rule What usually plays out in practice: the second return filed electronically gets rejected because the child’s Social Security number was already used. The second filer has to paper-file, and the IRS may audit both returns to sort out who properly claims the child. That process is slow.

When a Child Ages Out: The Qualifying Relative Path

A child who no longer meets the qualifying child tests may still be your dependent under a separate category called qualifying relative, which has no age limit.7Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information The tests are different in two big ways:

  • The person’s gross income for the year must be below the IRS threshold, most recently $5,050 and adjusted annually for inflation. Nontaxable Social Security benefits don’t count toward that figure, but wages, interest, and rental income do.2Internal Revenue Service. Dependents
  • You must personally provide more than half the person’s support, not merely show that the person didn’t provide more than half themselves.2Internal Revenue Service. Dependents

A qualifying relative also cannot be anyone else’s qualifying child. And this matters: a qualifying relative does not open the door to every credit a qualifying child does. The Child Tax Credit, for instance, requires a qualifying child.

What Happens If You Claim a Child Who Doesn’t Qualify

Claiming a child who fails the tests is not a harmless error. If the IRS finds you were negligent or disregarded the rules, the accuracy-related penalty is 20% of the resulting underpayment.11Office of the Law Revision Counsel. 26 U.S. Code 6662 – Imposition of Accuracy-Related Penalty on Underpayments You’ll also owe back the credits and refunds you shouldn’t have received, plus interest.

Refundable credits carry stiffer consequences. A reckless claim of the Earned Income Tax Credit or Child Tax Credit can trigger a two-year ban on claiming those credits; a fraudulent claim triggers a ten-year ban. During the ban, you lose the credit even for children who do qualify. If you realize a past return claimed a child who didn’t meet the tests, filing an amended return before the IRS catches it is considerably less painful than an audit.