Inherited HSAs
& 529 Plans
Two accounts with surprising rules at death. An HSA left to anyone but a spouse becomes taxable all at once, in the year of the death. A 529 plan generally stays out of the estate and keeps its tax treatment, but who controls it depends on the plan.
Last reviewed
Inheriting a health savings account
- If you are the surviving spouse named as beneficiary, the account becomes your own HSA, and you can keep using it tax-free for medical expenses (IRC 223(f)(8)(A)).
- If you are anyone else, the account stops being an HSA on the date of death. Its full value on that date is taxable income to you for the year of the death, whether or not you have withdrawn anything (IRC 223(f)(8)(B)).
- Medical bills reduce the tax. The taxable amount is reduced by the decedent’s own medical expenses that you pay within 1 year after the death.
- No 20% penalty. The extra 20% tax on non-medical withdrawals does not apply after the account holder dies (IRC 223(f)(4)(B)).
- If estate tax was paid, a beneficiary other than the spouse can deduct the estate tax on the account (IRC 223(f)(8)(B)(ii); see income in respect of a decedent).
The custodian reports the account’s value on the date of death on Form 1099-SA (Instructions for Form 1099-SA). If the estate is the beneficiary, the value goes on the decedent’s final Form 1040 instead (IRS Pub. 969).
Only a spouse keeps the HSA’s tax benefits
| Beneficiary | What happens | When it is taxed |
|---|---|---|
| Surviving spouse | Becomes the spouse’s own HSA | Under the normal HSA rules; medical withdrawals stay tax-free |
| Anyone else | Stops being an HSA at the death | Full value taxable to the beneficiary for the year of the death |
| The estate | Stops being an HSA at the death | Value included on the decedent’s final Form 1040 |
| A beneficiary other than the estate can subtract the decedent’s medical bills paid within 1 year after the death. No 20% penalty applies. | ||
When a 529 plan owner dies
- Not in the estate. A 529 account generally is not included in the owner’s estate for estate tax (IRC 529(c)(4)(A)). The exception: if the owner spread a large gift over 5 years using the special gift tax election and died within those 5 years, the part allocated to the years after death is included (IRC 529(c)(4)(C)).
- Who takes over. Control of the account passes under the plan’s rules, usually to the successor owner named on the account. The student beneficiary stays the same unless the new owner changes it.
- The tax treatment continues. Withdrawals for the student’s qualified education expenses remain tax-free.
When the student dies
- Change the beneficiary. The account can be moved to another member of the student’s family, such as a sibling, cousin, or parent, with no tax (IRC 529(c)(3)(C); IRS Pub. 970).
- Or cash it out. A withdrawal because of the student’s death is exempt from the 10% additional tax, but the earnings portion is still taxable income (IRC 529(c)(6), 530(d)(4)(B)(i)).
- Estate tax. Amounts paid out because of the student’s death count in the student’s estate (IRC 529(c)(4)(B)), which matters only for very large estates.
- Coverdell accounts work differently: the balance generally must be paid out within 30 days after the student’s death unless a family member takes over as beneficiary (IRC 530(b)(1)(E) and (d)(7)).
What we handle
- Reporting an inherited HSA and the medical expense reduction
- Claiming the estate tax deduction when it applies
- Sorting out a 529 when the owner or the student has died
- Reporting the taxable part of 529 or Coverdell withdrawals
Frequently Asked Questions
Do I pay tax on an HSA I inherited?
If you are the surviving spouse, no; it becomes your own HSA. Anyone else owes income tax on the account’s full value for the year of the death, reduced by the decedent’s medical bills you pay within a year. There is no 20% penalty.
Can I use an inherited HSA for my own medical bills?
Only if you are the surviving spouse. For anyone else the account stops being an HSA at the death, so the tax applies whether or not you spend the money on medical care.
Is a 529 plan part of the estate?
Generally no. A 529 account is not included in the owner’s estate for estate tax, except for contributions spread under the 5-year gift election when the owner dies within those 5 years.
What happens to a 529 if the student dies?
The account can be switched to another family member of the student with no tax, or cashed out. A withdrawal because of the student’s death is exempt from the 10% penalty, but the earnings are still taxable income.