HSA as a Retirement Equity-Planning Tool: The Triple-Tax-Advantaged Bucket
The HSA is the only account with three layers of tax advantage: pre-tax contributions, tax-free growth, and tax-free medical withdrawals. A 20-year HSA can hold $300K+.
The Health Savings Account is the only retirement vehicle with three layers of tax advantage: pre-tax contributions, tax-free growth, and tax-free withdrawals for qualified medical expenses. The 401(k) has two (pre-tax in, ordinary out). The Roth IRA has two (after-tax in, tax-free out). The HSA wins on paper.
Most senior ICs treat the HSA as a debit card for current-year medical spending. This is a mistake. The HSA becomes a retirement account when you max contributions, pay current medical costs out of pocket, and let the HSA balance grow invested for 20-30 years.
At the 2025 family contribution limit of $8,550 plus the $1,000 catch-up at 55+, a couple can push $9,550 per year into the HSA. Compounded at 7% for 25 years, that’s roughly $605,000, all available for tax-free medical spending in retirement or, after 65, for any purpose at ordinary-income rates.
The mechanics of the triple advantage
Contributions to the HSA deduct from current-year income, either through payroll (also avoiding FICA) or on Schedule 1 of Form 1040. For a senior IC in the 32% federal / 9.3% California bracket, the deduction value is roughly 41 cents per dollar contributed.
Growth inside the HSA is tax-free. Most HSA providers offer brokerage sleeves after the balance exceeds $1,000-$2,000. The investment menu typically includes mutual funds and sometimes ETFs. Dividends and capital gains don’t hit current-year tax.
Withdrawals for qualified medical expenses, defined under IRC §213(d), are tax-free at any age. Qualified expenses include deductibles, copays, prescriptions, dental, vision, long-term care insurance premiums (subject to age-based caps), Medicare premiums (Part B, Part D, Medicare Advantage) but not Medigap.
After age 65, non-qualified withdrawals are taxed at ordinary-income rates without penalty. This makes the HSA function as a traditional IRA after 65 for any use.
Eligibility requirements
You must be enrolled in an HSA-compatible high-deductible health plan (HDHP) to contribute. 2025 HDHP requirements:
- Minimum deductible: $1,650 individual / $3,300 family
- Maximum out-of-pocket: $8,300 individual / $16,600 family
You can’t be covered by a non-HDHP plan (including a spouse’s non-HDHP) or be enrolled in Medicare. You can’t be claimed as a dependent. Testing-period rules apply if you switch plans mid-year.
Senior ICs at tech companies often have HDHP as an option alongside a PPO. The PPO is usually “more expensive” in premium but “cheaper” in deductible. Running the math with HSA contribution maxed often favors the HDHP for high earners.
Contribution sizing
The 2025 limit is $4,300 individual / $8,550 family plus a $1,000 catch-up at 55+. Key rules:
- Contributions apply prorata if HDHP coverage is partial-year (unless last-month rule is used)
- Both spouses 55+ can each add $1,000 catch-up, but catch-ups must go to separate HSAs (only one HSA per person can hold the catch-up)
- Employer contributions count toward the limit
- Pre-tax contributions through payroll avoid FICA (7.65% savings versus Schedule 1 deduction)
The payroll-deferred path is usually optimal: save FICA plus federal plus state.
The receipt-keeping strategy
The high-value move: pay medical expenses out of pocket now, save the receipts, and reimburse yourself from the HSA decades later. There’s no time limit on reimbursement as long as:
- The expense was incurred after the HSA was established
- The expense qualified under §213(d) when incurred
- Tax records exist to substantiate
A senior IC paying $5,000/year of medical out of pocket accumulates $150,000 of “reimbursable credit” over 30 years. At retirement, they can tax-free withdraw $150,000 in a single year, or strategically over multiple years to manage AGI and IRMAA.
Storage matters. Keep receipts in a digital vault, indexed by year. Most HSA providers don’t track reimbursement against receipts; you do.
Investing inside the HSA
Below $2,000, most HSA providers require the balance to stay in a cash account at low interest. Above that threshold, you can invest in the provider’s fund menu or move to a better HSA (there’s no limit on HSA-to-HSA transfers).
For long-horizon HSA investors, a simple low-cost equity index allocation works. The HSA is likely the highest-return bucket you own (long horizon, tax-free growth), so this is where growth stocks belong, not bonds.
Some HSA providers, Fidelity, HSA Bank with TD Ameritrade, Lively with Schwab, offer unrestricted brokerage. Others restrict to in-house funds. If your employer’s HSA is restrictive, fund it through payroll for FICA savings, then transfer to a better HSA once per year.
Medicare and the HSA interaction
You can’t contribute to an HSA once enrolled in Medicare. Part A alone counts as “other health coverage.” This affects the late-60s retiree planning around age 65.
Workaround: delay Medicare enrollment if you have employer HDHP coverage past 65 (allowed if employer has 20+ employees and you’re actively working). Each month of delay = another month of HSA contributions.
Once enrolled in Medicare, HSA distributions can pay Part B, Part D, and Medicare Advantage premiums (but not Medigap). For a retiree with a $300K HSA at 65, using the HSA to cover $7K-$10K of annual Medicare premiums is tax-free income.
IRMAA premiums can also be paid from HSA. This is the only way to offset IRMAA surcharges with pre-tax dollars.
Inherited HSAs
If you die with an HSA balance, the rules depend on the beneficiary:
- Spouse beneficiary: HSA transfers to them as their own HSA, tax-free
- Non-spouse beneficiary (child, estate): HSA value is taxable ordinary income in the year of death
For HSAs with large balances, estate planning matters. If you’re leaving a $400K HSA to children, they absorb $400K of ordinary income in one year. Spending down the HSA late in life, on current medical costs or reimbursement of decades of receipts, can avoid the forced-income problem.
Frequently asked
Can I use HSA for my spouse’s medical if my spouse isn’t on my HDHP? Yes. Qualified medical expenses under §213(d) for spouse and dependents are covered regardless of whose insurance paid.
What if I contribute more than the limit? Excess contributions face a 6% annual excise tax until removed. You can withdraw excess plus earnings by the tax filing deadline without penalty, the earnings are taxable but no 6% applies.
Does the §6501 three-year assessment period apply to HSA contributions? Yes. Keep contribution and distribution records for at least three years beyond the return filing date. For reimbursement receipts, keep them indefinitely, there’s no sunset on the right to reimburse.
Can I roll over an IRA into an HSA? Yes, once per lifetime under IRC §408(d)(9). The amount counts against your current-year HSA contribution limit. Rarely attractive math because you’re moving already-tax-advantaged money between two tax-advantaged buckets.
How does HSA interact with FSA? You can’t have both a general-purpose FSA and an HSA (the FSA counts as disqualifying coverage). Limited-purpose FSAs (dental and vision only) are compatible with HSA. Dependent-care FSAs are fully compatible.
Retirement planner for tech employees approaching a 55-to-62 retirement window with most of their net worth in employer stock. Reviews VestedGrant's retirement content.
Find a fiduciary advisor who understands equity compensation
Short form. We match you with up to three fee-only advisors who routinely work with RSUs, ISOs, and pre-IPO equity.
- retirementPlanning Retirement Around an Expected IPO
If your IPO is 12-24 months out and retirement is on the table, the sequence of lockup, tax bracket, and Medicare enrollment drives a complex multi-year plan.
Read more - retirementAsset Location: Roth vs Traditional for Equity-Heavy Savers
Where you hold each asset class matters almost as much as what you hold. For equity-heavy savers, asset location between Roth, traditional, and taxable accounts can shift after-tax wealth by 15-20%.
Read more - retirementIRMAA Surcharges in IPO-Year Retirement: The 2-Year Medicare Look-Back
Medicare bases IRMAA on MAGI from two years prior. An IPO-year windfall at 63 can push IRMAA surcharges at 65 into the top tier for years.
Read more - retirementMega-Backdoor Roth: The After-Tax 401(k) Strategy for RSU-Heavy Earners
RSU-heavy earners can push ~$46,000 of after-tax dollars into a Roth through the mega-backdoor, here's how the plan mechanics work and who qualifies in 2025.
Read more - retirementNet Unrealized Appreciation (NUA) from 401(k) Employer Stock at Retirement
If your 401(k) holds company stock purchased at low prices, NUA under IRC §402(e)(4) can convert most of the gain into long-term capital gains instead of ordinary income.
Read more - retirementRetirement Math When 60% of Your Net Worth Is Your Employer
Sequence-of-returns risk, sustainable withdrawal rates, and the Roth conversion moves for households whose retirement rides on one stock.
Read more