HSA in Retirement: How to Use It as a Tax-Free Medical Fund

A Health Savings Account (HSA) is one of the most tax-advantaged accounts available — and in retirement, it becomes even more powerful. If you contributed to an HSA during your working years, you may be sitting on a fund that can cover medical costs tax-free for the rest of your life. Here’s how HSAs work in retirement and how to get the most from them.

Infographic: hsa in retirement

The triple tax advantage of an HSA

HSAs offer three tax benefits that no other account matches:

  • Contributions are tax-deductible (or pre-tax if made via payroll)
  • Growth is tax-free — you can invest HSA funds and they compound without tax
  • Withdrawals are tax-free when used for qualified medical expenses

No other account — not a 401(k), not a Roth IRA — gives you all three. In retirement, the withdrawal piece is the most valuable: medical expenses are among the largest costs retirees face, and paying them from an HSA means paying them with completely untaxed dollars.

What qualifies as a medical expense

The IRS definition of qualified medical expenses is broad. For HSA purposes it includes:

  • Medicare Part B, Part D, and Medicare Advantage premiums
  • Dental and vision care
  • Hearing aids and batteries
  • Long-term care insurance premiums (up to IRS age-based limits)
  • Prescription drugs and insulin
  • Copays, deductibles, and coinsurance for any health plan
  • Over-the-counter medications (since 2020, no prescription required)
  • Mental health treatment
  • Medical equipment and home modifications for medical purposes

One notable exclusion: Medigap (Medicare Supplement) premiums are not qualified HSA expenses. All other Medicare premiums are.

Two strategies for using your HSA in retirement

Strategy 1: Pay medical expenses as they arise

The straightforward approach — use HSA funds to pay Medicare premiums, dental bills, copays, and other qualified expenses as they come up. Each withdrawal is tax-free, which is effectively a discount on every medical expense equal to your marginal tax rate. At a 22% tax rate, paying a $500 dental bill from your HSA is equivalent to paying $391 from a taxable account.

Strategy 2: Reimburse yourself for past expenses

There is no time limit on HSA reimbursements. If you paid qualified medical expenses out of pocket in prior years and kept the receipts, you can reimburse yourself from your HSA at any point — even decades later. This lets HSA funds compound tax-free for years, then you take a large tax-free withdrawal when convenient. Keep meticulous records of every qualified expense paid out of pocket: date, amount, and provider.

What changes at age 65

Before 65, non-medical HSA withdrawals are taxed as ordinary income plus a 20% penalty. At 65, the penalty disappears. Non-medical withdrawals are simply taxed as ordinary income — the same as a traditional IRA withdrawal. This makes the HSA a de facto backup retirement account at 65: use it tax-free for medical costs, or as a regular retirement account if you don’t need it for health expenses.

The Medicare enrollment trap

Once you enroll in Medicare (Part A or Part B), you can no longer contribute to an HSA. Key timing facts:

  • Enrolling in Medicare at 65 ends your HSA contribution eligibility
  • If you delay Medicare because of employer coverage through a working spouse, you can keep contributing until you enroll
  • Enrolling in Social Security before 65 automatically triggers Part A enrollment — which ends HSA contributions even if you didn’t actively sign up for Medicare

You can still spend your existing HSA balance after enrolling in Medicare. Plan your last contribution year carefully to maximize what you put in before the cutoff.

Investing HSA funds for growth

Many people leave HSA funds in a low-interest cash account. Most HSA providers allow investing in mutual funds or ETFs once your balance exceeds a threshold (often $1,000–$2,000). Invested HSA funds grow tax-free. A 60-year-old with $30,000 in an HSA invested at 6% would have roughly $53,000 at 70 — all available tax-free for medical expenses. The math strongly favors investing if you can pay current medical costs from other sources and let the HSA compound.

HSAs are not subject to RMDs

Unlike traditional IRAs and 401(k)s, HSAs are not subject to Required Minimum Distributions. You can let the balance grow indefinitely. This makes the HSA attractive as a dedicated long-term medical fund — draw down taxable accounts first, then Roth, with the HSA held in reserve for major medical expenses.

What happens to an HSA when you die

If your spouse is the beneficiary, the HSA transfers tax-free and they can use it as their own. If the beneficiary is anyone other than a spouse, the account becomes fully taxable income to the beneficiary in the year of death. For non-spouse beneficiaries, the HSA loses most of its advantage — factor this into estate planning.

Bottom line

An HSA in retirement is one of the most tax-efficient tools available for covering Medicare premiums, dental, vision, hearing, and other medical costs. Use it for medical expenses to pay them with untaxed dollars. Invest the balance if you can afford to pay current costs from other sources. Keep receipts for all past medical expenses for the delayed-reimbursement strategy. Stop contributing before enrolling in Medicare, and plan the timing carefully.

Further Reading

This article is for general educational purposes only and does not constitute financial, tax, or legal advice. Consult a qualified financial advisor, tax professional, or attorney for guidance specific to your situation.

Related articles

More on Retirement Planning →