Not a Qualifying Child Test: Filing Status and Dependents (2025 IRS Guide)
This guide covers “Not a Qualifying Child Test” within filing status and dependents. The following material presents the IRS treatment of this topic, including the qualifications, exceptions, and examples in the source section. Read the rules alongside the facts of your own situation before deciding what to report, deduct, or document.
Adapted from Publication 501 (2025), Dependents, Standard Deduction, and Filing Information, published by the Internal Revenue Service. This guide retains the source edition’s years, amounts, deadlines, and examples. It is guidance for that edition, not a statement that the same figures apply to every tax year.
Not a Qualifying Child Test
A child isn’t your qualifying relative if the child is your qualifying child or the qualifying child of any other taxpayer.
Example 1.
Your 22-year-old child, who is a student, lives with you and meets all the tests to be your qualifying child. This child isn’t your qualifying relative.
Example 2.
Your 2-year-old child lives with your parents and meets all the tests to be their qualifying child. This child isn’t your qualifying relative.
Example 3.
Your 30-year-old child lives with you. This child isn’t a qualifying child because the age test isn’t met. This child may be your qualifying relative if the gross income test and the support test are met.
Example 4.
Your 13-year-old grandchild only lived with you for 5 months during the year. Your grandchild isn’t your qualifying child because the residency test isn’t met. Your grandchild may be your qualifying relative if the gross income test and the support test are met.
Child of person not required to file a return.
A child isn’t the qualifying child of any other taxpayer and so may qualify as your qualifying relative if the child’s parent (or other person for whom the child is defined as a qualifying child) isn’t required to file an income tax return and either:
-
Doesn’t file an income tax return, or
-
Files a return only to get a refund of income tax withheld or estimated tax paid.
Example 1—return not required.
You support an unrelated friend and your friend’s 3-year-old child, who lived with you all year in your home. Your friend has no gross income, isn’t required to file a 2025 tax return, and doesn’t file a 2025 tax return. Both your friend and your friend’s child are your qualifying relatives if the support test is met.
Example 2—return filed to claim refund.
The facts are the same as in Example 1, except your friend had wages of $1,500 during the year and had income tax withheld from their wages. Your friend files a return only to get a refund of the income tax withheld and doesn’t claim the earned income credit or any other tax credits or deductions. Both your friend and your friend’s child are your qualifying relatives if the support test is met.
Example 3—earned income credit claimed.
The facts are the same as in Example 2, except your friend had wages of $8,000 during the year and claimed the earned income credit. Your friend’s child is the qualifying child of another taxpayer (your friend), so you can’t claim your friend’s child as your qualifying relative. Also, you can’t claim your friend as your qualifying relative because of the gross income test explained later.
Child in Canada or Mexico.
You may be able to claim your child as a dependent even if the child lives in Canada or Mexico. If the child doesn’t live with you, the child doesn’t meet the residency test to be your qualifying child. However, the child may still be your qualifying relative. If the persons the child does live with aren’t U.S. citizens and have no U.S. gross income, those persons aren’t “taxpayers,” so the child isn’t the qualifying child of any other taxpayer. If the child isn’t the qualifying child of any other taxpayer, the child is your qualifying relative as long as the gross income test and the support test are met.
You can’t claim as a dependent a child who lives in a foreign country other than Canada or Mexico, unless the child is a U.S. citizen, U.S. resident alien, or U.S. national. There is an exception for certain adopted children who lived with you all year. See Citizen or Resident Test, earlier.
Example.
You provide all the support of your children, ages 6, 8, and 12, who live in Mexico with your parent and have no income. You are single and live in the United States. Your parent isn’t a U.S. citizen and has no U.S. income, so your parent isn’t a “taxpayer.” Your children aren’t your qualifying children because they don’t meet the residency test. But because they aren’t the qualifying children of any other taxpayer, they may be your qualifying relatives and you may be permitted to claim them as dependents. You may also be able to claim your parent as a dependent if the gross income and support tests are met.
Using the guidance
Keep the documents that establish the dates, amounts, and circumstances described above. References to other chapters, forms, worksheets, or earlier and later sections refer to the linked IRS publication. Check the full publication and its updates before relying on a rule for a different tax year or a situation not addressed here.
Sources and further reading
- Publication 501 (2025), Dependents, Standard Deduction, and Filing Information: Dependents — Qualifying Relative — Not a Qualifying Child Test — Internal Revenue Service; 2025 edition.
The cited U.S. government text is in the public domain. Source accessed October 28, 2026. Fynoptic has organized this material for educational use and is independent of, and not endorsed by, the IRS.