Skip to content

Using an HSA in Retirement

An HSA can remain useful after you retire. You can take tax-free distributions for qualified medical expenses, including many costs that Medicare does not cover. HSA money can also pay certain Medicare premiums tax-free.

If money remains after age 65, it is not trapped. You may withdraw it for non-medical spending without the additional 20% tax that generally applies before age 65, but the withdrawal is usually included in taxable income. That makes leftover HSA money resemble an extra traditional retirement account for non-medical spending, while preserving better tax treatment for qualified medical costs.

Retirement does not require you to close or spend down an HSA. The account remains yours, and unused money can stay invested according to the options and fees offered by the custodian.

Tax treatment depends on how you use each distribution:

  • Qualified medical expenses can generally be paid or reimbursed tax-free.
  • Certain Medicare premiums can qualify, including premiums for Medicare Part B, Part D, and Medicare Advantage. Medigap premiums generally do not qualify.
  • Qualified long-term care insurance premiums may qualify up to age-based limits.
  • Non-medical distributions before age 65 are generally subject to income tax and an additional 20% tax.
  • Non-medical distributions at age 65 or later are generally subject to income tax, but not the additional 20% tax.

Enrollment in Medicare generally ends your eligibility to contribute to an HSA, including employer contributions. It does not prevent you from spending money already in the account. Because Medicare enrollment can be retroactive in some situations, coordinate your final HSA contribution carefully.

You may also reimburse yourself in retirement for qualified expenses paid after the HSA was established, if those expenses were not previously reimbursed or deducted and you kept adequate records.

Think of the HSA in two layers. The first layer is dedicated medical money with tax-free qualified withdrawals. The second layer is a backup source of taxable retirement income after age 65 if medical spending does not use the full balance.

This flexibility can make the HSA valuable, but it does not mean the account should replace all other retirement savings. HSA investment choices, fees, near-term medical needs, cash reserves, and access to an employer match elsewhere all matter.

Before retirement, estimate which costs you expect the HSA to cover. Keep enough accessible for near-term bills and invest only the portion you can leave exposed to market risk. In retirement, using HSA dollars for qualified costs will usually preserve their strongest tax benefit.

  • Assuming Medicare enrollment closes the HSA
  • Continuing HSA contributions after becoming ineligible through Medicare
  • Treating every insurance premium as a qualified HSA expense
  • Using HSA money for non-medical spending before age 65 without accounting for the additional tax
  • Forgetting that non-medical withdrawals after age 65 are generally taxable income
  • Investing money needed soon for medical bills too aggressively
  • Discarding receipts that could support a later tax-free reimbursement

Educational content, not personalized financial, tax, or legal advice. No affiliate relationships. Figures are for tax year 2026 and change annually.Read the full disclaimer.