What Is an HSA? The Best Tax-Advantaged Account
Learn what an HSA is, its triple tax advantage, contribution limits, and why many call it the best retirement account.
A Health Savings Account is arguably the most tax-advantaged account available to American investors — yet millions of eligible people either don't have one or don't use it to its full potential. The HSA offers something no other account provides: a triple tax advantage. Contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. No 401(k), IRA, or Roth account matches all three.
Understanding how HSAs work — and especially how they can function as a stealth retirement account — can save you tens of thousands of dollars in taxes over your lifetime.
How an HSA Works
An HSA is a savings account that you can contribute to only if you're enrolled in a high-deductible health plan (HDHP). The money you put in reduces your taxable income, just like a traditional IRA or 401(k) contribution. But unlike those accounts, when you withdraw the money for qualified medical expenses — doctor visits, prescriptions, dental work, vision care, and hundreds of other eligible costs — you pay zero tax on the withdrawal.
The contribution limits are modest compared to 401(k) plans but still meaningful. For 2026, individuals can contribute up to $4,300 and families up to $8,550, with an additional $1,000 catch-up contribution for those age 55 and older. Employers can also contribute to your HSA, and their contributions count toward the annual limit.
Unlike a Flexible Spending Account (FSA), HSA funds roll over indefinitely. There's no "use it or lose it" rule. Money you contribute in your twenties can remain in the account, growing tax-free, until you withdraw it in your seventies. This feature transforms the HSA from a simple medical spending account into a powerful long-term savings vehicle.
The Triple Tax Advantage
The HSA's three tax benefits work together to create compounding advantages that no other account can match. First, contributions reduce your current-year taxable income. If you're in the 24% federal bracket and contribute $4,300, you save $1,032 in federal income tax immediately, plus any applicable state tax savings.
Second, investment growth inside the HSA is completely tax-free. There are no capital gains taxes, no dividend taxes, and no taxes on interest — ever, as long as the money is eventually used for qualified medical expenses. In a taxable brokerage account, annual tax drag from dividends and capital gains can reduce your effective return by 1-2% per year. The HSA eliminates this entirely.
Third, withdrawals for qualified medical expenses are tax-free. This is where the HSA surpasses even the Roth IRA. A Roth IRA offers tax-free growth and tax-free withdrawals, but contributions aren't tax-deductible. The HSA gives you both — the upfront deduction of a traditional retirement account and the tax-free withdrawals of a Roth.
The HSA as a Retirement Account
Here's the strategy that makes HSAs extraordinarily powerful: pay your current medical expenses out of pocket and let your HSA investments grow. There's no requirement to reimburse yourself immediately. You can pay a $500 doctor bill from your checking account today, save the receipt, and reimburse yourself from the HSA years or even decades later — tax-free — after the money has compounded.
This approach effectively turns the HSA into a super Roth IRA for medical expenses. And since the average couple is estimated to need $300,000 or more for healthcare costs in retirement, there's no shortage of qualified expenses to withdraw against.
After age 65, the HSA gains another feature: you can withdraw funds for any purpose — not just medical expenses — with only ordinary income tax, just like a traditional IRA. This means that at worst, the HSA matches a traditional IRA's tax treatment, and at best (for medical expenses), it beats every other account available.
Investing Your HSA
Many people treat their HSA like a checking account, keeping the balance in cash for immediate medical expenses. If you can afford to pay medical costs out of pocket, investing your HSA balance in stocks for long-term growth is far more powerful. Over a 30-year career, the difference between keeping $4,000 per year in cash versus investing it in a diversified portfolio could be hundreds of thousands of dollars.
Most HSA providers offer investment options ranging from index funds to individual stocks. The same principles that guide your other investments apply here: favor low-cost, diversified funds or high-quality individual stocks with durable competitive advantages. Since HSA money may not be withdrawn for decades, you can afford to invest aggressively in growth-oriented assets.
If your employer's HSA provider has poor investment options or high fees, you can transfer your HSA balance to a better provider. The transfer is tax-free and can be done once per year. Several providers now offer self-directed HSA investment accounts with access to the full range of stocks, bonds, and ETFs.
Common Mistakes with HSAs
The biggest mistake is not opening one at all. Many people eligible for an HSA either don't realize they qualify, don't understand the benefits, or are put off by the requirement to have a high-deductible health plan. For healthy individuals and families, the tax savings from an HSA often more than compensate for the higher deductible.
The second biggest mistake is not investing the balance. An HSA sitting in cash earning 0.5% is leaving the most powerful tax advantage in the tax code on the table. If you can cover medical expenses from other funds, invest every dollar in your HSA for long-term growth.
Not saving receipts is a missed opportunity. If you pay medical expenses out of pocket with the intention of reimbursing yourself later, keep records of every eligible expense. There's no time limit on reimbursement, so a folder of receipts from the past decade represents a tax-free withdrawal capability you can exercise at any time.
Related Posts
Ready to find quality stocks?
MoatScope evaluates moats, quality, and fair value for 2,600+ stocks — turning the concepts you just learned into actionable insights.
Explore MoatScope — Free