How Does an HSA Work? The Triple Tax Advantage Explained

An HSA works by pairing a high-deductible health plan with a savings account that gets three tax breaks at once: you contribute pre-tax dollars, the balance grows tax-free, and you spend it tax-free on qualified medical expenses. Unused money rolls over every year and the account is yours for life. That combination — the “triple tax advantage” — makes the HSA the single most tax-efficient account in the U.S. code. This guide walks through how it works, who qualifies, the 2025 limits, and the age-65 rule that turns it into a retirement account.
A Health Savings Account is a personal savings account you can only open if you are enrolled in a qualifying high-deductible health plan (HDHP). You put money in, it sits and grows, and you pull it out to pay for care. What makes it special is not the account itself but the tax treatment layered on top of it.
The Triple Tax Advantage
Every other tax-advantaged account gives you a break on either the way in or the way out — never both. The HSA gives you three:
- Tax-deductible contributions. Money you put in reduces your taxable income. Contributions made through payroll come out pre-tax and also skip the 7.65% FICA tax, an edge even a 401(k) does not have.
- Tax-free growth. Interest and investment gains inside the account are never taxed while they stay there.
- Tax-free withdrawals. Money spent on qualified medical expenses comes out completely tax-free, at any age.
A Traditional IRA taxes you on withdrawal; a Roth IRA taxes you on the way in. The HSA is the only account that avoids tax at all three stages, which is why it is worth comparing against your other options — see our Roth vs Traditional IRA comparison.
Who Is Eligible
You can open and contribute to an HSA only if you meet every one of these IRS conditions:
- You are covered by a qualifying high-deductible health plan.
- You have no other disqualifying coverage (including a spouse’s general-purpose FSA or most secondary insurance).
- You are not enrolled in Medicare.
- You cannot be claimed as a dependent on someone else’s tax return.
For 2025, a plan counts as an HDHP only if it has a deductible of at least $1,650 for self-only or $3,300 for family coverage, with annual out-of-pocket costs capped at $8,300 (self-only) and $16,600 (family), per IRS Revenue Procedure 2024-25.
2025 Contribution Limits
| Coverage | 2025 Contribution Limit | Catch-up (age 55+) | Max With Catch-up |
|---|---|---|---|
| Self-only | $4,300 | +$1,000 | $5,300 |
| Family | $8,550 | +$1,000 | $9,550 |
Source: IRS, Revenue Procedure 2024-25. Limits are indexed to inflation and set each spring for the following year. Employer contributions count toward these caps.
What Counts as a Qualified Expense
Tax-free withdrawals apply to qualified medical expenses — doctor visits, prescriptions, dental and vision care, mental health services, and many over-the-counter items. The full list lives in IRS Publication 502. Spend HSA money on anything not on that list before age 65 and you owe income tax plus a 20% penalty.
A powerful and lesser-known feature: there is no deadline to reimburse yourself. You can pay a medical bill out of pocket today, save the receipt, let the HSA grow for decades, and withdraw that amount tax-free years later.
The Age-65 Rule: A Stealth Retirement Account
Once you turn 65, the 20% penalty disappears. You can withdraw HSA funds for any reason — non-medical spending is simply taxed as ordinary income, exactly like a Traditional IRA. Qualified medical costs, including most Medicare premiums, stay tax-free.
That flexibility is why disciplined savers treat the HSA as a retirement vehicle. Left invested, a maxed-out family HSA can grow substantially: contributing $8,550 a year for 20 years at a 7% return grows to roughly $350,000. You can model your own trajectory with the investment returns calculator.
HSA vs FSA: Why the HSA Wins on Flexibility
The most common point of confusion is the Flexible Spending Account (FSA). The key differences:
| Feature | HSA | FSA |
|---|---|---|
| Rolls over each year | Yes, indefinitely | No (use-it-or-lose-it) |
| Portable between jobs | Yes — you own it | No — tied to employer |
| Can be invested | Yes | No |
| Requires an HDHP | Yes | No |
For dual-income households the choice gets more nuanced, since a spouse’s FSA can actually disqualify you from HSA contributions. Our sister site breaks down that trap in HSA vs FSA for Dual-Income Families.
How to Get the Most From an HSA
- Contribute through payroll when you can — it dodges FICA tax on top of income tax.
- Capture any employer contribution the same way you would a 401(k) match — it is free money toward your limit.
- Invest the balance once you have a small cash cushion for near-term bills, so growth compounds tax-free.
- Pay small bills out of pocket and let the HSA grow, reimbursing yourself later.
This article is educational and not individualized tax advice. HSA limits, HDHP thresholds, and qualified-expense rules are set by the IRS and change annually — confirm current figures in IRS Publication 969 or with a tax professional before contributing. Report contributions and distributions on IRS Form 8889.
Frequently Asked Questions
Project Your HSA Growth
Enter annual contributions, an expected return, and a time horizon to see what your tax-free balance becomes.
Open Investment Calculator →See How Much Compound Growth Adds
Model how tax-free compounding turns steady contributions into a much larger balance over time.
Open Compound Interest Calculator →