Coins and a growing plant symbolizing an HSA as a retirement tool

HSA as a Retirement Tool: How It Works

Coins and a growing plant symbolizing an HSA as a retirement tool

Most people think of a health savings account as a way to pay this year’s doctor bills. But using an HSA as a retirement tool is a strategy that gets more attention every year, and for good reason. An HSA is one of the few accounts in the tax code that can offer a tax break when money goes in, while it grows, and when it comes out for qualified medical expenses.

Healthcare is a major expense for many retirees, so an account built for medical costs can fit neatly into a long-term plan. This guide explains who can open an HSA, the current contribution limits, how the account behaves after age 65, and the trade-offs to weigh before you treat it as a retirement savings vehicle. Figures below reflect IRS guidance as of October 2026.

Coins and a growing plant symbolizing an HSA as a retirement tool
Photo: nattanan / Wikimedia Commons (CC0)

What Is a Health Savings Account?

An HSA is a tax-favored account you can use to pay for qualified medical expenses for yourself, your spouse, and your dependents. Unlike a flexible spending account, unused money is not forfeited at the end of the year. The balance carries over, and the account stays with you if you change jobs or stop working.

Many HSA providers let you invest the balance in options such as mutual funds once you reach a minimum cash level. That investment feature is what turns an HSA from a spending account into a potential long-term savings account. As with any investment, the value can rise or fall, and you can lose money.

Who Is Eligible to Contribute?

According to IRS Publication 969, you generally must meet all of these conditions to contribute:

  • You are covered by a high-deductible health plan (HDHP) on the first day of the month.
  • You have no other disqualifying health coverage. Certain coverage, such as separate dental, vision, or disability insurance, is permitted.
  • You are not enrolled in Medicare.
  • No one else can claim you as a dependent on their tax return.

What counts as a high-deductible health plan

For 2026, an HDHP must have a minimum deductible of at least $1,700 for self-only coverage or $3,400 for family coverage, with out-of-pocket maximums no higher than $8,500 and $17,000. For 2027, those figures rise to $1,750 and $3,500 for the deductible and $8,700 and $17,400 for out-of-pocket costs, based on Revenue Procedure 2026-24. Premiums do not count toward the out-of-pocket limit.

HSA Contribution Limits (as of October 2026)

Coverage type 2026 limit 2027 limit
Self-only HDHP $4,400 $4,500
Family HDHP $8,750 $9,000
Additional catch-up, age 55 or older $1,000 $1,000

The limits apply to contributions from all sources combined, including any money your employer puts in. You can generally make contributions for a given year up until your tax filing deadline for that year. Once you enroll in Medicare, you can no longer contribute, starting with the first month of enrollment.

The Triple Tax Advantage

The reason an HSA appeals to long-term savers is its unusual tax treatment:

  1. Going in: Contributions you make are deductible even if you do not itemize, and employer contributions are not included in your income.
  2. Growing: Interest, dividends, and gains are not taxed while they stay in the account.
  3. Coming out: Distributions used for qualified medical expenses are tax-free.

Compare that with a traditional IRA, where withdrawals are taxed, or a Roth IRA, where contributions are not deductible. Our guide to Roth IRA vs. traditional IRA explains those trade-offs in detail. The HSA can combine the best part of each, but only when the money is spent on qualified medical costs.

How an HSA Works After Age 65

Age 65 is an important milestone for HSA owners. Before 65, using HSA money for anything other than qualified medical expenses generally means paying income tax on the withdrawal plus an additional 20% tax. Once you reach 65 (or if you become disabled), that 20% additional tax no longer applies.

After 65, non-medical withdrawals are still taxed as ordinary income, much like a traditional IRA. Medical withdrawals remain tax-free. That flexibility is what makes the account useful as a retirement backstop.

Paying Medicare premiums

Insurance premiums generally do not count as qualified medical expenses, but there are exceptions. Publication 969 says that once you are 65 or older, premiums for Medicare and other health coverage can qualify, while Medicare supplement (Medigap) policies do not. Long-term care insurance and COBRA continuation coverage are also among the listed exceptions.

Remember the Medicare contribution cutoff

Enrolling in any part of Medicare ends your ability to contribute. If you plan to keep working past 65 and keep funding an HSA, review your Medicare enrollment timing carefully before you sign up.

A Hypothetical Example

Consider a hypothetical saver, Morgan, who has self-only HDHP coverage and contributes $4,400 a year. Morgan pays routine medical bills from regular checking and leaves the HSA invested.

  • After 20 years of contributions, Morgan has put in $88,000 in total.
  • If the investments earned a hypothetical average of 5% per year, the balance could be roughly $145,000. This is only an illustration; actual returns vary and can be negative.
  • In retirement, Morgan uses the account for Medicare premiums and out-of-pocket costs tax-free. If medical needs are lower than expected, Morgan can still withdraw for other purposes after 65 and pay ordinary income tax.

The example also assumes Morgan can afford to pay current medical costs out of pocket, which is not realistic for everyone. Using the HSA for today’s expenses is a perfectly valid choice.

Practical Steps to Use an HSA for Retirement

  1. Confirm your eligibility each year. Check that your health plan still qualifies as an HDHP under the current year’s thresholds and that you have no disqualifying coverage.
  2. Know your limit. Add up your own and your employer’s contributions so the total stays within the annual cap, plus the $1,000 catch-up if you are 55 or older.
  3. Keep a cash cushion. Hold enough in cash to cover your deductible, and consider investing only the amount above that.
  4. Review investment options and fees. Compare what your provider offers and what it charges before you invest.
  5. Save your records. Keep receipts and explanations of benefits for qualified expenses so you can document tax-free withdrawals.
  6. Plan around Medicare. Map out when you expect to enroll so your last contributions fall in eligible months.

Risks and Trade-Offs to Consider

  • HDHP costs: A high deductible means more out-of-pocket spending before coverage begins. An HDHP may not be a good fit if you expect frequent care. See our guide on how to compare health insurance plans.
  • Investment risk: Invested HSA balances can lose value. Money you may need soon is usually kept in cash.
  • Fees: Some providers charge account or investment fees that eat into growth.
  • Record keeping: Only expenses incurred after your HSA was established qualify. Keep receipts and records to support tax-free withdrawals.
  • Inheritance rules: If your spouse is the beneficiary, the account becomes their HSA. For most other beneficiaries, the account stops being an HSA and its value becomes taxable to them.

Frequently Asked Questions

Can I open an HSA if I am self-employed?

Yes, if you are covered by a qualifying HDHP and meet the other eligibility rules. Our article on getting health insurance when self-employed covers coverage options.

What happens to my HSA if I change jobs?

The account is portable. It belongs to you, so the balance stays with you, and unused amounts carry over from year to year.

Can I still use my HSA after enrolling in Medicare?

Yes. You cannot add new contributions once enrolled, but you can keep spending the existing balance on qualified expenses tax-free, including certain Medicare premiums.

Is there a penalty for non-medical withdrawals?

Before 65, non-qualified withdrawals are taxable and face an additional 20% tax. After 65, disability, or death, the 20% does not apply, though income tax still does.

Bottom Line

An HSA can be a powerful retirement tool because qualified medical withdrawals are tax-free, the balance can be invested, and the 20% additional tax disappears at 65. It works best for people who are eligible, comfortable with an HDHP, and able to leave the money invested. Review the current IRS limits each year and weigh the trade-offs against your health needs and budget.

Sources

This article is for general information only and is not financial advice. See our Disclaimer.