Paying someone else’s medical bills with your HSA is tax-free only when that person is your spouse, your tax dependent, or someone who would be your dependent except for the gross income test, the joint return test, or the rule that disqualifies a person claimed as a dependent by someone else.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans The person does not have to be on your high deductible health plan. Everyone else — friends, financially independent parents, adult children who’ve moved on, a partner who pays their own way — is off-limits, and paying their bills from your HSA triggers income tax plus a 20 percent penalty if you’re under 65.
Who Counts as Eligible
Federal law allows tax-free HSA distributions for qualified medical expenses of three groups: you, your spouse, and your dependents.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
A spouse qualifies no matter what insurance they carry. They can be on a different plan, on no plan, or enrolled in Medicare. The only requirement is a legal marriage under federal law.
For dependents, the definition is broader than the one used on your tax return. The statute ignores three tests that would normally disqualify someone: the joint return filing rule, the gross income limit, and the rule that disqualifies a person who’s claimed as a dependent by someone else.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts That expansion is easy to miss. A parent earning $40,000 a year would blow past the qualifying relative gross income cap ($5,300 for 2026),3Internal Revenue Service. Revenue Procedure 2025-32, Inflation Adjusted Items for 2026 but that cap doesn’t apply for HSA purposes. The other dependency tests still do, and the support test is where most claims fail.
The Two Dependent Tests
A person qualifies as your dependent only by fitting one of two paths.
Qualifying Child
All four conditions must be true at the same time:4Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined
- Relationship: your child, stepchild, foster child, sibling, stepsibling, or a descendant of any of them (grandchild, niece, nephew).
- Residence: lived with you more than half the year.
- Age: under 19 at year-end, or under 24 if a full-time student.
- Support: did not provide more than half of their own financial support for the year.
A 20-year-old who dropped out of school and works full-time typically fails both the age and support tests.
Qualifying Relative
The relative path requires:
- Relationship: your parent, grandparent, sibling, aunt, uncle, in-law, or anyone who lives with you as a member of your household for the entire year.
- Support: you provide more than half of the person’s total support for the year, counting food, housing, medical care, clothing, and similar necessities.
- Citizenship: a U.S. citizen, national, or resident of the U.S., Canada, or Mexico.
Again, the $5,300 gross income cap doesn’t apply when the question is HSA eligibility, and it doesn’t matter if the person filed a joint return with someone else.5Internal Revenue Service. Instructions for Form 8889
The household-member option is worth understanding because it can reach people with no family connection. An unmarried partner, a close friend, or anyone else who lives with you the entire year and depends on you for more than half their support can qualify, provided the living arrangement doesn’t violate local law.4Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined Cohabitation laws have been struck down or repealed in nearly every state, so that restriction rarely bites. The support test is the real hurdle: if your partner earns a reasonable income and covers roughly half the household expenses, you aren’t providing over half their support.
Divorced or Separated Parents
Sharing a child with an ex works differently. If you’ve been divorced, legally separated, or living apart for the last six months of the year, the IRS treats the child as a dependent of both parents for HSA purposes. It doesn’t matter which parent claims the child on their tax return or whether the custodial parent has released the exemption.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Both parents can use their own HSA to pay that child’s medical bills tax-free.5Internal Revenue Service. Instructions for Form 8889
If your child breaks an arm at your ex’s house and your ex pays the ER bill, you can still reimburse yourself from your HSA for any portion you paid toward that bill. The child counts as your dependent regardless of custody.
Who Your HSA Cannot Cover
The frequent mistakes involve people who feel like they should qualify but don’t meet the tests.
Adult children who aren’t dependents. Your health plan can cover a child until age 26 under the Affordable Care Act, but that insurance rule has nothing to do with HSA eligibility. Once your child ages out of the qualifying child test and you aren’t providing more than half their support, your HSA can’t pay their bills.4Office of the Law Revision Counsel. 26 USC 152 – Dependent Defined A 23-year-old college graduate with a full-time job is almost certainly not your dependent for HSA purposes, even if they’re still on your plan.
Financially independent parents. A parent qualifies only if you provide more than half of their total support. If your parent covers their own expenses through Social Security, a pension, retirement savings, or any combination, they fail the support test. You can still pay their bills out of pocket. You just can’t do it tax-free from your HSA.
Domestic partners who support themselves. An unmarried partner can qualify through the household-member path, but only if you provide more than half of their support. Two working adults splitting expenses roughly equally won’t meet that standard. Sharing a home and finances isn’t enough; the IRS wants a formal dependency relationship.
Friends, extended family, and other non-dependents. Closeness doesn’t matter. If the person doesn’t meet either dependency test, HSA money used on their care is an ineligible distribution.
When the Relationship Has to Exist
The person must be your spouse or dependent at the time the medical service was provided. If your child was your dependent when they had surgery in March but moved out and became self-supporting in June, the March surgery still qualifies. A medical expense in October, after they’ve left your household and support, does not.6Internal Revenue Service. Publication 502, Medical and Dental Expenses
Expenses incurred before you opened your HSA never qualify, regardless of who they were for. If you established your HSA in April, a spouse’s January dental bill can’t be reimbursed from it.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Death doesn’t cut off eligibility for bills already earned. You can use HSA funds for a spouse’s or dependent’s medical expenses as long as the person was your spouse or dependent either when the service was provided or when you paid the bill.6Internal Revenue Service. Publication 502, Medical and Dental Expenses A hospital bill that arrives two months after a spouse’s death is still qualified if the services were rendered while they were alive and married to you.
What Happens If You Get It Wrong
Using HSA funds for someone who doesn’t qualify is treated as though you took cash out for personal use. Two consequences hit at once: the amount is added to your taxable income for the year, and you owe an additional 20 percent tax on top.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans On a $2,000 ineligible payment, that’s $400 in penalty tax plus whatever your marginal income tax rate adds, which reaches 37 percent for the highest earners in 2026.7Internal Revenue Service. IRS Tax Inflation Adjustments for Tax Year 2026
The 20 percent penalty falls away once you turn 65, become disabled, or die. After 65, a non-qualified distribution is still added to your taxable income, but you owe only regular income tax on it.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Fixing a Genuine Mistake
If you paid the wrong person’s bill due to a real error, you may be able to return the money to your HSA and undo the tax consequences. The IRS allows repayment of a “mistaken distribution” when the mistake was based on reasonable cause, such as believing a family member was still your dependent when they had actually become self-supporting.8Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
The deadline to return the funds is the due date of your tax return (without extensions) for the first year you knew or should have known the distribution was a mistake. If you repay in time, the distribution isn’t included in your gross income and the 20 percent penalty doesn’t apply.8Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA Your HSA trustee isn’t required to accept the repayment, so check with your provider before assuming this option is on the table.
Records to Keep
The IRS doesn’t ask for receipts when you take a distribution, but if you’re audited the burden of proof is entirely on you. For any distribution used on someone else’s bills, you need documentation showing two things: that the expense qualifies as medical care, and that the person qualifies as your spouse or dependent.
For the medical expense itself, save the itemized bill or explanation of benefits showing the date of service, the provider, and the nature of the treatment. A credit card statement won’t do because it doesn’t describe the charge. Publication 502 lists what counts as medical care, from prescription drugs and dental work to certain transportation for medical appointments.6Internal Revenue Service. Publication 502, Medical and Dental Expenses
For eligibility, keep records that establish the dependency relationship. Tax returns showing you claimed the person as a dependent are the simplest proof. For a spouse, a marriage certificate or joint return works. For a qualifying relative who isn’t on your tax return because the gross income test kept them off it, hang on to records of the support you provided: housing payments, grocery receipts, and similar expenses that show you covered more than half their living costs.
Keep these records for at least three years after the filing deadline of the tax return that covers the distribution. If you’re reimbursing yourself years after the fact, keep the original receipts until three years after you file the return for the year you actually take the money out.