Skip to content
StatesideCalc

Money math

How an HSA Actually Works as a Retirement Account

An HSA is the only triple tax advantaged account there is. Here is how to use it as a long term investment rather than a medical chequing account.

By StatesideCalc EditorialJuly 31, 20264 min read

Most people treat an HSA as a place to park money for this year's medical bills. Used that way it is a modest convenience worth a small tax saving.

Used the other way — funded to the limit, invested, and left alone for decades — it is the most tax-efficient account available to an ordinary household, better than a traditional 401(k) and better than a Roth IRA. The difference between those two uses is large enough to be worth restructuring how you pay for healthcare.

The HSA triple advantage, and the fourth one

Three tax benefits stack, which no other account offers.

Deductible going in. Contributions reduce taxable income.

Untaxed growth. No tax on interest, dividends or gains.

Untaxed coming out, for qualifying medical expenses.

A traditional account gives you the first two. A Roth gives you the last two. An HSA gives all three.

There is a fourth benefit that gets almost no attention and is worth real money: contributions made through payroll avoid payroll tax as well. No 401(k) or IRA contribution does that. It is an immediate additional saving on every dollar, and it is the reason to contribute through an employer rather than directly whenever possible.

The HSA contribution calculator sizes the annual amount against the limits, which are indexed each year.

The receipt strategy

Here is the mechanic that turns a spending account into an investment account: there is no deadline for reimbursing yourself.

An expense incurred today can be reimbursed from the HSA in twenty years, tax-free, provided the expense occurred after the account was opened and was never otherwise deducted or reimbursed.

So the strategy is:

Contribute the maximum each year. Invest the balance rather than leaving it in cash.

Pay current medical costs from ordinary money. This is the part that requires cash flow and is the reason not everyone can do it.

Keep every receipt. Scan them. Store them somewhere durable, with the date and amount.

Reimburse yourself whenever you want — potentially decades later, after the balance has compounded untouched.

The effect is that you have built a tax-free investment account with a stack of pre-approved withdrawal authorisations. The compound interest calculator shows what decades of untouched growth amounts to; the rule of 72 is the quick version.

The obvious caveat: this requires paying medical costs out of pocket while funding the account. If that is not affordable, using the HSA for current expenses is still worthwhile — just less powerful.

What it does after retirement

The account changes character with age, in a way that removes most of the downside risk.

Before a certain age, non-medical withdrawals are taxed and penalised heavily. That is the main risk of over-funding.

After it, the penalty disappears. Non-medical withdrawals are simply taxed as ordinary income — exactly like a traditional IRA. Medical withdrawals remain tax-free.

That asymmetry is what makes over-funding low-risk. The worst case is that your HSA behaves like a traditional IRA. The expected case is that it behaves better than a Roth, because medical costs in retirement are close to certain — the retirement healthcare cost guide covers how large they get.

Some genuinely useful details for the retirement years. Medicare premiums are a qualifying expense, which means Part B and Part D premiums can be paid tax-free from the HSA — a reliable, recurring use for the balance. Long-term care premiums qualify up to age-based limits. Medigap premiums, notably, do not.

An HSA also has no required distributions, unlike traditional accounts, so it can be left to compound while other balances are being drawn down.

The Medicare deadline that catches people

You cannot contribute to an HSA once enrolled in any part of Medicare. This is a hard stop and it produces a common, avoidable error.

The trap is that Medicare Part A enrolment can be backdated by up to six months when someone signs up after 65. Contributions made during that retroactive window become excess contributions and are penalised. Anyone working past 65 and planning to enrol should stop contributing several months in advance.

Claiming Social Security triggers automatic Part A enrolment, which catches people who did not intend to start Medicare at all.

None of this affects spending from the account. You can spend an HSA balance for the rest of your life, on Medicare premiums among other things. Only contributions stop.

Practical points worth getting right

Check where the money sits. Many HSAs default to cash and require you to opt into investing, sometimes above a minimum balance. A balance sitting in cash for a decade has forfeited the entire point.

Check the fees. Employer-chosen HSA providers are not always cheap, and monthly administration fees on a small balance are severe. You can transfer an HSA to a different provider while keeping payroll contributions going to the employer's — worth doing if the fund menu is poor. The expense ratio guide applies here as much as anywhere.

Name a beneficiary, and prefer a spouse. A spouse inherits an HSA as an HSA. Any other beneficiary receives it as fully taxable income in a single year, which is a harsh outcome. This makes an HSA a poor asset to leave to children and a good one to spend down or leave to a spouse.

Do not double-dip. An expense reimbursed from the HSA cannot also be deducted, and an expense already reimbursed by insurance does not qualify.

Mind the last-month rule. Becoming eligible partway through a year can allow a full year's contribution, but it carries a testing period — losing eligibility during it claws the benefit back.

For current limits, qualifying expenses and plan requirements, the IRS HSA guidance is the authoritative source.