Skip to content
Chesapeake Financial Planners
Jeff Judge, CFP® · Managing Partner · (410) 652-7868 · chesapeakefp.com
2402 Scotlon Ct, Forest Hill, MD 21050
See if you’re a fit. Scan the code or visit chesapeakefp.com/book or call (410) 652-7868.

How do I use an HSA for retirement?

Man wearing a knit sweater and glasses sits at a wooden desk, reading a document in a cozy home office with a warm orange lamp nearby.

| Reviewed by Jeff Judge, CFP® on

Using an HSA for retirement works because the Health Savings Account combines three tax advantages no other account can match: contributions reduce your taxable income, growth is tax-free, and qualified withdrawals are tax-free for life. The 2026 limits, set by IRS Revenue Procedure 2025-19, are $4,400 for self-only high-deductible coverage and $8,750 for family coverage, with an additional $1,000 catch-up for anyone 55 or older. For 2027 the limits rise to $4,500 for self-only and $9,000 for family coverage. If you max your account every year, invest the balance instead of holding cash, and time withdrawals around Medicare, the HSA quietly becomes one of the most efficient retirement assets you own. For Upper Chesapeake Health employees, the HSA fits alongside a 403(b) and a pension, as we explain in coordinating your 403(b), HSA and pension.

On This Page

Key Takeaways

  • The 2026 HSA contribution limits are $4,400 self-only and $8,750 family, with a $1,000 catch-up at age 55 and older.
  • HSAs are the only account that gives you a deduction going in, tax-free growth, and tax-free qualified medical withdrawals coming out.
  • After age 65, HSA withdrawals for any purpose face only ordinary income tax with no 20% penalty.
  • You cannot contribute to an HSA once enrolled in Medicare, so the months before age 65 are a critical funding window.

About the Author: Jeff Judge, CFP®, AEP®, ChFC®, CLU® is Managing Partner of Chesapeake Financial Planners in Forest Hill, Maryland. He has been helping families and business owners in Harford County and the Baltimore metro area plan around HSAs, high-deductible health plans, and Medicare timing since earning his CFP® certification in 2013, by using Chesapeake Financial Planners’ signature process, the R.U.D.D.E.R. method™. Jeff often tells pre-retiree clients that the HSA is the most misused account on their statement, because most people spend it down for current bills when they could be using it as a stealth IRA that compounds untaxed for decades.

About Jeff Judge, CFP®

Step 1: Confirm You're HSA-Eligible Before You Open the Account

You can contribute to an HSA only if you are covered by a qualifying high-deductible health plan (HDHP), have no other disqualifying health coverage, are not enrolled in any part of Medicare, and cannot be claimed as a dependent. For 2026, the IRS defines an HDHP as a plan with a minimum annual deductible of $1,700 self-only or $3,400 family, and out-of-pocket maximums capped at $8,500 self-only or $17,000 family. If your plan's deductible falls below those thresholds, the plan is not HDHP-qualified and you cannot fund an HSA against it.

Starting in 2026, bronze and catastrophic plans available through an Exchange are also treated as HSA-compatible, even when they do not meet those deductible and out-of-pocket tests.

The "no other coverage" rule is where most disqualifications happen. A general-purpose Flexible Spending Account through your or your spouse's employer disqualifies you. So does TRICARE, Medicare enrollment in any part, or VA medical benefits received in the prior three months (care for a service-connected disability is an exception). Limited-purpose FSAs that cover only dental and vision are fine. Coverage under a spouse's non-HDHP plan that also covers you disqualifies you too, which surprises a lot of two-income households. If you have access to both accounts, our guide to choosing between an HSA and an FSA explains which one to choose and why.

For couples merging finances, this coverage question matters as much as account titling. We dig into that overlap in Should married couples have joint or separate investment accounts?

The R.U.D.D.E.R. Method™ is Chesapeake Financial Planners' six-step planning process: Review and Recognize, Uncover and Understand, Design and Develop, Discuss and Decide, Execute and Empower, and Reassess and Refine. The first step of any HSA strategy is Review and Recognize: confirm eligibility, then build from there. Skip this and the rest of the plan unravels at audit.

Step 2: Max Your Contributions and Use the Age 55+ Catch-Up

The single biggest mistake we see is treating the HSA as a checking account for current medical bills. Treat it like a Roth IRA you happen to be allowed to fund with pretax dollars. For 2026, you can contribute up to $4,400 with self-only HDHP coverage and $8,750 with family coverage. For 2027 the limits are $4,500 and $9,000. At age 55 or older, add a $1,000 catch-up, which is statutory under IRC §223(b)(3) and not indexed for inflation. If both spouses are 55 or older, each can contribute their own $1,000 catch-up, but they must do so in separate accounts because HSAs are individual accounts.

A common HSA strategy in retirement planning for pre-retirees is to fund the HSA before fully maxing a traditional 401(k), once you have captured your employer match. Every dollar in the HSA is triple-tax-advantaged, while a 401(k) dollar is only tax-deferred and will be taxed on withdrawal. For a household in a 24% marginal bracket funding $8,750 in family contributions, the immediate federal tax benefit alone is roughly $2,100, before any state tax savings. Maryland residents can typically save state income tax as well (most rates run from 4.75% to 6.50% depending on income) plus county income tax of 2.25% to 3.30%.

A 401(k) taxes you on the way out, and a Roth IRA taxes you on the way in. The HSA skips taxation on both ends when used for healthcare. That is genuinely rare in the tax code. The order you fund accounts matters, and our article Should I max out my 401(k) or invest somewhere else? walks through the sequence.

Pro-rate your contribution if your eligibility changes mid-year. The last-month rule lets you contribute the full annual amount if you are HSA-eligible on December 1, but you must remain eligible through all of the following year (the "testing period") or face taxes plus a 10% penalty on the excess. Jeff has watched clients trigger this penalty after taking a new job mid-year that came with non-HDHP coverage, which is one of the avoidable mistakes a quick check at open enrollment would have caught.

Banner: The HSA as a Stealth Retirement Account with four tips and icons on a dark blue gradient background, emphasizing tax advantages and timing ideas.

Step 3: Invest the Balance, Don't Just Hold Cash

The default custodian setting at most HSA providers parks contributions in a low-yield cash account. That is fine if you are using the HSA to pay current medical bills, but it is the wrong setting if the HSA is your stealth retirement account. Most providers, including Fidelity, HSA Bank, Lively, and HealthEquity, let you sweep balances above a custodian-set cash threshold (often $1,000 to $2,000) into mutual funds or ETFs. Set up the sweep once and let it run automatically with every paycheck.

The catch most people miss: you have to actually invest the money for this to matter. A balance sitting in cash earns little while inflation chips away at it. Not every HSA provider offers investment options, and some hold cash only. If yours does not, look into moving to a provider with investment access.

The HSA investing menu matters less than the time horizon. For someone funding an HSA at 45 with no plan to touch it until 65 or later, a low-cost broad-market index fund inside the HSA can capture two decades of compounding inside a tax-free wrapper. Compare that to a non-deductible IRA contribution at the same age: the IRA pays tax on growth at withdrawal, the HSA does not, as long as the withdrawal is for qualified medical expenses, which most people end up incurring in retirement anyway.

Once you have investment options, treat the HSA like a retirement account:

  1. Build a cash cushion first. Keep roughly one year of out-of-pocket medical costs in cash so you never have to sell investments at a bad moment.
  2. Invest the rest for growth. Low-cost index funds or a target-date fund aligned with your timeline work well. A horizon of 10 or more years lets you carry more equity exposure; a shorter horizon means dialing back risk.
  3. Rebalance annually. As the balance grows, confirm your allocation still matches your goals and risk tolerance.

Watch the fees. Some HSA custodians charge a monthly account fee, a monthly investment fee, or both. If you are at a high-fee custodian, you can transfer the investable portion to a low-cost custodian via a direct trustee-to-trustee transfer without triggering taxes. The IRS puts no limit on these direct transfers; the one-per-year limit applies to rollovers, where the money passes through your hands. Keeping the active payroll account where your employer directs contributions, while sweeping investable dollars elsewhere, is a common workaround when the employer plan has weak investment options.

A useful planning lever: if you are 50 and have a $20,000 HSA balance growing at a 7% real return for 15 years, you arrive at age 65 with roughly $55,000 in tax-free reimbursement capacity, assuming you have saved receipts (see Step 4).

When Does Using an HSA as an Investment Make Sense?

An HSA works best as an investment vehicle when several conditions line up. You can comfortably pay current medical bills out of pocket. You are in a higher tax bracket and want to shrink taxable income. You are planning for healthcare costs in retirement: the 2026 Fidelity Retiree Health Care Cost Estimate puts them at $185,500 for a single 65-year-old, not counting long-term care. And you are already capturing your full employer match and funding your other retirement accounts. Jeff Judge notes: “The HSA investment strategy really only clicks when you can consistently cash-flow your medical bills out of pocket, because the moment you’re routinely pulling from the account, you’ve lost the compounding advantage that makes it so powerful in retirement.”

It makes less sense if you tap the account regularly for medical costs, or if you are close to Medicare eligibility and the money will not have time to grow. The strategy rewards patience and a healthy cash flow. If neither describes you right now, that is fine; the account can still cover real expenses tax-free. A new marriage, a job change, or a new health plan can all change whether the strategy fits, so it is worth asking whether to update your financial plan after a big life event.

How do I get health insurance between early retirement and Medicare?

Step 4: Pay Medical Bills Out of Pocket and Save the Receipts

Federal tax law lets you reimburse yourself from your HSA for any qualified medical expense you have paid out of pocket, in any prior year, as long as the expense was incurred after your HSA was opened. There is no statute of limitations on reimbursement. A medical bill you paid in 2030 can be reimbursed from your HSA in 2050.

That changes the calculus. Instead of using the HSA to pay current medical bills, pay the bills with after-tax cash from your checking account, let the HSA continue to compound tax-free, and save the receipts. Decades later, reimburse yourself tax-free for those receipts, pulling out a large sum of HSA dollars with zero tax owed. IRS Publication 969 is the source on what counts as a qualified medical expense.

Save receipts digitally with a backup, and keep the explanation of benefits from your insurance carrier alongside the receipt. Dental and vision care, prescriptions, deductibles, and copays count, even if you never used your HSA debit card. Mileage to and from medical appointments counts at the IRS standard medical rate, which the IRS publishes annually. Long-term care insurance premiums count up to age-based limits. Medicare premiums for Parts B, D, and Advantage count once you are 65 or older.

Jeff has had clients walk into a meeting with a shoebox of medical receipts going back fifteen years and realize they had enough qualifying expenses to drain their entire $90,000 HSA tax-free in retirement. That is the play. The expenses have already been paid, and the HSA balance is sitting tax-free. The reimbursement is just paperwork.

Should I do Roth conversions during the gap years before RMDs?

Step 5: Use Your HSA for Retirement Spending After Age 65

Two rules govern HSAs after 65, and missing either is costly. First, enrolling in any part of Medicare ends your HSA contribution eligibility. The day Medicare enrollment becomes effective, you can no longer add new dollars. The balance keeps compounding tax-free and remains yours to withdraw, but no new contributions are allowed.

The Medicare enrollment trap hits people who delay Social Security past 65 and file for benefits later. If you start Social Security after 65, the Social Security Administration automatically enrolls you in Medicare Part A with a retroactive effective date of up to six months before you file, though no earlier than your first month of Medicare eligibility. Those six months of retroactive Part A coverage retroactively disqualify your HSA contributions during the same period. The fix: if you plan to keep contributing to an HSA past 65, do not start Social Security until you are ready to stop HSA contributions, and stop HSA contributions at least six months before you apply for Social Security or Medicare Part A. If you apply less than six months after turning 65, stop before your first month of Medicare eligibility instead.

The second rule turns the HSA into a stealth IRA. After age 65, HSA withdrawals for non-medical purposes face only ordinary income tax. The 20% penalty that applies to non-qualified withdrawals before 65 disappears. Your HSA after 65 then functions like a traditional IRA for non-medical withdrawals, with one major upside: qualified medical withdrawals remain tax-free for life. You can pay the standard monthly Medicare Part B premium ($202.90 in 2026 and $209.40 in 2027) directly from the HSA, tax-free. You can pay Medicare Part D and Advantage premiums tax-free, plus long-term care premiums up to age-based limits.

Coordinate this with the rest of your retirement income plan. If you have a Roth conversion strategy running in your sixties, HSA dollars give you a flexible source of tax-free spending that does not increase your modified adjusted gross income, so it does not push you into a higher IRMAA bracket. Most pre-retirees we work with end up using the HSA last, letting it compound for as long as possible while drawing first from taxable accounts and Roth conversions in the lower-tax years before Medicare and RMDs begin.

Blue line-art cross merging into a rising curve that ends with an orange arrow, symbolizing healthcare growth in finance.

The HSA is one piece of a broader retirement tax strategy. Pairing it with the right account sequencing, Medicare planning, and Roth conversions is where the real compounding happens.

This guide is part of our Retirement Planning & Income library.

Related service: a retirement readiness assessment

Frequently Asked Questions

Can I use my HSA after I retire?

Yes, your HSA continues to work after you retire. Once you stop contributing, the existing balance keeps compounding tax-free, and you can withdraw funds for qualified medical expenses tax-free at any age. After age 65, you can also withdraw for non-medical purposes by paying only ordinary income tax with no 20% penalty, which makes the HSA function as a traditional IRA for retirement spending.

What happens to my HSA when I enroll in Medicare?

The day your Medicare enrollment becomes effective in any part (A, B, C, or D), you can no longer contribute new dollars to your HSA. The existing balance is unaffected and continues to grow tax-free, and you can use it to pay for qualified medical expenses, including Medicare Part B, Part D, and Advantage premiums. To avoid an excess contribution penalty, stop HSA contributions at least six months before you apply for Medicare Part A, or before your first month of Medicare eligibility if that is later.

How much should I contribute to my HSA each year?

For 2026, you can contribute up to $4,400 with self-only HDHP coverage or $8,750 with family coverage, plus a $1,000 catch-up at age 55 or older. Most pre-retirees benefit from maxing the HSA every year, because the triple-tax advantage typically beats the equivalent dollars in a 401(k) or non-deductible IRA. Pro-rate your contribution if you change coverage mid-year, and confirm eligibility before contributing.

Can I invest my HSA balance like a 401(k)?

Yes, most HSA custodians let you invest balances above a cash threshold (typically $1,000 to $2,000) into mutual funds or ETFs. Once the investment option is enabled, future contributions can sweep automatically into the investment account. For an HSA being used as a long-term retirement account, the investment option is the entire reason the strategy works, because the tax-free compounding only happens if the balance is growing.

What expenses can I reimburse from my HSA tax-free?

Qualified medical expenses include deductibles, copays, prescriptions, dental and vision care, mental health services, long-term care insurance premiums up to age-based limits, and Medicare premiums (B, D, and Advantage) after age 65. You can reimburse yourself in any future year for an expense you paid out of pocket today, as long as the expense was incurred after the HSA was opened.

What is the penalty for non-medical HSA withdrawals?

Before age 65, non-medical HSA withdrawals are taxed as ordinary income plus a 20% penalty. After age 65, the 20% penalty disappears, and non-medical withdrawals are taxed only as ordinary income, which makes the HSA function like a traditional IRA in retirement. Qualified medical withdrawals are always tax-free, regardless of age.

Book a 30-60 minute fit call to walk through your specific HSA setup and Medicare timing for retirement.


Want to go deeper? Read our article on retirement income planning for pre-retirees.

Is an HSA better than a 401(k) for retirement?

An HSA is not strictly better, but it is more tax-efficient for healthcare costs because qualified medical withdrawals are tax-free, which a pretax 401(k) cannot offer. Many planners suggest funding a 401(k) up to the employer match first, then maxing the HSA, then returning to the 401(k). The right order depends on your full plan.

Do I lose my HSA if I change jobs or health plans?

No, your HSA belongs to you, not your employer, so it follows you when you change jobs or health plans. You keep the full balance and can continue investing it. You can only make new contributions while you are HSA-eligible, but the existing balance stays invested.

Sources

Disclosures

The information provided is for educational purposes only and should not be construed as investment advice. Investment strategies should be tailored to individual circumstances, risk tolerance, and goals. Past performance doesn't guarantee future results. Consult with qualified financial professionals regarding your specific situation.

Contributions to a traditional IRA may be tax deductible in the contribution year, with current income tax due at withdrawal. Withdrawals prior to age 59 ½ may result in a 10% IRS penalty tax in addition to current income tax.

This information is not intended to be a substitute for specific individualized tax, investment or legal advice. We suggest that you discuss your specific situation with a qualified tax, legal or financial advisor.

Share:
Chesapeake Financial Planners · Jeff Judge, CFP® · (410) 652-7868
© 2026 Chesapeake Financial Planners. Educational content only, not tax, legal, investment, insurance, or financial planning advice.

Ready to stop second-guessing and start feeling in control?

Book a 30-60 minute “Fit Call” to see if we’re the right partner for your financial life. No pressure, no jargon, just a conversation focused on your goals and whether our approach makes sense for your needs.

See if you’re a fit
See if you’re a fit