Fact-checked by the Prime Rate editorial team
Quick Answer
An HSA retirement strategy lets you contribute pre-tax dollars, grow investments tax-free, and withdraw funds tax-free for medical expenses — a triple tax advantage no other account offers. In July 2025, the 2025 HSA contribution limit is $4,300 for individuals and $8,550 for families. After age 65, you can withdraw for any reason, making your HSA function like a traditional IRA with bonus medical benefits.
An HSA retirement strategy is one of the most powerful yet underused tools in personal finance. A Health Savings Account allows you to contribute pre-tax dollars, invest and grow your balance tax-free, and spend on qualified medical expenses without ever paying a dime in taxes. According to Devenir’s 2024 HSA Market Report, HSA assets topped $137 billion across more than 37 million accounts — yet the vast majority of account holders still use HSAs as simple spending accounts rather than long-term investment vehicles. This guide, updated for July 2025, walks you through how to transform your HSA into a retirement powerhouse.
Healthcare is now the single largest expense most Americans face in retirement. Fidelity’s 2024 Retiree Health Care Cost Estimate projects that a 65-year-old couple retiring today will need an average of $330,000 to cover healthcare costs in retirement — not counting long-term care. An optimized HSA can directly offset that staggering figure with completely tax-free dollars.
This guide is for anyone enrolled in a High-Deductible Health Plan (HDHP) who wants to stop leaving tax-free money on the table. By the end, you will know exactly how to fund, invest, and strategically spend your HSA to maximize retirement wealth.
Key Takeaways
- The HSA triple tax advantage — pre-tax contributions, tax-free growth, and tax-free withdrawals — is unique to HSAs. No other U.S. retirement account offers all three simultaneously, according to the IRS Publication 969.
- The 2025 HSA contribution limit is $4,300 for self-only coverage and $8,550 for family coverage, with a $1,000 catch-up contribution allowed for those 55 and older, per IRS Rev. Proc. 2024-25.
- A 55-year-old maxing out family HSA contributions for 10 years could accumulate more than $150,000 tax-free if invested at a 7% average annual return, based on standard compound growth modeling.
- Fidelity estimates that a 65-year-old couple will need $330,000 for retirement healthcare costs, making a fully funded HSA one of the most targeted retirement tools available (Fidelity, 2024).
- Only 13% of HSA account holders currently invest their HSA funds beyond cash, leaving the majority forfeiting potentially decades of tax-free compound growth, per Devenir’s 2024 research.
- After age 65, HSA withdrawals for non-medical expenses are taxed as ordinary income — identical to a Traditional IRA — but qualified medical withdrawals remain permanently tax-free, giving the HSA a structural advantage over both Roth and Traditional IRAs for healthcare spending.
In This Guide
- Step 1: How Does the HSA Triple Tax Advantage Actually Work?
- Step 2: Am I Eligible for an HSA and How Do I Open One?
- Step 3: How Much Should I Contribute to My HSA Each Year?
- Step 4: How Do I Actually Invest My HSA Funds for Retirement Growth?
- Step 5: What Is the HSA Receipt-Hoarding Strategy and Should I Use It?
- Step 6: How Do I Use My HSA Once I Reach Retirement Age?
- Frequently Asked Questions
Step 1: How Does the HSA Triple Tax Advantage Actually Work?
The HSA triple tax advantage means your money is never taxed when it goes in, never taxed while it grows, and never taxed when it comes out for qualified medical expenses. This makes it structurally superior to every other tax-advantaged retirement account available to most Americans.
Breaking Down Each Tax Benefit
The first tax benefit is the deduction on contributions. Money you contribute to an HSA is deducted from your gross income, reducing your taxable income dollar-for-dollar — just like a Traditional IRA. If your employer contributes to your HSA through payroll, those contributions also skip payroll taxes (FICA), which saves an additional 7.65% beyond the income tax deduction.
The second tax benefit is tax-free growth. Once your HSA balance exceeds your provider’s investment threshold (typically $500–$1,000), you can invest it in mutual funds, ETFs, or index funds. All dividends, capital gains, and interest accumulate without any annual tax drag — identical to a Roth IRA.
The third tax benefit is tax-free withdrawals. When you withdraw HSA funds for qualified medical expenses as defined by IRS Publication 969, you owe zero taxes at any age. This includes doctor visits, dental care, vision, prescriptions, and even Medicare premiums after age 65.
What to Watch Out For
Non-qualified withdrawals before age 65 trigger both ordinary income tax AND a 20% penalty — far steeper than the 10% penalty on early IRA or 401(k) distributions. After age 65, the penalty disappears but income tax still applies to non-medical withdrawals.
A Roth IRA only offers two of the three tax benefits — contributions are made after-tax, so there is no upfront deduction. An HSA is the only account that offers all three simultaneously, provided funds are used for qualified medical expenses.
Step 2: Am I Eligible for an HSA and How Do I Open One?
You are eligible to contribute to an HSA only if you are enrolled in a qualifying High-Deductible Health Plan (HDHP) and meet four additional IRS requirements. This is the most critical gate in the HSA retirement strategy.
The Four Eligibility Requirements
According to IRS Publication 969, you must meet all four of these conditions:
- You are covered by a qualifying HDHP. For 2025, an HDHP must have a minimum deductible of $1,650 for self-only or $3,300 for family coverage.
- You have no other health coverage (with limited exceptions for dental, vision, and certain preventive care plans).
- You are not enrolled in Medicare Part A or Part B.
- You cannot be claimed as a dependent on someone else’s tax return.
How to Open an HSA Account
You can open an HSA through your employer’s benefits platform, directly through your health insurer, or independently through specialized HSA custodians. The best HSA providers for investing — including Fidelity HSA, Lively, and HSA Bank — offer no monthly fees and broad investment menus including index funds.
Fidelity’s HSA has no account fees and no investment minimums, making it a top choice for those pursuing a retirement-focused HSA strategy. You are not required to use your employer’s designated HSA provider — you can open a separate investment-focused HSA and transfer funds annually.

If your employer offers an HSA but uses a provider with limited investment options or high fees, open a second HSA with Fidelity or Lively and execute a trustee-to-trustee transfer once per year. You keep the payroll tax savings at work and get better investment options elsewhere.
Step 3: How Much Should I Contribute to My HSA Each Year?
The optimal HSA retirement strategy is to contribute the maximum IRS-allowed amount every year and invest the entire balance rather than spending it. For 2025, that maximum is $4,300 for self-only coverage and $8,550 for family coverage, per IRS Rev. Proc. 2024-25.
How Contribution Amounts Compare to Other Accounts
The table below compares 2025 contribution limits and tax treatment across major retirement and tax-advantaged accounts. Understanding these numbers helps you sequence your contributions strategically.
| Account Type | 2025 Contribution Limit | Tax on Contributions | Tax on Growth | Tax on Withdrawals | Penalty for Early Withdrawal |
|---|---|---|---|---|---|
| HSA (Self-Only) | $4,300 | Pre-tax (deductible) | Tax-free | Tax-free (medical) / Ordinary income (non-medical, 65+) | 20% + income tax (before 65) |
| HSA (Family) | $8,550 | Pre-tax (deductible) | Tax-free | Tax-free (medical) / Ordinary income (non-medical, 65+) | 20% + income tax (before 65) |
| Traditional IRA | $7,000 ($8,000 if 50+) | Pre-tax (deductible, income limits apply) | Tax-deferred | Ordinary income tax | 10% + income tax (before 59.5) |
| Roth IRA | $7,000 ($8,000 if 50+) | After-tax | Tax-free | Tax-free (qualified) | 10% on earnings (before 59.5) |
| 401(k) | $23,500 ($31,000 if 50+) | Pre-tax or Roth | Tax-deferred or tax-free | Ordinary income tax or tax-free | 10% + income tax (before 59.5) |
| FSA (Healthcare) | $3,300 | Pre-tax | No growth (use-it-or-lose-it) | Tax-free (medical only) | Forfeit unused funds |
What to Watch Out For
Contributing more than the annual IRS limit results in a 6% excise tax on the excess amount for each year it remains in the account. If you switch from family to self-only coverage mid-year, your contribution limit is prorated by month. Always verify your exact limit with your HSA administrator if your coverage changes during the year.
For those also contributing to a 401(k), the recommended sequencing is: first, capture your full employer 401(k) match (that is free money), then max out your HSA, then contribute any remaining savings to your IRA or back to your 401(k). You can also review 2025 and 2026 401(k) contribution limits to plan your overall retirement savings strategy.
A 35-year-old who maxes out a family HSA at $8,550 per year and invests the full balance in a low-cost index fund earning 7% annually would accumulate approximately $905,000 by age 65 — entirely tax-free for medical expenses, according to standard compound interest calculations.
Step 4: How Do I Actually Invest My HSA Funds for Retirement Growth?
To use your HSA as a retirement account, you must move your cash balance into invested assets — and only 13% of HSA holders currently do this, according to Devenir’s 2024 research. The process is straightforward: clear the investment threshold set by your provider, then allocate to diversified, low-cost funds.
How to Invest Your HSA Step by Step
- Check your provider’s investment threshold. Most HSA providers require you to maintain a cash buffer (usually $500–$1,000) before the remainder can be invested. Fidelity HSA has no investment minimum.
- Select your investment menu. Look for low-cost index funds tracking the S&P 500 or total market. At Fidelity HSA, you can access Fidelity ZERO index funds with 0% expense ratios.
- Set up automatic investment sweeps. Most providers allow you to auto-invest new contributions above your cash threshold. This eliminates the need to manually reinvest each paycheck deposit.
- Choose an age-appropriate allocation. Younger savers (under 50) can reasonably hold 80–100% equities. Those within 10 years of retirement should gradually shift toward a more balanced allocation, similar to a target-date fund approach.
Best Investment Choices Inside an HSA
Because HSA growth is already tax-free, you do not need to prioritize tax-efficiency within the account the way you would with a taxable brokerage. Focus on total-market or S&P 500 index funds with the lowest expense ratios available. Vanguard, Fidelity, and Schwab index funds with expense ratios below 0.05% are ideal choices for long-term compounding. You can learn more about the best index funds for beginner investors to build your initial selection.
“The HSA is the most powerful savings vehicle available to Americans today because it is the only account that avoids taxes at every stage — contributions, growth, and distribution. The tragedy is that most people treat it like a checking account for co-pays instead of investing it for decades.”
What to Watch Out For
If you are paying current medical expenses out-of-pocket to let your HSA grow (a popular strategy), make sure you have a separate cash emergency fund to cover your HDHP deductible. Running out of cash and being forced to liquidate invested HSA funds early — especially at a market low — defeats the purpose of the long-term strategy. Review how to build a 6-month emergency fund before committing to this approach.

Step 5: What Is the HSA Receipt-Hoarding Strategy and Should I Use It?
The receipt-hoarding strategy — also called the “shoebox strategy” — involves paying all current qualified medical expenses out-of-pocket, saving every receipt, and then reimbursing yourself years later from your invested HSA balance. The IRS imposes no time limit on when you can reimburse yourself for past qualified expenses, making this a powerful tax-free income stream in retirement.
How to Execute the Receipt-Hoarding Strategy
- Pay all current medical expenses with non-HSA funds. Use a regular checking account, debit card, or credit card for every qualified medical expense starting today.
- Save every receipt and Explanation of Benefits (EOB). Store digital copies in a dedicated cloud folder (Google Drive, Dropbox) or use an app like Starship or HSA Store’s receipt tracker.
- Document the expense was qualified. Keep the date, provider name, amount, and confirmation that the expense was not reimbursed by insurance or any other account.
- Reimburse yourself in retirement. In a year when you need tax-free cash, submit your accumulated receipts to your HSA provider and withdraw the documented amount — completely tax-free, regardless of how long ago the expense occurred.
What to Watch Out For
The IRS requires that the expense occurred after your HSA was established — you cannot retroactively claim medical bills from before you opened the account. You also must not have previously taken a tax deduction for the same expense on Schedule A. Maintain meticulous, organized records because HSA audits do occur, and undocumented reimbursements could be reclassified as taxable distributions with penalties.
Create a simple spreadsheet logging each out-of-pocket medical expense: date, provider, amount, and receipt file name. After 10–20 years of medical expenses, your documented reimbursement pool could easily represent tens of thousands of tax-free dollars you can access at any time in retirement with no strings attached.
Step 6: How Do I Use My HSA Once I Reach Retirement Age?
Once you reach age 65, your HSA becomes a dual-purpose account: it retains its full triple tax advantage for medical expenses and simultaneously functions like a Traditional IRA for non-medical expenses. This flexibility makes the HSA retirement strategy uniquely resilient in retirement planning.
Tax-Free Uses After Age 65
After age 65, the following expenses qualify for completely tax-free HSA withdrawals, per IRS Publication 969:
- Medicare Part B, Part D, and Medicare Advantage premiums
- Long-term care insurance premiums (subject to age-based limits)
- Dental, vision, and hearing expenses
- Prescription drugs and medical equipment
- COBRA premiums if you are collecting unemployment benefits
Notably, you cannot use HSA funds tax-free for Medigap (Medicare Supplement) premiums — those are taxed as ordinary income upon withdrawal, even after 65.
Using Your HSA as a Backup Retirement Account
For non-medical spending after age 65, simply withdraw from your HSA and pay ordinary income tax — the same treatment as a Traditional IRA. This means your HSA has a guaranteed floor: worst case, it functions identically to a pre-tax retirement account. Best case, every dollar goes toward tax-free medical expenses. Compare this flexibility to the IRA contribution and withdrawal rules — the HSA wins on flexibility for healthcare-heavy retirees.
“When I model retirement plans for clients, the HSA is always the first account I tell them to draw from for healthcare expenses. The combination of no RMDs before age 73, triple tax-free treatment for medical costs, and the IRA-equivalent floor for other spending makes it irreplaceable in a well-structured retirement income plan.”
Required Minimum Distributions and HSAs
A critical HSA advantage: HSAs are not subject to Required Minimum Distributions (RMDs) during your lifetime. Traditional IRAs and 401(k)s require you to begin withdrawals at age 73 under the SECURE 2.0 Act, forcing taxable distributions whether you need the money or not. Your HSA can continue growing indefinitely, making it an excellent asset to preserve and spend last.

If you enroll in Medicare, you must stop contributing to your HSA — even if you are still working and covered by an employer HDHP. Medicare enrollment (Part A or Part B) disqualifies you from new HSA contributions starting the month of enrollment. Continuing to contribute after enrolling in Medicare results in excess contribution penalties. Plan your Medicare enrollment timing carefully if you intend to maximize final-year HSA contributions.
Frequently Asked Questions
Can I use my HSA for non-medical expenses in retirement without a penalty?
Yes — after age 65, you can withdraw HSA funds for any reason without the 20% early-withdrawal penalty. Non-medical withdrawals are simply taxed as ordinary income, identical to a Traditional IRA distribution. Only qualified medical withdrawals remain permanently tax-free at any age.
What happens to my HSA when I die — can I leave it to my spouse or kids?
If your spouse is your named beneficiary, they inherit the HSA and it continues as a fully functioning HSA with all tax benefits intact. If a non-spouse (such as an adult child) inherits the account, the full balance becomes taxable income to them in the year of inheritance — there is no stretch provision like there is for inherited IRAs. For this reason, HSA funds are generally best spent during your lifetime on qualified medical expenses.
Should I max out my HSA before contributing to my Roth IRA?
For most people, the optimal order is: employer 401(k) match first, then max HSA, then max Roth IRA. The HSA’s triple tax advantage technically exceeds the Roth IRA’s double advantage for anyone who will face significant healthcare costs in retirement. However, if you are very healthy and expect minimal medical expenses, a Roth IRA offers more flexibility since there are no restrictions on what you can spend the money on tax-free.
How much should I keep in cash in my HSA versus invested?
Keep enough cash in your HSA to cover your HDHP’s annual deductible — typically $1,650–$3,300 for 2025 — and invest everything above that threshold. Holding more cash than your maximum out-of-pocket exposure means you are forfeiting tax-free compound growth on idle dollars that would otherwise compound for decades.
Can I contribute to an HSA if I am self-employed?
Yes — self-employed individuals can open and contribute to an HSA directly, without an employer, as long as they are enrolled in a qualifying HDHP. Self-employed HSA contributions are deducted on Schedule 1 of Form 1040 as an above-the-line deduction, reducing adjusted gross income (AGI). Unlike employees who contribute through payroll, self-employed contributors do not avoid FICA taxes on HSA contributions, but they still receive the full income tax deduction.
What if I accidentally use my HSA for a non-qualified expense?
If you are under age 65 and withdraw funds for a non-qualified expense, you will owe ordinary income tax plus a 20% penalty on the amount. You can correct an accidental distribution by returning the funds to your HSA before the tax filing deadline for that year, including extensions. Keep documentation of the correction in case of IRS inquiry.
Is an HSA better than a 401(k) for retirement savings?
The HSA retirement strategy is more tax-efficient than a 401(k) for dollars that will ultimately be spent on healthcare, because 401(k) withdrawals — even for medical expenses — are always taxed as ordinary income. For non-medical spending, a 401(k) offers far higher contribution limits ($23,500 in 2025 versus $4,300 for an HSA). The ideal approach is to use both — max the HSA first for its superior tax treatment, then contribute additional savings to your 401(k) up to the annual limit.
Can I invest my HSA in index funds and ETFs?
Yes — most investment-grade HSA providers including Fidelity, Lively, and HSA Bank allow you to invest in a broad menu of mutual funds, ETFs, and index funds. Fidelity’s HSA even offers access to their ZERO expense ratio index funds. Look for an HSA provider with no monthly maintenance fees and at least a basic selection of total market or S&P 500 index funds with expense ratios below 0.10%.
Does my HSA balance carry over from year to year?
Yes — unlike a Flexible Spending Account (FSA), an HSA has no “use-it-or-lose-it” rule. Your entire balance rolls over every year indefinitely, and the account stays with you even if you change employers or health plans. The only restriction on your accumulated balance is that you cannot make new contributions in years when you are not enrolled in a qualifying HDHP.
What counts as a qualified medical expense for HSA purposes?
The IRS defines qualified medical expenses in IRS Publication 502, and the list is extensive. It includes doctor visits, hospital services, prescription drugs, dental care, orthodontia, vision and glasses, hearing aids, therapy and mental health services, and many over-the-counter medications following the CARES Act of 2020. Medicare premiums (Parts B, D, and Advantage) are also qualified after age 65. Cosmetic procedures and gym memberships are not qualified expenses.
Sources
- IRS — Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans
- IRS — Publication 502: Medical and Dental Expenses
- IRS — Rev. Proc. 2024-25: 2025 HSA Contribution Limits
- Fidelity Investments — 2024 Retiree Health Care Cost Estimate
- Devenir Research — 2024 Year-End HSA Market Statistics and Trends
- KFF — 2024 Employer Health Benefits Survey
- Consumer Financial Protection Bureau — Retirement Savings Resources
- U.S. Department of Labor — Health Savings Accounts Overview
- Kitces.com — HSA Triple Tax Benefits for Retirement Healthcare Spending
- HealthEquity — How Health Savings Accounts Work






