Overview
Health Savings Accounts (HSAs) offer a rare combination of three tax benefits: contributions reduce taxable income, investments grow tax-free, and withdrawals for qualified medical expenses are tax-free. That triple advantage makes HSAs one of the most tax-efficient vehicles available for covering healthcare costs in retirement and for supplementing retirement income when used correctly (IRS Publication 969).
This article explains how HSAs work in retirement, eligibility and contribution rules, practical strategies to maximize tax efficiency, coordination with Medicare, recordkeeping and documentation best practices, and common mistakes to avoid. It also links to related FinHelp.io resources for deeper reading.
Sources: IRS Publication 969; Healthcare.gov. See IRS Pub. 969 for the latest limits and rules.
Why HSAs are uniquely powerful for retirement
Three features make HSAs especially valuable for retirement planning:
- Tax-deductible contributions (or pre-tax through payroll): Contributions reduce your taxable income in the year you make them. If your employer contributes, those amounts are generally excluded from your income.
- Tax-free growth: Money invested inside an HSA grows tax-free, just like in an IRA or 401(k), but without required minimum distributions (RMDs).
- Tax-free withdrawals for qualified medical expenses: Withdrawals to pay eligible medical costs are federal income tax-free and typically state tax-free as well (confirm for your state) (IRS Pub. 969).
Because healthcare spending rises with age, having a dedicated tax-free bucket for medical needs preserves other retirement assets and lowers the taxes you would otherwise pay on distributions from IRAs or 401(k)s.
Eligibility and contribution basics
To contribute to an HSA you must be enrolled in a qualifying high-deductible health plan (HDHP). Eligibility ends the month you enroll in Medicare or are claimed as a dependent on someone else’s return.
Contribution limits change annually for inflation. Historically, the IRS has increased limits year to year; for example, the 2023 limits were $3,850 (individual) and $7,750 (family) with a $1,000 catch-up contribution for those 55 and older, and 2024 limits rose further. Always check the current IRS HSA page or Publication 969 for the exact limits for the tax year in question (IRS Pub. 969, IRS HSA limits).
Important filing notes:
- You report HSA contributions and distributions on IRS Form 8889 when you file your taxes.
- Employer HSA contributions are reported on your W-2 but are typically excluded from income.
How HSAs interact with Medicare
Timing matters.
- You cannot contribute to an HSA for any month you are enrolled in Medicare (including Part A) — contributions must stop in the month you enroll.
- HSA funds can be used to pay certain Medicare premiums and qualified medical expenses tax-free after you’re enrolled, but HSA contributions cease once Medicare coverage begins (IRS Pub. 969).
- After age 65, non-medical withdrawals are allowed and taxed as ordinary income (like withdrawals from a traditional IRA), but they are not subject to the 20% penalty that applies to non-qualified withdrawals before age 65.
Because enrolling in Medicare prevents further contributions, many people coordinate enrollment timing to maximize HSA contributions in the year they turn 65; discuss timing with a tax advisor.
Practical, tax-efficient strategies (field-tested)
These are approaches I use with clients to keep HSA strategy simple and impactful.
- Maximize contributions early and invest the balance
- Treat your HSA like a long-term account: contribute the annual maximum when possible and invest beyond a cash emergency cushion. Over decades, tax-free compounding can create a substantial health-cost reserve.
- Pay out-of-pocket when convenient, save receipts
- If you can afford to pay smaller medical bills from cash, do so and let the HSA investments grow. Keep receipts and a spreadsheet for each expense you plan to reimburse later — the IRS allows you to reimburse qualified medical expenses at any later date, provided you save proper documentation showing the expense occurred after the HSA was established (IRS Pub. 969).
- Build an HSA as a pseudo-Roth for medical expenses
- Because withdrawals for qualified medical expenses are tax-free, an HSA functions like a Roth for health costs. If you expect high medical spending in retirement, prioritize HSA funding alongside retirement accounts.
- Use catch-up contributions
- Those age 55 and older may contribute an additional catch-up amount each year. Use catch-ups if you’re behind on funding.
- Coordinate asset drawdown order
- A common tax-efficient withdrawal order in retirement: tax-deferred accounts (when rates are favorable), taxable accounts (for capital-gains efficiency), and use HSA funds for medical needs to avoid ordinary-taxed distributions from IRAs. Tailor this sequence to your tax bracket and health-cost projections.
- Invest HSA funds in low-cost, tax-efficient funds
- Within the account, prefer broadly diversified, low-cost index funds or target-date funds appropriate to your time horizon. Remember that many HSA custodians offer cash and investment windows; move excess above your emergency cushion into investments.
- Consider long-term care and Medicare premium rules carefully
- Some medical costs and insurance premiums (like long-term care insurance limits by age and certain Medicare premiums) may qualify for tax-free HSA distributions — check IRS Publication 969 and consult a professional before using HSA funds for insurance-like expenses.
Real-world examples
-
Example A: Sally, age 62, maxed her HSA for 15 years and invested aggressively. By delaying reimbursement of qualified expenses until retirement and keeping records, she reimbursed herself tax-free for past hospital bills and used the invested HSA to pay Medicare Part B premiums after enrollment.
-
Example B: A couple in their 50s prioritized HSA contributions while at higher-earning points in their careers. In retirement, they used HSA withdrawals for dental, vision, and Medicare D premiums, reducing the need for taxable IRA withdrawals.
These are illustrative; outcomes depend on investment returns, contribution discipline, and medical needs.
Recordkeeping: keep every receipt
If you intend to reimburse yourself in the future for medical expenses paid out-of-pocket today, save receipts, itemized statements, and proof of payment. The IRS requires that expenses be qualified and incurred after the HSA was established; there is no formal deadline to reimburse yourself, but documentation is essential in case of audit (IRS Pub. 969).
Suggested record list:
- Date of service, provider name, amount paid
- Explanation of treatment or service
- Evidence of payment (bank statement, canceled check, credit card receipt)
Store digital copies in a folder with a reimbursement log (date, amount, purpose, receipt filename).
Common mistakes and how to avoid them
- Mistake: Using HSA funds for non-qualified expenses before 65. Consequence: ordinary income tax plus a 20% penalty. After 65, the penalty no longer applies but the amounts are taxed if non-medical.
- Mistake: Continuing contributions after enrolling in Medicare. Consequence: excess contributions and potential penalties. Stop contributions the month Medicare coverage begins or work with your payroll/plan administrator.
- Mistake: Not keeping receipts. Consequence: inability to substantiate tax-free distributions in case of IRS inquiry.
Coordinating HSAs with other retirement accounts
Treat an HSA as part of your overall retirement asset allocation. It pairs well with tax-deferred accounts (traditional IRAs, 401(k)s) and Roth accounts because each tax bucket addresses different future-tax scenarios. For example, if you expect medical expenses to be a large share of required spending, prioritize HSA funding to preserve tax-deferred assets for other goals.
For more on comparing HSAs to IRAs and 401(k)s, see FinHelp’s guide: Combining HSA and Retirement Savings: A Strategy Guide.
Action checklist (next steps)
- Confirm current year contribution limits on the IRS HSA page or Publication 969.
- If eligible, set up automatic payroll or bank transfers to hit the annual maximum (or as high as you can afford).
- Move nonessential HSA cash to investments offered by your custodian.
- Save all medical receipts and track planned reimbursements in a spreadsheet.
- Review Medicare enrollment timing with a tax professional if you plan contributions in the year you turn 65.
Related FinHelp resources:
- Combining HSA and Retirement Savings: A Strategy Guide — https://finhelp.io/glossary/combining-hsa-and-retirement-savings-a-strategy-guide/
- Healthcare Cost Planning in Retirement: Medicare, Medigap, and HSAs — https://finhelp.io/glossary/healthcare-cost-planning-in-retirement-medicare-medigap-and-hsas/
- HSA Investment Options: Growing Health Savings Over Time — https://finhelp.io/glossary/hsa-investment-options-growing-health-savings-over-time/
Final notes and disclaimer
HSAs are powerful but not one-size-fits-all. Contribution limits, eligible expenses, and interaction with Medicare can be complex and change over time. Verify current contribution limits and detailed rules on IRS Publication 969 and the IRS HSA web page (irs.gov) before making decisions, and consult a tax or financial advisor for guidance tailored to your situation.
This article is educational and does not replace personalized tax or financial advice.
Authoritative sources: IRS Publication 969, IRS HSA information pages, Healthcare.gov.

