An HSA can pay tax-free for the qualified medical expenses of three people: you, your spouse, and anyone who meets the IRS definition of a dependent under a version of the test that’s actually more generous than the one used elsewhere on your return. Whether an HSA can be used for family members does not depend on whether those family members are covered by your high-deductible health plan, and it does not depend on whether you claim them on your tax return. It depends on the relationship and support tests below. Getting this wrong is expensive: a distribution spent on someone who doesn’t qualify is taxed as income and hit with an additional 20% penalty.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Your Spouse Always Qualifies
A legally married spouse is eligible for HSA-funded medical care without conditions. Separate insurance, no insurance, employer plan, Marketplace plan — none of it matters. The statute names the spouse alongside the account holder as an eligible recipient with no strings attached about coverage.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Routine checkups, surgery, prescriptions, dental, vision: all payable from your HSA for your spouse.
The marriage has to be legally recognized under federal law. After Obergefell v. Hodges, that includes same-sex marriages performed in any state.
Medicare complicates contributions, not distributions. If your spouse enrolls in Medicare, they can no longer contribute to an HSA, but you can still spend your HSA on their medical bills. And as long as you remain HSA-eligible yourself, you can keep contributing up to the family limit even while your spouse is on Medicare.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Children Who Qualify as Dependents
A child qualifies for HSA-funded care if they meet the IRS’s qualifying child test. Four requirements apply:3Internal Revenue Service. Dependents
- Relationship: your son, daughter, stepchild, foster child, sibling, or a descendant of any of these (grandchild, niece, nephew).
- Age: under 19 at year-end, or under 24 if a full-time student for at least five months of the year.
- Residency: lived with you for more than half the year. School absences count as time with you.
- Self-support: the child did not provide more than half of their own support during the year.
Read the self-support test carefully. It doesn’t require you to provide more than half. If your 20-year-old college student is supported by a mix of scholarships, help from grandparents, and some of your money, they still qualify as long as they didn’t cover more than half of their own support out of their own earnings or assets.4Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined
The Under-26 Insurance Rule Is a Trap
The Affordable Care Act keeps children on a parent’s health plan until age 26. That has nothing to do with HSAs. A 25-year-old who works full-time and supports themselves is on your insurance but does not qualify for tax-free HSA distributions, because they fail the age and self-support tests. Pay their medical bill from your HSA and the entire withdrawal is taxed as income plus the 20% penalty.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans This is one of the most common and most costly HSA mistakes.
Adult Children with Disabilities
A child who is permanently and totally disabled qualifies at any age. No age cap applies. If you have an adult child with a qualifying disability and you provide their primary support, their medical expenses stay HSA-eligible indefinitely.3Internal Revenue Service. Dependents
Children of Divorced or Separated Parents
The IRS carves out a specific rule for split families. When parents are divorced, legally separated, or have lived apart for the last six months of the year, the child is treated as the dependent of both parents for HSA purposes. Which parent claims the child on their return is irrelevant.5Internal Revenue Service. Instructions for Form 8889
Both parents can use their own HSAs to pay the child’s medical bills tax-free. If the custodial parent has signed the dependency exemption over to the noncustodial parent (a common feature of divorce agreements), the custodial parent still gets to use HSA funds for the child. There’s no requirement to coordinate about whose account pays first. Both parents should keep records, though, so the same expense isn’t reimbursed twice.
Parents, Grandparents, and Other Relatives
HSA eligibility reaches beyond the household. You can use your HSA for a parent, grandparent, sibling, in-law, aunt, uncle, or another relative listed in the tax code, as long as they meet the qualifying relative test. For HSA purposes that test comes down to two things:2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
- Support: you provide more than half of the person’s total financial support for the year.6Internal Revenue Service. Publication 501, Dependents, Standard Deduction, and Filing Information
- Relationship or household: the person is either a close relative listed in the tax code or lives with you as a member of your household for the entire year.
Here’s where HSA rules do something unusually helpful. For general tax dependency, a qualifying relative must earn less than $5,300 in 2026.7Internal Revenue Service. Revenue Procedure 2025-32 For HSA spending, that income cap is waived entirely.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts An elderly parent collecting $20,000 in Social Security and a small pension would flunk the standard dependency test, but if you cover more than half their support, their medical bills are HSA-eligible. For families managing care across generations, that difference is real money.
Keep documentation. Bank statements, canceled checks, and receipts covering housing, food, medical care, and other necessities all help you show you crossed the more-than-half line if the IRS ever asks.
Domestic Partners
Federal tax law doesn’t recognize domestic partnerships the way it recognizes marriage. A domestic partner’s medical expenses qualify only if the partner independently meets the tax-dependent definition — normally the qualifying relative test, meaning you provide more than half of their support and they live with you as a member of your household for the whole year.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
If your partner doesn’t meet that test, using your HSA for their care triggers income tax plus the 20% penalty.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans A partner who has their own HDHP should open their own HSA and contribute based on their own coverage. That keeps each account cleanly inside the rules.
The Modified Dependent Definition, in Plain Terms
For HSA spending, three tests that normally block someone from being your dependent are set aside:
- Gross income test waived. The $5,300 (2026) income ceiling doesn’t apply.7Internal Revenue Service. Revenue Procedure 2025-32
- Joint return test waived. A person who files jointly with their own spouse can still qualify.
- Citizenship and residency test waived. A dependent doesn’t have to be a U.S. citizen or resident for HSA purposes.
One more point that catches people out: the family member doesn’t have to be listed as a dependent on your actual tax return. They just have to meet the modified definition. That’s why the divorced-parents rule works the way it does, and it’s why an adult child on your insurance who doesn’t meet the tests still doesn’t qualify no matter what your health plan says.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
What It Costs to Get This Wrong
Spending HSA money on someone who doesn’t qualify makes the withdrawal fully taxable as ordinary income and adds a 20% penalty tax on top.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans On a $1,000 non-qualified withdrawal, someone in the 22% bracket loses $420 to taxes and the penalty combined.
The 20% penalty disappears in three situations: after you turn 65, if you become disabled, or at your death. Once you’re 65, non-medical HSA withdrawals are taxed as ordinary income only, and the account works like a traditional retirement account for anything else you spend it on. Withdrawals for qualified medical expenses stay completely tax-free at every age.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans