Three tax breaks, one account
Every other tax-advantaged account gives you two of the three. A traditional 401(k) or IRA: deductible going in, taxed coming out. A Roth: taxed going in, never again. A Health Savings Account does all three at once — contributions inside the annual limit are deductible (IRC §223(a), even when you write the check yourself rather than going through payroll), investment growth inside the account is never taxed (§223(e)), and withdrawals for qualified medical expenses are never taxed either (§223(f)). Money passes through the entire tax system untouched.
That is why HSAs get called the stealth retirement account. Nothing forces you to spend the balance on care: you can pay this year's medical bills from outside cash, let the HSA compound for decades, and withdraw tax-free later — qualified medical expenses can be reimbursed at any future date. And the escape hatch is unusually forgiving: after age 65, withdrawals for anything drop the 20% penalty and are taxed as ordinary income — exactly a traditional IRA — while medical withdrawals stay free. Medicare premiums (Part B, D, Medicare Advantage, and qualified long-term-care premiums within statutory limits) are themselves qualified expenses, which is why retirement planners treat the account as a dedicated medical 401(k): Fidelity's retiree-health-cost surveys put a typical couple's lifetime medical bill well into six figures.
The catch is the gate: you must be covered by a High Deductible Health Plan and by nothing else that pays medical bills (see eligibility). The reward for living behind a large deductible is the most efficient savings vehicle in the code.
The three usages
The same dollars behave very differently depending on how you use the account. The calculator prices all three against a taxable twin that receives the same pre-tax earnings — the twin pays tax first, buys the same care, and invests the rest:
| Usage | What happens | Value at year 25 | Taxable twin | Advantage |
|---|---|---|---|---|
| Spend as you go | Each year's contribution pays that year's care, tax-free | $51,300 | $0 | $51,300 |
| Save to retire | Nothing spent; balance compounds untouched | $578,634 | $341,416 | $237,218 |
| Mixed (40% spent, 25% forfeited) | Care paid tax-free; remainder rides; a quarter cashed out non-medically at the end | $308,990 | $161,723 | $147,267 |
Computed at the family limit ($8,550), a 24% bracket, 7% return. Read the first row carefully: even a balance that never exists captures $51,300 — the income tax never paid on 25 years of medical dollars. The second row shows what compounding adds when the care is paid from outside cash instead. The third is where most real households live, and it is the number the tool treats as your headline.
Worked example: $8,550 a year at a 24% bracket
Family HDHP coverage, no age-55 catch-up, 7% expected return, 25-year horizon — computed by this page's own model:
| Line | HSA | Taxable twin |
|---|---|---|
| Pre-tax earnings earmarked / yr | $8,550 | $8,550 |
| Tax on the way in | — deductible (§223(a)) | −$2,052 |
| Amount at work / yr | $8,550 | $6,498 |
| Effective growth rate | 7% — untaxed | 5.32% — growth taxed yearly at 24% |
| Balance at year 25 | $578,634 | $341,416 |
| Tax on the way out (qualified medical) | none | none — already taxed |
| Advantage | $237,218 | |
Two honesty checks the model applies to itself. First, the taxable twin's growth is taxed annually at your full rate — exact for interest-like money, harsh for long-held equities. So the zero-drag bound is computed too: even if the twin's growth were never taxed at all, it ends at $439,762 and the HSA still wins by $138,872. The true taxable result sits between the two — the advantage is a range, not a point, and the tool brackets it rather than picking the flattering end. Second, the deduction is worth your marginal rate: the same inputs at a 12% bracket end $74,916 ahead (mixed usage), at 35% it is $199,169 — the HSA is the one account whose sales pitch gets stronger the more you earn.
The age-55 catch-up compounds too: it lifts the limit to $9,550, and over the same 25 years the save-to-retire balance reaches $646,310 — $67,676 more than the same saver without it.
The receipt strategy
The least-exploited feature of the HSA is that reimbursement has no deadline. A qualified medical expense can be paid out of pocket today and reimbursed from the HSA in any later year — next year, or in retirement — while the law only requires that the expense was incurred after the HSA was established and while you were HSA-eligible. Keep the itemized receipts (provider statements, EOBs) somewhere durable; the burden of proof is yours if asked.
The arithmetic is the whole game. Pay a $3,000 bill from outside cash and reimburse yourself 15 years later, and the $3,000 that stayed invested at 7% earned $5,277 of growth — tax-free, on money that was already deductible going in. Run the same strategy at scale and your year-25 save-to-retire balance looks like the horizon table below: $126,400 at a decade, $375,047 at two, $864,175 at three — against a fully-taxed twin's $480,481 (zero-drag bound $656,773).
Coordination matters: expenses must not have been reimbursed by insurance or an FSA, and expenses incurred before the HSA existed never qualify. A limited-purpose FSA (dental/vision only) coexists fine with HSA eligibility; a general-purpose one does not.
Eligibility: the HDHP gate
You may contribute for a month only if, on the first day of that month, you are covered by an HDHP and have no other coverage that pays medical expenses. For 2025 an HDHP is a plan whose annual deductible is at least $1,650(self-only) / $3,300 (family) and whose annual out-of-pocket maximum does not exceed $8,300 / $16,600 (IRS Rev. Proc. 2024-25). The trips that disqualify people most often:
- A spouse's general-purpose FSA or non-HDHP plan covering you — even unused coverage blocks contributions (limited-purpose FSAs and HRAs are fine).
- Medicare — enrollment ends eligibility from its first month; apply for Part A late and retroactive coverage can reach back six months, turning earlier contributions into excess ones.
- The last-month rule — hold HDHP coverage on December 1 and you get the full-year limit, but you must stay eligible through the following testing period (all 12 months) or the excess is taxed back.
- Being claimed as a dependent, or VA/IHS/TRICARE-for-Life secondary coverage — check with a professional; the general rule is “other medical coverage blocks the HSA.”
Limits and the 55+ catch-up
| Coverage tier | 2025 limit | 2026 (announced) |
|---|---|---|
| Self-only HDHP | $4,300 | $4,400 |
| Family HDHP | $8,550 | $8,750 |
| Catch-up, age 55+ | +$1,000 | +$1,000 |
2025 amounts per IRS Rev. Proc. 2024-25; 2026 per Rev. Proc. 2025-19 — the limits index annually and this tool stays pinned to 2025 (the calculator holds your contribution constant in nominal dollars; real contribution room grows with each COLA). The catch-up is statutory (§223(b)(3)) and never indexes. It belongs to the account holder: two 55+ spouses on one family HDHP each need their own HSA to bank two catch-ups. Prorate by eligible months if you were not HDHP-covered all year and did not qualify under the last-month rule, and coordinate with any employer contributions — the limit is shared, not additive. Excess contributions earn a 6% excise tax for every year they remain uncorrected; withdraw the excess (plus earnings) before the filing deadline to unwind it.
The 20% additional tax
Withdraw money for anything other than qualified medical expenses before 65 and two taxes stack: the distribution is ordinary income (§223(f)(1)) plus a 20% additional tax on the gross amount (§223(f)(4)). The calculator carries this caliber in its mixed scenario — the “forfeit share” haircut is exactly income tax + 20% on the share you assume gets cashed out:
| Non-medical withdrawal | Bracket | Income tax | 20% additional | Survives |
|---|---|---|---|---|
| $5,000 | 24% | −$1,200 | −$1,000 | $2,800 |
| $5,000 | 32% | −$1,600 | −$1,000 | $2,400 |
| $20,000 | 24% | −$4,800 | −$4,000 | $11,200 |
After 65 (or disability or death) the 20% surtax disappears; the income tax remains, making the account behave like a traditional IRA for non-medical money. In the worked example, the $578,634 balance spent on qualified care in retirement is worth every dollar — used for anything else after 65 it is worth $439,762 at a 24% bracket. For reference, the same-age withdrawal from a Roth IRA would be tax-free but never deducted going in, and from a traditional IRA fully taxed — the comparison the Roth vs Traditional Calculator makes for retirement dollars.
The FICA angle
One more tax break exists that this tool deliberately never claims: HSA contributions routed through an employer's cafeteria-plan payroll deduction are exempt from Social Security and Medicare tax — an extra 7.65% ($654 a year at the family limit) that comes on top of everything modeled above. Two honest limits on it: the exemption rides the employee-side payroll machinery (wages above the Social Security tax cap save only the 1.45%+0.9% Medicare slice), and more-than-2% S-corp shareholders are treated like partners (IRC §1372): they cannot use cafeteria-plan salary reduction — their contributions reach the HSA as wages and get the above-the-line deduction instead, so the FICA saving generally does not apply to them. Counting nothing, the model's numbers are a floor for employees; owners running payroll through an S-corp should treat them as the whole story.
Important caveats
- Nominal dollars throughout; the contribution is held constant (limits index annually — 2026: $4,400 / $8,750), returns are assumed level every year, and sequence risk is not modeled.
- The taxable-twin convention: growth taxed annually at your entered marginal rate (interest-like), with the zero-drag bound shown alongside — the true taxable result for a long-held equity portfolio sits between the two.
- Federal only, at the marginal rate you enter. California and New Jersey do not conform to HSA tax treatment and tax the account's earnings at the state level; other states vary.
- The model prices behavior, not eligibility: whether you may contribute at all is the HDHP gate above. FICA savings, HSA administration/investment fees, and state taxes are outside the math.
- Nothing here is tax, legal, or investment advice. Confirm current-year limits and your coverage situation with a qualified professional.
Glossary
- Triple tax advantage
- The three stacked breaks of IRC §223: deductible contributions, tax-free growth, tax-free qualified withdrawals. Every other account offers at most two.
- HDHP
- High Deductible Health Plan — the eligibility gate. For 2025: deductible at least $1,650 self-only / $3,300 family, out-of-pocket cap at most $8,300 / $16,600.
- Qualified medical expense
- An expense under IRC §223(d)(2) / IRS Publication 502 — deductibles, copays, prescriptions, most dental and vision, and certain insurance premiums (COBRA, Medicare B/D and Advantage, long-term-care premiums within age-based limits). Cosmetic surgery and general wellness items are not; non-prescription drugs and menstrual products are (CARES Act).
- 20% additional tax
- The surtax on non-qualified distributions (§223(f)(4)), stacked on ordinary income tax — 44% total at a 24% bracket. Gone after 65, disability, or death.
- Last-month rule
- HDHP coverage on December 1 earns the full-year contribution limit, conditioned on staying eligible through the next year's testing period — fail it and the excess is income.
- Receipt strategy
- Paying qualified bills from outside cash and reimbursing yourself from the HSA years later, keeping the money invested in between. No reimbursement deadline exists; the expense just has to postdate the account.
- Taxable twin
- This tool's fairness device: the same pre-tax dollars paid to a normal taxable account — taxed on the way in, growth taxed annually, no special treatment. Every HSA number here is an advantage over the twin, not a stand-alone projection.
- Cafeteria plan
- The §125 payroll machinery that lets employees fund an HSA pre-FICA. The 7.65% saving it provides is real for employees and generally unavailable to more-than-2% S-corp shareholders — so this tool models none of it.
Frequently asked questions
Is an HSA really better than a 401(k)?
For money you will spend on medical care, yes — structurally. A 401(k) offers two breaks (deduction, tax-deferred growth); the HSA adds the third (tax-free qualified withdrawals). Neither account escapes FICA on the funding dollars — 401(k) deferrals and personally funded HSA contributions both come out of FICA-taxed wages; only §125 payroll funding escapes it (see the FICA angle below). At this page's worked example the save-to-retire usage ends $237,218 ahead of the taxable twin after 25 years. The 401(k) still wins on raw capacity — compare the two limits with the Solo 401(k) vs SEP-IRA Calculator — and employer 401(k) matches beat any tax structure. Best order for most people: 401(k) match → max the HSA → rest of the 401(k).
What counts as a qualified medical expense?
The IRC §223(d)(2) list, interpreted by IRS Publication 502: deductibles, copays, coinsurance, prescriptions, glasses, dental work, braces, hearing aids, and certain premiums (COBRA, Medicare B/D and Advantage, long-term-care insurance within age-based caps). Not qualified: cosmetic surgery, gym memberships, most insurance premiums, and Medigap. Non-prescription drugs and menstrual products have qualified since the CARES Act.
Can I reimburse myself years later for old medical bills?
Yes — there is no reimbursement deadline. The expense must have been incurred after your HSA was established and while you were HSA-eligible, and it must not have been reimbursed elsewhere (insurance, an FSA). Keep the itemized receipts: that is the entire administrative burden of the receipt strategy, and it makes this year's $3,000 bill a legitimately tax-free $3,000 withdrawal at any later date. The $3,000 you did not withdraw keeps compounding untaxed in the meantime — the $5,277 it earns at 7% over 15 years stays in the account, spendable tax-free only against future qualified medical expenses.
What happens if I withdraw HSA money for non-medical expenses?
Before 65: the withdrawal is ordinary income plus a 20% additional tax on the full amount — $2,200 of tax on a $5,000 withdrawal at a 24% bracket. After 65 (or disability/death) the 20% disappears and only income tax remains, which is exactly how a traditional IRA treats withdrawals. Non-medical use is expensive early, merely ordinary late.
Do HSA contributions reduce self-employment tax?
No. The deduction is an adjustment to gross income — it reduces income tax, never the 15.3% Schedule SE bill on net profit (the same asymmetry as retirement-plan contributions; the Self-Employment Tax Calculator computes that bill). The exception is payroll: cafeteria-plan HSA contributions are exempt from FICA entirely — an extra 7.65% that this tool, being conservative about it, never counts.
Can I contribute if I am enrolled in Medicare?
No — eligibility ends the first month Medicare coverage starts. Watch the retroactive edge: applying for Social Security benefits at 65 can backdate Part A up to six months, which can make earlier contributions excess. You can keep and invest an existing balance, and Medicare premiums themselves are qualified expenses later.
My spouse has a general-purpose health FSA — can I still contribute?
No. Other coverage that can pay medical expenses disqualifies you, and a general-purpose FSA covering the household counts even if you never use it. A limited-purpose FSA (dental and vision only) or a dependent-care FSA does not block HSA eligibility.
How much can I contribute in 2025 and 2026?
2025: $4,300 self-only, $8,550 family, plus $1,000 from age 55. 2026 (announced, Rev. Proc. 2025-19): $4,400 / $8,750, catch-up unchanged. The limit is per account holder and shared with any employer contributions made for you.
What is the last-month rule?
Have HDHP coverage on the first day of the last month of the tax year (December 1 for calendar filers) and you may contribute the full year's limit. The price is the testing period: stay HSA-eligible for all 12 following months, or the extra amount becomes income plus the 10% (not 20%) recapture tax. Lose coverage mid-testing and the prorated safe harbor would have been the smaller number.
HSA or FSA?
Different machines. FSA money is use-it-or-lose-it (up to a small carryover or grace period), belongs to the employer, and cannot be invested — it is a one-year discount on predictable costs. The HSA is yours forever, investable, portable, and stacks three tax breaks. If you are HDHP-eligible, the HSA is strictly the better long-horizon vehicle; many households keep a limited-purpose FSA alongside it.
Should I invest the balance or pay current medical bills from the HSA?
If you can afford the bills from outside cash, letting the balance ride is the arithmetic winner: at this page's defaults the save-to-retire usage ends $237,218 ahead of the spend-as-you-go value of $51,300 — every dollar pulled early forgoes its tax-free compounding. The practical middle path is the mixed pattern the calculator defaults to: pay routine care from the account if cash is tight, save the receipts for the big stuff.
What if I contribute too much?
Withdraw the excess plus its earnings by the filing deadline (including extensions) and it is untaxed as a mistake; leave it in and a 6% excise tax applies every year it stays. Mid-year coverage changes are the usual cause — losing HDHP eligibility prorates your limit, and the last-month rule can claw back a full-year contribution. The calculator's cap warning exists because over-limit dollars are the easiest mistake to make and the most annoying to unwind.