The rules for an inherited HSA split cleanly along one line: whether you are the account holder’s surviving spouse or anyone else. A surviving spouse named as beneficiary takes over the HSA as their own, with every tax advantage intact. A non-spouse beneficiary, whether a child, sibling, parent, or friend, must include the account’s full fair market value as of the date of death in their gross income for that year. The beneficiary designation on file with the custodian decides which path applies.
If You Are the Surviving Spouse
The HSA becomes your own account. No taxable event is triggered by the transfer, the funds keep growing tax-free, and withdrawals for qualified medical expenses remain tax-free just as they did during your spouse’s lifetime.1Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts
You can leave the inherited HSA where it is or roll the funds into an HSA you already own. Either way, you step into your spouse’s shoes. You can also use the inherited funds tax-free to pay any qualified medical expenses your spouse incurred before death, regardless of your own age.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
If you take money out for something other than qualified medical expenses before age 65, expect ordinary income tax plus a 20% penalty. After 65, the penalty falls away but income tax still applies to non-medical withdrawals.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Contributing to the Inherited Account
Because the account is now yours, you can keep contributing, but only if you independently meet HSA eligibility rules, which mean enrollment in a qualifying high-deductible health plan. The 2026 contribution limits are $4,400 for self-only HDHP coverage and $8,750 for family coverage, with an extra $1,000 catch-up contribution allowed at age 55 or older.3Internal Revenue Service. Revenue Procedure 2025-19, HSA Inflation Adjusted Amounts for 2026
The Medicare Trap
Once you enroll in Medicare, your HSA contribution limit drops to zero. You can still spend the balance tax-free on qualified medical expenses, including Medicare premiums in many cases, but no new money can go in.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans If you inherit a large balance and are already on Medicare, the account essentially becomes a spend-down vehicle.
If You Are Not the Surviving Spouse
The treatment is blunt. On the date of the owner’s death, the HSA stops being an HSA, and its entire fair market value as of that date is included in your gross income for the year the owner died.1Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts There is no rollover option. No stretch over multiple years. No deferral. The full value hits your return in a single tax year.
For a well-funded HSA, that lump sum can push you into a higher bracket and inflate your adjusted gross income enough to produce side effects: higher Medicare Part B premiums, reduced eligibility for income-based tax credits, and increased taxation of Social Security benefits if you already collect them.
One relief: the 20% penalty that normally applies to non-medical HSA withdrawals does not apply here. The distribution is triggered by death, not a voluntary non-medical withdrawal.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
The One-Year Window That Reduces Your Tax
You can lower the taxable amount by paying any of the decedent’s qualified medical expenses within one year after the date of death.1Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts If the decedent had $12,000 in unpaid hospital bills and you pay them from the inherited HSA inside that window, $12,000 comes off what you have to report.
The deadline is absolute. Expenses paid one day late do not count. Gather outstanding bills quickly and keep every invoice, explanation of benefits, and payment confirmation. The IRS wants records showing that the expenses were qualified medical costs, that they were incurred before the owner’s death, and that no other source reimbursed them.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
The one-year clock starts on the date of death, not the date the custodian releases the funds, so begin the claim process right away.
Earnings Between Death and Distribution
If the account earns interest or investment gains between the date of death and the day the custodian pays out, those earnings are also taxable to you, but they go on your return as other income rather than on Form 8889. Your 1099-SA will show the total distribution in Box 1 and the fair market value on the date of death in Box 4. The difference is the post-death earnings.4Internal Revenue Service. Form 1099-SA Distributions From an HSA, Archer MSA, or Medicare Advantage MSA
When the Estate Inherits
If the owner named the estate as beneficiary, or named no beneficiary at all and the custodial agreement defaults to the estate, the account’s fair market value is included on the decedent’s final income tax return rather than a beneficiary’s return.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
This can be worse than naming a non-spouse individual. The final return may already carry income from the year of death, and the estate does not get the one-year reduction for paying the decedent’s medical expenses. The statute reserves that benefit for beneficiaries other than the estate.1Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts
When no beneficiary form is on file, the custodial agreement controls. Some agreements name a surviving spouse first and the estate second. Others go straight to the estate. Read the agreement to know which applies.
Reporting the Inheritance on Your Taxes
The custodian issues Form 1099-SA to the beneficiary. Box 1 shows the gross distribution, Box 4 shows the fair market value on the date of death, and Box 3 shows a distribution code that varies by situation: code 4 when death and distribution occur in the same year, code 1 for a spouse in a later year, code 4 for the estate in a later year, and code 6 for a non-spouse individual in a later year.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
A non-spouse beneficiary must file Form 8889 with Form 1040, even without any other reason to file it. Write “Death of HSA account beneficiary” across the top, enter your name and Social Security number, skip Part I, and report the taxable amount in Part II.6Internal Revenue Service. Instructions for Form 8889 Post-death earnings go on your return as other income, not on Form 8889.4Internal Revenue Service. Form 1099-SA Distributions From an HSA, Archer MSA, or Medicare Advantage MSA
A surviving spouse who takes over the account does not report anything special for the year of the owner’s death, because the transfer itself is not taxable. Future distributions are reported under the spouse’s own HSA reporting.
The Estate Tax Deduction for Large Estates
A big HSA can be taxed twice: once as part of the decedent’s taxable estate, and again as ordinary income to the non-spouse beneficiary. Section 691(c) softens this by allowing the beneficiary to deduct the share of federal estate tax attributable to the inherited HSA income.1Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts
This only matters when the estate was actually large enough to owe federal estate tax, so most beneficiaries never touch it. When it does apply, it can meaningfully reduce the income tax owed. IRS Publication 559 confirms the deduction is available to non-spouse HSA beneficiaries.7Internal Revenue Service. Publication 559, Survivors, Executors, and Administrators The estate itself does not get this deduction when the HSA is included on the decedent’s final return.
Planning Moves for HSA Owners
The gap between spousal and non-spousal treatment is large enough to drive beneficiary planning. A few decisions matter more than the rest.
Name a beneficiary. Leaving the form blank is the worst option because the funds usually end up in the estate, taxed on the decedent’s final return with no medical-expense reduction available. If you have a spouse, name them primary to preserve the account’s tax advantages. Update the form after divorce, remarriage, or a beneficiary’s death.
Consider a charity as beneficiary. If there is no surviving spouse, naming a tax-exempt charity means the full balance passes without an income tax hit, because a 501(c)(3) pays no income tax on the inclusion. That can be a better outcome than forcing a child or sibling to absorb a five-figure tax bill in one year.
Spend the HSA before other accounts. A non-spouse who inherits a 401(k) or IRA can at least stretch it over ten years. A non-spouse who inherits an HSA cannot stretch anything. That makes the HSA one of the least inheritance-friendly accounts in most portfolios, and often the right one to draw down first.
Claiming the Account From the Custodian
Contact the custodian and submit a death claim package. Most require a certified death certificate, a completed beneficiary claim form identifying you and your relationship to the decedent, and a government-issued ID. Once the claim is processed, a surviving spouse gets the account transferred into their name or rolled into their existing HSA. A non-spouse gets the account liquidated and distributed, with the transaction reported on Form 1099-SA.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
Move quickly. If custodian paperwork takes months, the non-spouse beneficiary’s one-year window for paying the decedent’s medical expenses shrinks accordingly.
State Tax Considerations
A handful of states, including California and New Jersey, do not conform to the federal HSA rules. In those states, an inherited HSA distribution that seems clean at the federal level can still generate a separate state tax bill. Check your state’s specific treatment before assuming the federal answer is the whole answer.