Taxes

HSA Strategy — The Stealth Retirement Account

A Health Savings Account is the only account in the US tax code that is deductible going in, untaxed while it grows, and untaxed coming out for medical costs. Here's the 2026 math, the receipt-saving move that turns it into a retirement account, and the rules that trip people up.

On this page

The Health Savings Account is one of the most under-used wealth-building tools in the US tax code. It’s sold as a way to pay medical bills, but it is the only account with three tax breaks stacked together: the money goes in before tax, grows without being taxed, and comes out untaxed when it pays for medical care. Used deliberately, it becomes a stealth retirement account that can outperform a Roth IRA or a 401(k) dollar for dollar.

The catch is eligibility. You can only contribute while you’re covered by a qualifying High-Deductible Health Plan (HDHP), and many people who could qualify pick a traditional PPO during open enrollment without running the numbers.

This guide covers the 2026 limits, how the three tax breaks work, the receipt-saving strategy, the math against other retirement accounts, the rules that change at 65, and the mistakes that cost people money. Figures are from IRS guidance as of September 2026.

The three tax breaks, precisely

The rules live in Section 223 of the Internal Revenue Code and are explained in IRS Publication 969:

  1. Contributions are deductible. Money you put in yourself is an above-the-line deduction on your return, so you get it whether or not you itemize. Money that goes in through your employer’s cafeteria plan (a payroll deduction) is treated as an employer contribution, so it never shows up in your taxable wages at all.
  2. Growth is not taxed. Interest, dividends, and capital gains inside the account are not taxed year to year.
  3. Qualified medical withdrawals are not taxed. At any age, with no required minimum distributions during your lifetime.

A 401(k) gives you the first two, but every withdrawal is taxed. A Roth IRA gives you the last two, but you contribute with money you’ve already paid tax on. The HSA gives you all three when the money is spent on qualified medical expenses.

There is a fourth break that’s easy to miss. Payroll HSA contributions also skip FICA tax, the 6.2% Social Security and 1.45% Medicare tax withheld from wages (IRS Topic 751). Your 401(k) deferrals do not skip FICA. That 7.65% is why payroll is the most efficient way to fund an HSA.

Who can contribute

To contribute for a given month, IRS Publication 969 requires that you:

  • Are covered by a qualifying HDHP on the first day of the month
  • Have no other health coverage that isn’t an HDHP (a spouse’s PPO that covers you, or a general-purpose health FSA, both disqualify you)
  • Are not enrolled in Medicare
  • Cannot be claimed as a dependent on someone else’s return

What counts as an HDHP in 2026

For 2026, Rev. Proc. 2025-19 defines an HDHP as a plan with:

2026 HDHP testSelf-only coverageFamily coverage
Minimum annual deductible$1,700$3,400
Maximum out-of-pocket (deductible, copays; not premiums)$8,500$17,000

Three changes from the 2025 tax law widened eligibility, according to IRS release IR-2025-119 (December 2025):

  • Bronze and catastrophic Marketplace plans count as HSA-compatible starting January 1, 2026, even if they don’t meet the general HDHP definition. If you buy coverage on HealthCare.gov or a state exchange, this is the change most likely to open the door for you.
  • Telehealth before the deductible no longer costs you eligibility. The relief was made permanent, effective for plan years beginning in 2025.
  • Direct primary care arrangements (a flat monthly fee to a primary care practice) no longer disqualify you starting in 2026, and the periodic fees can be paid from the HSA, subject to the limits in IRS Notice 2026-5.

2026 contribution limits

From Rev. Proc. 2025-19 and Publication 969:

2026 limitAmount
Self-only HDHP coverage$4,400
Family HDHP coverage$8,750
Additional catch-up at age 55+$1,000 (not indexed for inflation)
Deadline for 2026 contributionsYour tax-return due date, normally April 15, 2027

The limit includes everything that goes in: your payroll contributions, any employer contribution, and anything you deposit yourself. If your employer puts in $1,000 on self-only coverage, you can add $3,400.

Two rules adjust the limit:

  • Months of eligibility. If you’re eligible for only part of the year, the limit is generally prorated by month.
  • The last-month rule. If you’re eligible on December 1, you’re treated as eligible for the whole year and can contribute the full annual amount. The price is a testing period: you must stay eligible from that December through the end of the following December. If you don’t (for a reason other than death or disability), the extra contributions the rule allowed are added to your income and hit with an additional 10% tax.

Contribute more than your limit and the excess is subject to a 6% excise tax for every year it stays in the account, reported on Form 5329. Withdraw the excess and its earnings before your filing deadline to avoid it.

Payroll or personal deposit: what the difference is worth

Take a single filer with self-only coverage who contributes the full $4,400, pays a 22% federal marginal rate and a 5% state rate, and earns under the Social Security wage base.

  • Through payroll: saves 22% + 5% + 7.65% = 34.65% of $4,400, which is $1,524.60.
  • Deposited personally and deducted on the return: saves 22% + 5% = 27%, which is $1,188.00.

Same contribution, $336.60 more in your pocket through payroll. If your employer offers an HSA through payroll, use it even if you plan to move the money to another custodian later. (See marginal vs effective tax rate if you’re not sure which bracket applies to your last dollar.)

The stealth-retirement strategy, step by step

This is the move that turns an HSA from a medical checking account into a long-term investment account:

  1. Contribute as much as you can, up to the limit, through payroll.
  2. Invest the balance. Many HSA custodians hold the first part of your balance in cash and let you invest the rest in mutual funds or ETFs once you pass a threshold. Broad index funds keep costs down; see index funds compared.
  3. Pay current medical bills from regular savings, not from the HSA, if your budget allows it.
  4. Keep every receipt for qualified medical expenses for you, your spouse, and your dependents, along with the insurer’s explanation of benefits.
  5. Let the account compound for as many years as you can.
  6. Reimburse yourself later. Years or decades from now, withdraw an amount equal to your saved receipts. The withdrawal is not taxed.

Publication 969 sets no deadline for that reimbursement. What it does require is that the expense was incurred after the HSA was established, that it wasn’t paid or reimbursed from another source, and that you didn’t also claim it as an itemized deduction. You must keep records sufficient to show all three. A dental bill you pay in cash in 2026 can be reimbursed from the HSA in 2046, as long as the paperwork survives.

That’s the trick: your pile of receipts becomes a stock of withdrawals the IRS will never tax, which you can draw on whenever you choose. In retirement that behaves like a Roth IRA that also gave you a deduction on the way in.

The math: what $1,000 of pay becomes

Here is a fair comparison. Each row starts with the same $1,000 of gross pay, applies the taxes each account requires, invests what’s left for 30 years at a hypothetical 6% annual return (the money grows about 5.74-fold), and assumes a 22% federal rate both now and in retirement. State tax is ignored to keep it simple.

Where the $1,000 of pay goesAmount investedValue after 30 yearsAfter-tax value when spent
HSA through payroll, spent on medical costs$1,000$5,743$5,743
HSA through payroll, spent on non-medical costs after 65$1,000$5,743$4,480
Traditional 401(k)$901.92$5,180$4,041
Roth IRA or Roth 401(k)$703.50$4,041$4,041

How the rows work: the Roth is funded from pay after 22% income tax and 7.65% FICA ($1,000 − $220 − $76.50 = $703.50). The 401(k) deferral skips income tax but not FICA, and $901.92 is the deferral that uses up exactly $1,000 of pay once FICA and the tax on the leftover pay are covered; its withdrawal is then taxed at 22%. The HSA skips both taxes going in.

Three things stand out:

  • When rates are the same now and later, the 401(k) and the Roth come out identical. That’s the standard result, and it’s why Roth vs Traditional is really a question about tax rates.
  • The HSA spent on medical costs finishes 42% ahead of both ($5,743 vs $4,041).
  • Even spent on non-medical costs after 65, the HSA still finishes about 11% ahead, because it skipped FICA on the way in.

What a full career of contributions could grow to

Contributing the 2026 limit every year for 30 years, with no increases (so the figures stay roughly in today’s dollars if the return is read as a real return):

Hypothetical annual returnSelf-only ($4,400/yr)Family ($8,750/yr)
4%$246,774$490,743
6%$347,856$691,759
7%$415,627$826,532

These are illustrations, not predictions; investment returns vary and can be negative. The limits rise with inflation most years, so actual contributions would likely be higher.

What changes at 65 and at Medicare enrollment

Two separate things happen, and they don’t always happen at the same time.

At 65, the penalty goes away. Before 65, a withdrawal that isn’t for qualified medical expenses is included in income and hit with an additional 20% tax. Publication 969 lifts that additional tax once you reach 65, become disabled, or die. After 65, a non-medical withdrawal is taxed as ordinary income, the same as a Traditional IRA withdrawal.

At Medicare enrollment, contributions stop. Beginning with the first month you’re enrolled in Medicare, your contribution limit is zero. The account keeps growing. Medicare.gov’s working past 65 page tells people with an HSA that they and their employer should stop contributing six months before they retire or apply for Social Security benefits, to avoid a tax penalty, because Part A coverage can begin before the month you apply.

After 65, the list of qualified expenses gets longer. Publication 969 generally bars paying insurance premiums from an HSA, but it allows Medicare premiums once you’re 65 or older (Medigap supplemental policies excluded), along with long-term care insurance, COBRA coverage, and health coverage while you’re receiving unemployment compensation.

A sensible retirement drawdown order:

  1. Reimburse yourself for saved receipts first. Those withdrawals aren’t taxed.
  2. Pay Medicare premiums and current medical costs directly from the HSA.
  3. Use what’s left as a Traditional-IRA-style account, taking withdrawals in years when your other income leaves room in a low bracket.

Who inherits it matters

Name your spouse as beneficiary if you can. Publication 969 says an HSA left to a spouse becomes the spouse’s own HSA. Left to anyone else, it stops being an HSA and its full value is taxable to that person in the year you die. For a large balance, that’s a reason to spend the HSA during your lifetime and leave other accounts to children.

HSA vs FSA: don’t mix them up

FeatureHSAHealth FSA
Who owns itYou; it moves with you between jobsTied to your employer’s plan
Unused balanceRolls over every yearGenerally forfeited, apart from a limited carryover or grace period if the plan offers one
Can be investedYes, at most custodiansNo
Requires an HDHPYesNo

The common benefits mistake: electing a general-purpose health FSA (yours or a spouse’s that covers you) in the same year you want to fund an HSA. The FSA counts as other coverage and blocks your HSA contributions. Publication 969 permits a limited-purpose FSA or HRA (typically dental and vision only) alongside an HSA, which is useful in a year with orthodontics or new glasses.

Choosing where the money sits

You don’t have to keep the money with your employer’s HSA provider. A common pattern is to contribute through payroll to capture the FICA saving, then move the balance to a custodian with lower account fees and better investment choices. When you compare custodians, look at:

  • Monthly or annual account fees, and whether they’re waived above a balance
  • The investment threshold: how much must stay in cash before you can invest
  • Fund expense ratios and whether you can buy broad index funds or ETFs
  • Transfer-out fees, which some providers charge when you leave

Move money with a trustee-to-trustee transfer, where the old custodian sends it directly to the new one. Publication 969 puts no limit on the number of these transfers. A rollover, where the money is paid to you first, must be redeposited within 60 days, and you can do only one in any 12-month period.

Common mistakes

  • Spending the HSA as you go. Paying every bill from the account cuts off the compounding. If you can cover current costs from savings, let the HSA grow.
  • Leaving it in cash. A balance that never gets invested is just a checking account with a tax break.
  • Losing receipts. Without records, a withdrawal for a past expense can’t be shown to be qualified. Scan each receipt and explanation of benefits into a folder named by year, and keep a running spreadsheet of date, provider, amount, and who was treated.
  • Forgetting family members. Qualified expenses include those of your spouse and dependents, even if they’re on a different plan.
  • Overlooking state tax. California doesn’t recognize HSAs. The Franchise Tax Board’s Publication 1001 says contributions must be added back on the state return and earnings are taxed. If you live in a state that doesn’t conform, the federal math above still works, but the state saving doesn’t.
  • Over-contributing after a coverage change. Switching to a non-HDHP plan, going on a spouse’s PPO, or enrolling in Medicare mid-year lowers your limit. Recheck it the month coverage changes.

When an HSA isn’t the right move

The strategy assumes you can handle an HDHP’s deductible out of pocket without strain. It’s a weaker fit if:

  • You have predictably high medical costs. With a chronic condition, regular specialist visits, or a planned surgery, you may hit the out-of-pocket maximum every year. Compare the two plans’ total annual cost (premiums plus expected out-of-pocket costs, minus the HSA tax saving and any employer HSA deposit) rather than the deductibles alone.
  • You have no emergency savings. Until you have a cushion, you’ll end up spending the HSA as you go, which defeats the purpose. Build that first; see how to build an emergency fund from zero.
  • You haven’t captured your 401(k) match. An employer match is an immediate return that no tax break beats. The usual order is 401(k) up to the match, then the HSA, then an IRA or more 401(k); see maxing your 401(k) match.

For a household whose medical use is mostly preventive care, an HDHP plus a funded, invested HSA is often the strongest long-term combination available. Once the HSA and your other tax-advantaged accounts are full, what to invest in after maxing tax-advantaged accounts covers the next step.

More on cutting your tax bill is on our taxes hub. This is general information, not tax advice. Limits and rules are set by the IRS and your state and change; confirm current figures before you contribute.

Frequently Asked Questions

Can I use HSA money for things that aren't medical?

Yes, but it costs you. Before age 65, a non-medical withdrawal is added to your taxable income and hit with an additional 20% tax. After 65 (or if you become disabled), the 20% tax no longer applies and the withdrawal is taxed as ordinary income, the same way a Traditional IRA withdrawal is. Withdrawals for qualified medical expenses are not taxed at any age.

Is there a deadline to reimburse myself from my HSA?

IRS Publication 969 sets no time limit. The expense must have been incurred after you opened the HSA, must not have been paid or reimbursed from another source, and must not have been taken as an itemized deduction. Keep the receipt and the explanation of benefits for as long as you might claim it, because you have to be able to prove all three.

What happens to my HSA when I sign up for Medicare?

Your contribution limit drops to zero starting with the first month you are enrolled in Medicare, but the account stays yours and keeps growing. Medicare.gov advises you and your employer to stop contributing six months before you retire or apply for Social Security, because Part A coverage can start before the month you apply. After 65 you can also use the HSA for Medicare premiums, though not for Medigap.

Can I have an HSA and an FSA at the same time?

Not a general-purpose health FSA, which counts as other health coverage and makes you ineligible to contribute. A limited-purpose FSA that covers only dental and vision is allowed alongside an HSA, and so is a limited-purpose HRA.

Is an HSA better than a Roth IRA for retirement?

For money that ends up paying medical bills, yes: HSA contributions through payroll skip income tax and the 7.65% FICA tax, and the withdrawal is not taxed, while Roth contributions are made with fully taxed pay. For non-medical spending after 65, the HSA works like a Traditional IRA. A common order is to fund the HSA to the limit after capturing any 401(k) match, then the Roth.

Do states tax HSA contributions?

Most states follow the federal treatment, but not all. California, for example, does not recognize HSAs: the California Franchise Tax Board says contributions are not deductible on the state return and earnings inside the account are taxable each year. Check your own state's rules before you count on the state tax saving.

Need a loan?

Answer a few questions and your request goes to the lending networks we work with. If a lender wants to make you an offer, you review its exact terms before you accept anything. Or compare the lenders we review first.