Your HSA can pay tax-free for the medical expenses of three people: you, your legal spouse, and anyone who qualifies as your tax dependent under IRS rules. HSA eligible dependents fall into two IRS categories, qualifying children and qualifying relatives, each with its own age, residency, income, and support tests. Spouses are treated as an eligible category on their own and do not have to pass any dependency test. Spending HSA funds on someone who does not fit one of these categories triggers a 20% additional tax on top of regular income tax on the distribution, so the definition matters.
The Two IRS Dependent Categories
The IRS recognizes two kinds of dependents under IRC Section 152: qualifying children and qualifying relatives. Publication 969 uses a slightly expanded version of these definitions for HSA purposes, but the Section 152 tests are the starting point.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined
Qualifying Child
A qualifying child must meet all four of these requirements:
- Live with you for more than half the tax year.
- Not provide more than half of their own financial support.
- Be under 19 at the end of the calendar year, or under 24 if a full-time student for at least five months of the year.
- Not file a joint tax return with a spouse, with limited exceptions.
There is no age limit for a qualifying child who is permanently and totally disabled.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined A physician must certify that the individual cannot engage in any substantial work activity because of a physical or mental condition expected to last at least 12 months or result in death.2Internal Revenue Service. Publication 524, Credit for the Elderly or the Disabled If your adult child meets this standard, they remain a qualifying child for HSA purposes regardless of age.
Qualifying Relative
A qualifying relative must meet a different set of tests:
- You provide more than half of their total financial support for the year.
- Their gross income falls below the annual threshold, which was $5,200 for 2025 and adjusts annually for inflation.3Internal Revenue Service. Publication 501 – Dependents, Standard Deduction, and Filing Information
- They are a qualifying family member (parent, sibling, grandchild, and others listed in the tax code) or live with you for the entire year.
The HSA-Specific Expansion
Publication 969 goes further than the standard dependency rules. For HSA spending, you can also use your funds for someone who would have qualified as your dependent except that they filed a joint tax return, their gross income exceeded the annual threshold, or you yourself could be claimed as a dependent on someone else’s return.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
This helps in narrow situations. If your elderly parent lives with you and earns slightly too much to be your qualifying relative, you can still use HSA funds for their medical care as long as every other dependency test is met. The income test is the only one waived. Failing the support test or the residency requirement is not fixed by this exception.
Spouses Are Automatic
Either spouse can use their HSA to pay for the other’s qualified medical expenses with no tax penalty.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans Your spouse does not need to meet any dependency test, because the statute treats spouses as an eligible category on their own. Income, residency, and support are irrelevant. A working spouse with their own paycheck qualifies just as fully as a stay-at-home spouse.
HSAs themselves remain individual accounts. You cannot open a joint HSA, even if both spouses are covered under the same family high-deductible health plan.5Internal Revenue Service. Individuals Who Qualify for an HSA But the spending rule is separate from the ownership rule: one spouse’s HSA can freely pay for the other’s care.
Adult Children Past the Age Cutoff
The Affordable Care Act lets children stay on a parent’s health insurance until age 26, but the IRS ignores insurance coverage when deciding who qualifies as your HSA dependent. The tax code’s age limits are firm: under 19 at year-end, or under 24 if a full-time student.1Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined A 25-year-old on your family HDHP may have insurance through your plan, but spending your HSA on their prescriptions or doctor visits triggers the 20% penalty plus income tax on the distribution.
Full-time students often fall into a gray area at graduation. A child who turns 24 in October but left school in May has already exceeded the age cutoff by year-end. Students who graduate mid-year and start working may also fail the support test once they begin earning enough to cover more than half their own expenses. Both situations end HSA-dependent status, even though the child may still be on your insurance.
The upside of losing dependent status is that an adult child covered under your family HDHP can open their own HSA. Because they are on a qualifying high-deductible plan and are not claimed as a dependent on anyone’s tax return, they meet HSA eligibility requirements and can contribute up to the family coverage limit to their own account. The contribution-sharing rule under IRC Section 223(b)(5) applies only to spouses, not to parent-child relationships.6Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts The family can effectively shelter more combined dollars in HSAs than a married couple on the same plan could.
Domestic Partners Get No Special Treatment
Federal law does not treat domestic partners the same as legal spouses for HSA purposes. The automatic eligibility that lets spouses use each other’s HSA funds does not apply. A domestic partner’s medical expenses can be paid from your HSA only if the partner meets the qualifying relative test, the same test that applies to any non-spouse, non-child member of your household.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
That means the partner must live with you for the entire calendar year, receive more than half of their total financial support from you, and have gross income below the annual threshold.7Internal Revenue Service. Dependents These are high bars for a working partner. Someone earning a typical full-time income almost certainly fails the income test and possibly the support test. Using HSA funds on their behalf in that case results in the 20% additional tax plus inclusion in your gross income.8Internal Revenue Service. Instructions for Form 8889
The practical workaround is that a partner with access to their own HDHP can open an individual HSA and fund it independently. Both accounts stay compliant, and each person pays for their own care.
Children of Divorced or Separated Parents
Publication 969 includes a specific rule for children of divorced, separated, or living-apart parents: the child is treated as the dependent of both parents for HSA purposes, regardless of which parent claims the child on their tax return.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans This applies as long as the parents lived apart for the last six months of the calendar year. Either parent can use their own HSA to pay for the child’s medical expenses without penalty.
A non-custodial parent can therefore pay for a child’s emergency room visit from their HSA even if the other parent claims the child’s tax exemption. Parents should still coordinate to make sure the same expense is not reimbursed from both HSAs. Double reimbursement is a prohibited transaction and can trigger penalties on the duplicate distribution.
The Cost of Getting It Wrong
Using HSA funds for someone who does not meet the dependency tests, or for a non-medical expense, triggers a 20% additional tax on the amount withdrawn. The distribution is also added to your gross income, so you owe regular income tax plus the penalty.8Internal Revenue Service. Instructions for Form 8889
Three situations waive the 20% penalty: distributions made after the account holder’s death, after becoming disabled, or after turning 65.8Internal Revenue Service. Instructions for Form 8889 After 65, you can use HSA funds for any purpose. You still owe income tax on non-medical withdrawals, but no penalty.
Your HSA provider reports all distributions to the IRS on Form 1099-SA. You then file Form 8889 with your tax return to identify which distributions went to qualified medical expenses and which did not. You must file Form 8889 if you received any HSA distribution during the year, even if every dollar went toward qualified expenses.8Internal Revenue Service. Instructions for Form 8889 Keep receipts, medical bills, and documentation of any dependent relationship. The burden of proving eligibility falls on you if the IRS questions a distribution years after the fact.