You can claim a child as a dependent when they meet four IRS tests — age, relationship, residency, and support — and haven’t filed a joint return with a spouse for anything more than a refund of withholding. In practical terms, most children stop qualifying the year they turn 19, or 24 if they’re full-time students. A child with a permanent and total disability can qualify at any age.
The Age Cutoffs
Age is the most common reason a child stops qualifying. At the end of the tax year, your child must fit one of three categories:
- Under 19.
- Under 24 and a full-time student for at least parts of five calendar months during the year. The five months don’t have to be consecutive, and the school itself decides what counts as full-time enrollment. Online courses count if the school treats that enrollment as full-time.1IRS.gov. Full-Time Student
- Permanently and totally disabled, with no age limit.
The child also has to be younger than you (or your spouse, if filing jointly). That rule applies to both the under-19 and under-24 brackets, so a 19-year-old cannot claim an 18-year-old sibling as a qualifying child.2Office of the Law Revision Counsel. 26 U.S. Code 152 – Dependent Defined The only exception is a permanently and totally disabled child, where neither the age cap nor the “younger than you” requirement applies.3Internal Revenue Service. Dependents
The trigger is the calendar. If your non-disabled child turns 19 (or 24, if a student) before January 1 of the following year, they no longer pass this test for the year that just ended.
Who Counts as Your Child
The IRS defines “child” broadly. The relationship test is satisfied by any of the following:
- Your biological son, daughter, grandchild, or great-grandchild.
- A stepson or stepdaughter.
- A legally adopted child, or a child lawfully placed with you for adoption.
- A foster child placed with you by an authorized placement agency or by court order.
- A brother, sister, stepbrother, or stepsister, or any of their descendants (nieces, nephews, and so on).
Half-siblings count the same as full siblings.2Office of the Law Revision Counsel. 26 U.S. Code 152 – Dependent Defined If you’re raising a grandchild, niece, or foster child, they can qualify as your dependent the same way a biological child would, provided every other test is met.
Living With You and Citizenship
Your child must live with you for more than half the tax year. The IRS counts nights, so the child needs to spend more than six months at your address. Temporary absences still count as time at home, including time away for school, vacation, illness, military service, or detention in a juvenile facility.4Internal 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.5Internal Revenue Service. Qualifying Child Rules 1
The child also has to be a U.S. citizen, U.S. resident alien, U.S. national, or a resident of Canada or Mexico. A child living abroad who doesn’t fit any of those categories cannot be claimed, no matter what else is true.3Internal Revenue Service. Dependents
The Support Test
For a qualifying child, the support test asks one question: did the child provide more than half of their own support? If the answer is no, the test passes. You don’t have to prove that you personally covered more than half. If your child earned $5,000 and their total living costs were $20,000, it doesn’t matter whether you, a grandparent, or a mix of family covered the rest. What matters is that the child didn’t fund more than half on their own.6Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information – Section: Support Test (To Be a Qualifying Child)
Support covers food, housing, clothing, education, medical care, recreation, and transportation. Scholarships are excluded from this calculation entirely, which is a relief for parents of college students on heavy financial aid.6Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information – Section: Support Test (To Be a Qualifying Child)
Social Security benefits paid to the child and used for the child’s own care do count as the child’s own support. If a child receives survivor or disability benefits and those payments cover more than half their living expenses, the child may fail this test.
The Joint-Return Restriction
If your child gets married and files a joint return with their spouse, you generally can’t claim them. The IRS won’t let the same person generate tax benefits on two different returns.7Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information – Section: Dependents
One narrow exception: if the married couple files jointly only to claim a refund of taxes withheld or estimated taxes paid, and neither spouse owed any tax, you can still claim the child.3Internal Revenue Service. Dependents This usually comes up with two young spouses who had small part-time incomes, had tax withheld, and filed jointly just to get that withholding back.
If You’re Divorced or Separated
When parents live apart, the IRS gives the dependency claim to the custodial parent — defined as the parent the child lived with for the greater number of nights during the year. That’s true no matter what a divorce decree says; family court orders don’t override federal tax law here.8Internal Revenue Service. Claiming a Child as a Dependent When Parents Are Divorced, Separated or Live Apart
The custodial parent can release the claim to the other parent by signing IRS Form 8332. The noncustodial parent then attaches that form to their return each year they claim the child. A release can cover one year or several future years and can be revoked 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 generally keeps the Earned Income Tax Credit and Head of Household filing status, since both are tied to where the child actually lives. The noncustodial parent gets only the dependency-linked benefits, such as the Child Tax Credit.
When Two People Claim the Same Child
If two people claim the same child, the IRS applies tie-breaker rules in this order:10IRS.gov. Tie-Breaker Rule
- A parent beats a non-parent.
- Between two parents who don’t file jointly, the parent the child lived with longest during the year wins.
- If the child lived with both parents for equal time, the parent with the higher adjusted gross income wins.
- A non-parent can claim the child only if no parent does, and only if the non-parent’s AGI is higher than any parent who could have claimed the child.
- Among non-parents, the highest AGI wins.
In practice, the second return filed electronically is usually rejected because the child’s Social Security number already appears on another return. The second filer then has to paper-file, and the IRS may examine both returns to sort out who properly claims the child. The process is slow.
An Older Child as a Qualifying Relative
A child who ages out of qualifying child status isn’t automatically off your return. The IRS has a second category called a qualifying relative, and it has no age limit. If your 30-year-old child lives with you and meets the other tests, they may still be your dependent under this alternative path.11Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
The qualifying relative tests differ from the qualifying child tests in two important ways:
- The person’s gross income must be below $5,050 (the most recently published IRS threshold, which adjusts each year for inflation). Gross income includes wages, interest, and rental income, but not nontaxable Social Security benefits.3Internal Revenue Service. Dependents
- You must actually provide more than half the person’s support. Unlike the qualifying child version of the test, it isn’t enough that the person didn’t fund themselves; you personally have to cover more than 50% of their living expenses.3Internal Revenue Service. Dependents
A qualifying relative also cannot be anyone else’s qualifying child. And a qualifying relative doesn’t unlock every credit a qualifying child would. The Child Tax Credit, in particular, requires a qualifying child.
If You Claim a Child Who Doesn’t Qualify
Claiming a child who doesn’t meet the tests isn’t a harmless mistake. If the IRS finds you were negligent or disregarded the rules, you face an accuracy-related penalty equal to 20% of the underpayment caused by the incorrect claim, on top of paying back the tax savings and credits you shouldn’t have received, plus interest.12Office of the Law Revision Counsel. 26 U.S. Code 6662 – Imposition of Accuracy-Related Penalty on Underpayments
Improper claims of refundable credits like the Earned Income Tax Credit or Child Tax Credit are worse. A reckless claim can trigger a two-year ban from claiming those credits; a fraudulent claim, a ten-year ban. During that ban, you lose the credit even for children who legitimately qualify. If you realize you claimed a child who didn’t meet the tests, filing an amended return before the IRS catches the error is far less painful than an audit.