Skip to main content

Personal finance · free calculator

HSA contribution optimizer

Triple tax advantage math — annual tax savings, investment growth at retirement, and break-even vs FSA.

Annual tax savings (triple advantage)

29.0% combined rate on $4,150 contribution

Projected HSA balance at retirement

After 25 years at 7%

HSA advantage over taxable investing

Extra wealth from tax-free growth vs. taxable account

Show the work

  • Annual contribution$4,150
  • × combined tax rate29.0%
  • = annual deduction value$1,203.50
  • Net after-tax cost per year$2,946.50
  • Total contributions$103,750
  • Projected balance (invested)$262,484

HSA optimizer — the only triple-tax-advantaged account in the US

A Health Savings Account (HSA) is available to individuals enrolled in a High-Deductible Health Plan (HDHP). Unlike a Flexible Spending Account (FSA), HSA funds roll over indefinitely and can be invested. The combination of three simultaneous tax benefits makes it the most efficient savings vehicle in the US tax code for those who qualify.

The triple tax advantage — quantified

Consider someone in the 24% federal + 5% state bracket (29% combined) contributing $4,150/year (2024 individual limit) to an HSA for 25 years, invested at 7%:

  • Deduction benefit: $4,150 × 29% = $1,203/year in immediate tax savings
  • Tax-free growth: $4,150/year for 25 years at 7% = ~$262k vs. ~$217k in a taxable account (assuming 15% annual tax drag) — a $45k+ advantage
  • Tax-free withdrawals: All medical withdrawals avoid tax entirely — the equivalent of needing to earn $285k in a taxable account to net $262k after federal taxes

HDHP requirements for HSA eligibility

To contribute to an HSA, you must be covered by a qualifying HDHP and not be covered by any other non-HDHP health insurance (with exceptions for dental, vision, and certain limited-benefit coverage). 2024 HDHP minimums: deductible of at least $1,600 (individual) or $3,200 (family); out-of-pocket maximum of $8,050 (individual) or $16,100 (family). You cannot contribute to an HSA if you're enrolled in Medicare or claimed as a dependent on someone else's taxes.

The stealth IRA strategy

The most powerful HSA strategy: never reimburse current medical expenses from the HSA. Instead, pay all current medical costs out-of-pocket and invest the full HSA balance. Save every medical receipt electronically (apps like Reimbursify or a simple folder in cloud storage). In retirement, you can submit those accumulated receipts for tax-free reimbursement with no time limit. A healthy 50-year-old who runs the stealth IRA strategy for 15 years may accumulate $50,000+ in unreimbursed medical receipts — effectively a tax-free emergency fund for early retirement.

HSA vs. FSA vs. HRA

  • HSA: Rolls over forever, portable (owned by you), investable, requires HDHP. The clear winner if you qualify.
  • FSA (Flexible Spending Account): Use-it-or-lose-it (with a $640 rollover option in 2024), employer-owned, not investable. Useful for predictable expenses but inferior to HSA.
  • HRA (Health Reimbursement Arrangement): Employer-funded only — you can't contribute. Used to reimburse premiums or expenses. ICHRAs allow employers to reimburse individual health insurance premiums since 2020.

2024 contribution limits

Individual: $4,150. Family: $8,300. Age 55+ catch-up: additional $1,000. Both spouses can contribute if both are on separate HSA-eligible plans. Employer contributions count toward the limit. Contributions are prorated if HDHP coverage begins mid-year (use the last-month rule to contribute the full amount, but maintain HDHP coverage for the following year or the excess becomes taxable plus 10% penalty).

At age 65 — the penalty disappears

Before 65, non-medical HSA withdrawals are subject to ordinary income tax plus a 20% penalty. After 65, the 20% penalty disappears entirely — only ordinary income tax applies to non-medical withdrawals, identical to a traditional IRA. This means the HSA is either tax-free (medical) or tax-deferred (non-medical) after 65 — never penalized. Medicare Part B and Part D premiums, Medicare Advantage premiums, and long-term care insurance premiums are all qualified HSA expenses in retirement.

Export

CSVPrintable PDFEmbedNot sure which calc you need? Ask →

Related calculators

Keep the math moving