HSA Tax Growth Simulator

See how your Health Savings Account could grow over time with tax-free compounding. Model different contribution levels, investment returns, and withdrawal scenarios to plan your long-term HSA strategy.

Your Profile

30
1875
65
3580
$4,400
$0$4,400
$0
$0$100,000

Financial Details

$75,000
$20k$500k
7.0%
1%35%
$0
$0$4,400
Your HSA Could Grow To
$650,819

in 35 years (by age 65), completely tax-free

Yr 8$48,303
Yr 16$131,297
Yr 24$273,896
Yr 32$518,907
Yr 35$650,819
Contributions
$154,000
Total Growth
$496,819
Tax Savings
$45,675

HSA vs. Taxable Investment

Taxable Account
$513,989
HSA Advantage
+$136,830
Year-by-Year Projection Data
YearAgeContributionGrowth (7%)WithdrawalsBalance
131$4,400$308$0$4,708
232$4,400$638$0$9,746
333$4,400$990$0$15,136
434$4,400$1,368$0$20,903
535$4,400$1,771$0$27,074
636$4,400$2,203$0$33,678

How to Use This Simulator

1

Set your age and retirement target

Enter your current age and the age you plan to retire. The simulator calculates how many years your HSA can compound tax-free. Even a few extra years can make a significant difference due to the exponential nature of compound growth.

2

Configure contributions and withdrawals

Select your HDHP coverage type (self-only or family) to set IRS contribution limits, then choose how much you plan to contribute each year. If you expect to use some of your HSA for current medical expenses, set an annual withdrawal amount.

3

Enter your income and tax details

Provide your annual income, tax filing status, and state of residence. The simulator uses this information to calculate your federal, FICA, and state tax savings from HSA contributions over your entire savings horizon.

4

Review and compare your projections

Examine the projected HSA balance at retirement, the bar chart showing growth over time, your lifetime tax savings, and the side-by-side comparison showing how much more you keep in an HSA versus a regular taxable investment account.

The Triple Tax Advantage

The HSA is the only account in the U.S. tax code that offers all three benefits. No 401(k), Roth IRA, or traditional IRA combines them all.

Benefit 1

Tax-Free Contributions

Contributions reduce your taxable income. Payroll deductions also skip FICA taxes (7.65%).

Benefit 2

Tax-Free Growth

No capital gains tax, no dividend tax, no interest tax. Investments compound without any tax drag.

Benefit 3

Tax-Free Withdrawals

Withdrawals for qualified medical expenses are never taxed at any age. Truly triple-tax-free.

Tax-Free Contributions: Reduce Your Taxable Income

When you contribute to an HSA, the money goes in before federal income tax. If your contributions are made through payroll deduction, they also avoid FICA taxes (Social Security and Medicare taxes at 7.65%). This means every dollar you contribute to your HSA costs you significantly less than a dollar out of your paycheck.

Example

If you are in the 22% federal tax bracket with a 5% state income tax rate, a $4,400 HSA contribution saves you roughly $1,525 in taxes (22% federal + 7.65% FICA + 5% state = 34.65% combined rate). Your $4,400 contribution effectively costs you only about $2,875 in reduced take-home pay.

Tax-Free Growth: No Capital Gains Tax on Investments

Once your money is inside an HSA, it grows completely tax-free. You pay no capital gains tax when your investments increase in value, no taxes on dividends, and no taxes on interest. In a regular taxable brokerage account, you would owe taxes each year on dividends, interest, and capital gains when you sell at a profit. Over decades, these taxes create a significant drag on your returns.

The 30-Year Impact

If you invest $4,400 annually at a 7% average return in a taxable account where gains are taxed at 15%, your balance after 30 years would be roughly $340,000. The same contributions in an HSA, growing completely tax-free, would reach approximately $415,000. That is an extra $75,000 simply from eliminating the tax drag on investment growth.

Tax-Free Withdrawals: For Qualified Medical Expenses

Withdrawals from your HSA for qualified medical expenses are completely tax-free at any age. The IRS defines qualified medical expenses broadly, covering doctor visits, prescriptions, dental care, vision care, mental health services, and many other costs. The full list is defined in IRS Publication 502 and is more extensive than most people realize. This is where the HSA surpasses even the Roth IRA. While a Roth IRA also offers tax-free withdrawals, you pay taxes on the money before it goes in. With an HSA, you never pay taxes at any stage: not when contributing, not while growing, and not when withdrawing for medical expenses.

HSA vs. Other Retirement Accounts

Feature
HSA
401(k)
Roth IRA
Tax-free contributions
Yes
Yes
No
Tax-free growth
Yes
Deferred
Yes
Tax-free withdrawals
Yes*
No
Yes
Avoids FICA taxes
Yes
No
No
No required distributions
Yes
No
Yes

*HSA withdrawals are tax-free for qualified medical expenses. After age 65, non-medical withdrawals are taxed as ordinary income (no penalty).

How 401(k) and Roth IRA Compare

A traditional 401(k) gives you tax-free contributions and tax-deferred growth, but every dollar you withdraw in retirement is taxed as ordinary income. A Roth IRA gives you tax-free growth and tax-free withdrawals, but contributions are made with after-tax dollars, so you get no upfront tax break. The HSA is the only account that combines the best of both: the upfront tax deduction of a 401(k) with the tax-free withdrawals of a Roth IRA for medical expenses.

Why It Is Called the "Stealth IRA"

Financial planners often refer to the HSA as the "stealth IRA" because it functions as an incredibly powerful retirement account that most people overlook. After age 65, HSA withdrawals for any purpose are subject only to ordinary income tax, identical to a traditional IRA. But for medical expenses, which are substantial in retirement, withdrawals remain completely tax-free. The average couple retiring at 65 is estimated to spend $315,000 or more on healthcare costs in retirement.

How HSA Investing Works

Most people think of their HSA as a simple checking account for medical bills, but the real power of an HSA lies in its investment capability. Once your cash balance exceeds your provider's minimum threshold (typically $1,000 to $2,000), you can move the excess into investment options that have the potential to grow significantly faster than a cash savings rate.

How It Works

The process is similar to investing in a 401(k) or IRA. You select from available mutual funds, index funds, or ETFs and allocate your HSA balance accordingly. Since HSA investment gains are tax-free, you can afford to invest more aggressively than you might in a taxable account.

What Advisors Recommend

Keep enough cash in your HSA to cover your annual deductible or expected medical costs for the year. Invest the rest in a diversified portfolio aligned with your risk tolerance and time horizon. This balance of liquidity and growth maximizes the triple tax advantage.

Your HSA in Retirement

While the HSA was designed as a healthcare spending tool, its rules make it an exceptionally effective retirement savings vehicle. Here is how your HSA evolves as you approach and enter retirement.

Before Age 65

Penalty Protects Your Savings

Withdrawals for non-qualified expenses incur a 20% penalty plus ordinary income tax. This strongly discourages using the funds for non-medical purposes, helping your balance grow undisturbed. Qualified medical withdrawals are always tax-free at any age.

After Age 65

Maximum Flexibility

The 20% penalty disappears entirely. Your HSA works like two accounts in one. For qualified medical expenses (including Medicare premiums for Parts B, C, and D, dental, vision, hearing aids, and long-term care insurance), withdrawals remain completely tax-free. For any other purpose, withdrawals are taxed as ordinary income, just like a traditional IRA distribution.

After Age 65

You can withdraw from your HSA for any purpose without the 20% penalty. Non-medical withdrawals are taxed as ordinary income (like a traditional IRA), but medical withdrawals remain completely tax-free. Your HSA effectively becomes a flexible retirement account.

No Required Minimum Distributions

Unlike traditional IRAs and 401(k)s, HSAs have no required minimum distributions (RMDs). Your HSA can remain invested and growing tax-free indefinitely, even past age 73 when other retirement accounts force you to start withdrawing. This makes the HSA an unmatched vehicle for later-life medical expenses and for passing tax-advantaged funds to a surviving spouse.

The Shoebox Strategy

One of the most powerful yet underutilized HSA strategies is the "shoebox method," named for the idea of saving medical receipts in a shoebox. The concept is simple but its impact over time is profound.

1

Pay out of pocket

When you incur a qualified medical expense, pay for it using your regular bank account or credit card instead of your HSA.

2

Save your receipt

Keep documentation for each expense. A digital photo or scan works perfectly. Include the date, provider name, amount, and description of the service.

3

Let your HSA grow

Your HSA balance stays fully invested and continues compounding tax-free, uninterrupted by withdrawals.

4

Reimburse yourself anytime

At any point in the future, submit those saved receipts and withdraw from your HSA completely tax-free. The IRS places no time limit on reimbursements. You can reimburse yourself for expenses from 5, 10, or even 30 years ago.

Example

Imagine you spend $2,000 per year out of pocket on medical expenses over 25 years. That is $50,000 in cumulative receipts. At age 60, you can submit all of those receipts and withdraw $50,000 from your HSA completely tax-free, regardless of what you use the money for at that point. Meanwhile, that money was growing tax-free inside your HSA for decades.

Pro tip

Create a dedicated digital folder or use an app to photograph and store every medical receipt. Keep records of your HSA establishment date to prove all expenses were incurred after the account was opened. This documentation is essential in case of an IRS audit.

Frequently Asked Questions

What is a reasonable rate of return assumption for an HSA?

A commonly cited long-term average for a diversified stock portfolio is around 7% annually after inflation, based on the historical performance of the S&P 500. However, your actual return depends on your asset allocation, investment choices, and market conditions. Conservative investors who keep a higher bond allocation might assume 4 to 5%, while aggressive investors fully in equities might use 8 to 10%. Our simulator defaults to 7%, which represents a moderate assumption for a diversified portfolio over a multi-decade time horizon. Remember that past performance does not guarantee future results, and actual returns will vary from year to year.

Can I invest my HSA funds?

Yes, most HSA providers offer investment options once your cash balance exceeds a certain threshold (commonly $1,000 to $2,000). Investment options typically include mutual funds, index funds, and sometimes individual stocks or ETFs. The specific investment menu varies by provider. Some offer a handful of target-date funds, while others provide a full brokerage window with thousands of options. Investing your HSA is where the real long-term growth potential lies, because investment gains inside an HSA are completely tax-free as long as you eventually use them for qualified medical expenses. If you plan to use your HSA as a retirement savings vehicle, moving beyond cash into diversified investments is essential for maximizing the triple tax advantage.

What happens to my HSA when I turn 65?

At age 65, your HSA becomes even more flexible. You can still withdraw funds tax-free for qualified medical expenses, which tend to increase significantly in retirement. The key change is that after 65, you can withdraw funds for any purpose without paying the 20% penalty that applies to non-qualified withdrawals before 65. If you use the money for non-medical expenses after 65, you simply pay ordinary income tax on the withdrawal, similar to how a traditional IRA or 401(k) distribution works. This means your HSA effectively becomes a traditional retirement account after 65, with the added bonus that medical withdrawals remain completely tax-free. Note that once you enroll in Medicare (typically at 65), you can no longer make new contributions to your HSA, but you can continue to use and invest the existing balance.

Should I use my HSA for current medical expenses or invest it for the future?

This is one of the most important strategic decisions HSA holders face, and the answer depends on your financial situation. If you can afford to pay current medical expenses out of pocket, there is a strong argument for leaving your HSA balance invested and growing tax-free. Every dollar that remains invested in your HSA benefits from tax-free compounding for potentially decades. The math is compelling: a dollar invested today at 7% annual return will grow to roughly $7.61 over 30 years, all tax-free. However, if paying out of pocket would mean taking on credit card debt or depleting your emergency fund, using your HSA for current expenses is the better choice. The optimal strategy for most people is to build up a cash buffer in their HSA for near-term medical needs while investing the rest for long-term growth.

What investment options do HSAs typically offer?

HSA investment options vary significantly by provider. Most offer a curated menu of mutual funds spanning several asset classes: U.S. large-cap stocks, international stocks, bonds, and target-date retirement funds. Some providers, like Fidelity and Charles Schwab, offer a full self-directed brokerage option where you can invest in individual stocks, ETFs, and a wider range of mutual funds. When choosing an HSA provider for investing, look for low expense ratios on available funds, no monthly maintenance fees on investment accounts, a low or zero minimum balance threshold before you can start investing, and access to broad-market index funds. Many employer-sponsored HSA providers charge higher fees, so it may be worth transferring your balance to a lower-cost provider once you leave a job. Your HSA is always portable and belongs to you.

What is the "shoebox method" for HSAs?

The "shoebox method" (also called "save and reimburse later") is a powerful HSA strategy. When you incur a qualified medical expense, you pay for it out of pocket instead of using your HSA. You save the receipt, either physically or digitally in a folder or app. Your HSA balance stays invested and continues growing tax-free. Then, at any point in the future, even years or decades later, you can reimburse yourself from your HSA for those past expenses completely tax-free. The IRS has no time limit on reimbursements, as long as the expense was incurred after your HSA was established and you have documentation to prove it. Over a career, you can accumulate tens of thousands of dollars in saved receipts, effectively creating a large tax-free withdrawal credit you can use in retirement.

Related Tools

Contribution Calculator

Calculate your HSA contribution limits and see exactly how much you will save in federal, state, and FICA taxes. See your real paycheck impact instantly.

Calculate Contributions

Expense Checker

Not sure if a medical expense qualifies for HSA reimbursement? Search our database of IRS-qualified expenses to find out before you spend.

Check Expenses

Disclaimer: This simulator provides general estimates based on the inputs you provide and simplified assumptions about tax rates, investment returns, and contribution patterns. It is intended for educational and informational purposes only and does not constitute tax, legal, or financial advice. Actual investment returns will vary from year to year and may differ significantly from the assumed average annual return. Federal and state tax rates shown are approximate and may not reflect your actual tax liability. The comparison to a taxable account uses a simplified 15% annual capital gains tax assumption and does not account for tax-loss harvesting, qualified dividends, or other tax strategies available in taxable accounts. Consult a qualified tax professional and financial advisor before making decisions about your Health Savings Account contributions and investments. HSA Orbit is not responsible for any actions taken based on the results of this simulator.