Traditional IRA vs HSA Investing
A traditional IRA gives a deduction on the way in and is taxed on the way out. An HSA gives a deduction on the way in and is not taxed on the way out at all, provided the money goes on medical costs — so for that spending it is the same account with one tax removed.
Most comparisons of two tax wrappers are a trade-off. This one largely is not, and the reason is narrow enough to state in a sentence: both accounts give you the same deduction going in, and only one of them taxes the money coming out.
What each one is
A traditional IRA takes contributions before tax and defers the bill until withdrawal. You get a deduction now, the money compounds untaxed, and every pound or dollar that comes out later is taxed as income. Traditional IRA covers it.
An HSA does the same on the way in and skips the tax on the way out — provided the money is spent on qualified medical costs. The balance can be invested rather than left in cash. HSA investing covers how that works in practice.
So the health account is the retirement account minus one tax. Whereas most wrapper comparisons trade a deduction now against a deduction later, these two give the identical deduction now and differ only at the exit.
That framing is worth holding onto. Almost every decision below follows from it rather than from the two accounts having different purposes.
Where they differ
What happens at withdrawal. The retirement account is taxed as income. The health account is taxed at nothing for medical costs. That single difference is worth whatever your marginal rate turns out to be, on the entire balance, for that category of spending.
What happens after sixty-five. The accounts converge. A non-medical withdrawal from a health account past that age is taxed as income with no penalty, which is exactly how the retirement account has always behaved. The health account does not become worse — it becomes equivalent, while keeping the untaxed route for medical costs.
What the payroll route adds. Contributions made through payroll to a health account also avoid payroll tax, which no retirement account offers at any income. That is a separate saving on top of the income tax deduction, and it is only available through an employer.
What decides eligibility. The retirement account depends on having earned income. The health account depends on the type of health cover you hold, which can change when you switch job or plan — so eligibility can end abruptly for reasons that have nothing to do with your finances.
Where they agree
Both shelter growth completely while the money stays in. No tax on dividends, interest or gains inside either wrapper.
Both are capped annually, and neither cap carries forward, so a year you do not use is gone.
Both are eaten by costs identically. On a thirty-year horizon a 5-basis-point fund costs 1.5% of the final pot, 20 basis points costs 5.8%, 75 basis points costs 20.2%, and 150 basis points costs 36.5% — and the wrapper does nothing about any of that.
And both sit through drawdowns. On this site’s shared series 95% of bars sat below a prior peak, the worst was 3.76%, and the longest wait to a new high was 73 bars — before finishing 3.61% up.
Which one to use
Fill the health account first when you can invest it and leave it alone. For any money that will eventually go on medical costs it is the same account with a tax removed, and there is no scenario in which paying the exit tax is preferable to not paying it.
Fill the retirement account first when the health balance is your only medical cushion. An invested balance is a promise not to need the money soon, and a medical need does not wait for a good price to sell at.
Use both when you are eligible and can afford to, because the caps are separate and neither carries forward.
And take the payroll route for health contributions when your employer offers one, since it saves a tax the other account cannot touch.
Why the exit tax is the whole argument
Because it applies to the entire balance, not the contribution. Thirty years of sheltered growth means most of the final figure is gain rather than what you put in, so removing the tax at the exit is worth far more than any timing advantage at the entrance.
And because the one thing that undoes it is being forced to sell. The tax advantage is worthless if a medical bill arrives while the balance is down, which is the whole reason the cushion question comes before the tax question.
The original data
Of the 24,971 unique videos in the search corpus, no title compares these two directly. Health savings accounts appear in 2 titles at a median of 133,454 views, and traditional retirement accounts in 2, at a median of 75,293. Both counts are too small to draw a conclusion from, and both medians are enormous.
Two videos each, and six-figure medians on both. That combination — almost no supply, very high demand per item — is the clearest gap in the entire corpus, and it says something about the subject rather than about the accounts: tax wrappers are searched heavily and taught almost not at all.
On the chart above the health account is the answer, and it is not close. Same deduction, same shelter, no exit tax, plus a payroll-tax saving the other cannot offer.
When it fails
The characteristic failure is investing a health balance that is also your emergency medical fund. The tax treatment is genuinely better and it is irrelevant if you have to liquidate during a drawdown to pay a bill. On this site’s shared series 95% of bars sat below a prior peak and the longest wait for a new high was 73 bars, so a forced sale at a bad moment is the normal case rather than bad luck. Cash is the correct holding for a balance that has a job in the near term, and no tax argument outranks that.
A second failure is assuming eligibility is permanent. It follows the health cover you hold, so a change of job or plan can end it with no warning and no relation to your income.
A third is ignoring the platform’s charges. A 75-basis-point drag removes 20.2% of a thirty-year pot in either wrapper, which is larger than most of what is being optimised here.
A fourth is leaving the balance in cash by default when the money genuinely is long-term, which forfeits the shelter that made the account worth having.
And a fifth is filling neither while comparing them. Both caps are annual and neither carries forward.
Related
Traditional IRA covers the deduction now, taxed later structure. HSA investing covers investing a health balance rather than spending it. And taxable accounts covers what happens with no wrapper at all.
The framing that made this obvious to me is that a health savings account is a traditional retirement account with the exit tax deleted for one category of spending — and since almost everybody has that category eventually, the ordering question mostly answers itself.
— Michael Whitman
This page is educational, not financial advice. Test every idea on your own charts before risking money.