First published: February 3, 2026 / Last updated: February 27, 2026
Advanced HSA scenarios and FAQs
Health savings accounts (HSAs) are flexible tools, but certain life events can create complex rules and tax consequences. This guide covers advanced HSA scenarios that do not merit full standalone articles, including death, divorce, job loss, Medicare transitions, and other edge cases.
HSAs and death
If an HSA account holder dies, what happens to the account depends on the beneficiary designation.
-
Spouse as beneficiary: The HSA becomes your spouse's HSA.
They can continue using the funds for qualified medical expenses tax-free.
-
Non-spouse beneficiary: The HSA ceases to be an HSA. The fair market value becomes taxable income to the beneficiary in the year of death, except for amounts used to pay the decedent's medical expenses within one year.
Note: The one-year exception applies only to the decedent's qualified medical expenses (incurred before death) that the beneficiary pays within one year after the date of death.
-
Estate as beneficiary: The HSA is included in the decedent's final income tax return and taxed as ordinary income.
Tip: Naming a spouse as the primary beneficiary preserves the tax advantages of the HSA and avoids immediate taxation.
HSAs and divorce
Divorce affects HSAs based on how the account is handled in the divorce decree.
-
If an HSA is transferred to an ex-spouse as part of a divorce settlement,
it is generally treated as a tax-free transfer if made under a divorce or separation instrument.
-
After divorce, HSA funds can only be used for the qualified medical expenses
of the person who owns the HSA.
Important: Once a divorce is final, you generally cannot use your HSA for your ex-spouse's expenses, even if you pay medical costs as part of alimony, unless the ex-spouse remains your tax dependent (which is rare).
HSAs and job loss
Losing your job does not affect ownership of your HSA.
- Your HSA remains yours even if employer-sponsored coverage ends
- You can continue using HSA funds for qualified medical expenses
- You may continue contributing if you remain enrolled in an HSA-qualified HDHP,
including through COBRA
Tip: If you elect COBRA coverage, confirm that the plan is HSA-qualified before continuing contributions.
HSAs and transitions to Medicare
Medicare enrollment is one of the most common sources of costly HSA mistakes.
Understanding these rules is critical.
- You cannot contribute to an HSA after Medicare coverage begins
- You can continue using HSA funds tax-free for qualified medical expenses
- You can use HSA funds to pay Medicare Part B, Part D, and Medicare Advantage premiums
HSA funds can also be used for Medicare Part A premiums if you pay them (many people do not).
Critical warning: Medicare Part A enrollment after age 65 is retroactive
up to six months (but no earlier than your 65th birthday).
Any HSA contributions made during those retroactive months become excess contributions
and may be subject to taxes and a 6% penalty per year.
Best practice: Stop all HSA contributions at least six months before applying for Medicare Part A or Social Security.
Other advanced edge cases
-
Becoming a tax dependent: If you are claimed as a dependent,
you can still use existing HSA funds, but you generally cannot contribute.
-
Excess contributions: Excess amounts are subject to a 6% excise tax
each year until corrected.
-
Rollovers vs transfers: You may perform one rollover per 12-month period,
but trustee-to-trustee transfers are unlimited.
-
Mid-year employer changes: Contributions may continue if HDHP coverage remains uninterrupted.
- Month-by-month eligibility: HSA contribution eligibility is determined month by month. Coverage changes during the year can change how much you are allowed to contribute.
Frequently asked questions
Can my HSA pay for my spouse's medical expenses?
Yes, as long as you are legally married and the expenses are qualified medical expenses, you may use your HSA for your spouse even if they are not on your HDHP.
Can I contribute if I have other health coverage?
Yes, but only if the coverage is compatible with an HSA-qualified HDHP.
General-purpose FSAs and certain HRAs can disqualify you.
Can I use my HSA for Medicare Part B?
Yes, HSA funds can be used to pay Medicare Part B premiums and other qualified out-of-pocket costs.
What happens if I inherit an HSA from a non-spouse?
The inherited HSA becomes taxable income in the year of inheritance,
except for amounts used to pay the decedent's medical expenses within one year of death.
Can I contribute to an HSA if I have Direct Primary Care (DPC)?
In 2026, certain DPC arrangements are compatible with HSA contributions if they meet the statutory definition and monthly fee limits. If the arrangement does not meet the definition, it can make you ineligible to contribute while it is in effect.
Pro tip: Keep clear records of eligibility changes, beneficiary designations, and medical expenses to simplify tax reporting in complex situations.
Sources
Disclaimer
This page is for educational purposes only and is not tax or legal advice.
Check with your HSA administrator or a qualified tax or legal professional if you have questions about your specific situation.
As seen in
HSA Eligibility Guides
🚫
The "No" List: Common Ineligible Expenses
Are you accidentally using your HSA for items the IRS doesn't cover? Avoid penalties with our 2026 guide to commonly confused expenses like mattresses and hygiene products.
⌚
Apple Watches
Apple Watches get more HSA questions than almost any other item. Learn the specific rules for using your HSA and when you might need a Letter of Medical Necessity.
💍
Oura Rings
Oura Rings are a popular fitness tracker, but their HSA eligibility is tricky. We break down the medical requirements for reimbursement.
HSA Essentials
Financial Planning
📈
HSA Investment Calculator
Compare how an investment grows in an HSA vs traditional retirement accounts like a 401(k) and Roth IRA to maximize your long-term savings.
⚠️
HSA Early Withdrawal Penalty Calculator
Using HSA funds for non-medical expenses before age 65 triggers a steep 20% IRS penalty plus income tax. Use this tool to calculate the true cost of an early withdrawal before you tap into your savings.