Fact-checked by the Prime Rate editorial team
Quick Answer
After age 65, you can use your HSA for any expense without a penalty — the 20% early withdrawal penalty disappears entirely. Qualified medical withdrawals remain tax-free, while non-medical withdrawals are taxed as ordinary income, identical to a Traditional IRA. You can still contribute if you are not yet enrolled in Medicare.
Using an HSA after 65 is one of the most tax-efficient strategies available to retirees. Once you turn 65, the IRS removes the punishing 20% penalty on non-medical withdrawals, according to IRS Publication 969, though income tax still applies to those non-qualified distributions. The account essentially gains a second life as a flexible retirement supplement.
Medicare premiums, out-of-pocket costs, and long-term care expenses are rising, and an HSA is one of the few accounts that can cover all three completely tax-free. That combination is hard to replicate with any other savings vehicle.
Key Takeaways
- The 20% penalty on non-medical HSA withdrawals vanishes at age 65, leaving only ordinary income tax on those distributions, per IRS Publication 969.
- For 2025, the HSA contribution limit is $4,300 for self-only coverage and $8,550 for family coverage, with a $1,000 catch-up for those 55 and older, per IRS Rev. Proc. 2024-25.
- Medicare Part B, Part D, and Medicare Advantage premiums are all HSA-qualified expenses after 65; Medigap premiums are the explicit exception, per IRS Publication 502.
- Medicare Part A enrollment is backdated up to six months, which can retroactively create excess HSA contributions subject to a 6% excise tax, according to Medicare.gov.
- HSAs have no Required Minimum Distributions, unlike Traditional IRAs and 401(k)s, allowing balances to compound indefinitely without forced withdrawals.
- There is no IRS time limit on reimbursing yourself for past qualified medical expenses as long as the expense occurred after the HSA was opened and documentation exists, per IRS Publication 969.
What Changes With Your HSA After Age 65?
The single biggest change at 65 is the elimination of the 20% penalty on non-qualified withdrawals. Before 65, pulling money out for anything other than eligible medical expenses triggers both that penalty and ordinary income tax. After 65, only the income tax remains for non-medical spending.
Qualified medical withdrawals remain completely tax-free at any age. That triple tax advantage — tax-deductible contributions, tax-free growth, and tax-free withdrawals for medical costs — stays fully intact in retirement.
Medicare Enrollment and HSA Contributions
Enrolling in Medicare Part A stops your ability to make new HSA contributions. Medicare is not a High-Deductible Health Plan (HDHP), so you are no longer eligible to contribute the moment coverage begins. According to Medicare.gov, Part A enrollment can be backdated up to six months, so plan contribution timing carefully to avoid an excess contribution penalty.
Key Takeaway: At age 65, the 20% HSA penalty on non-medical withdrawals disappears, but ordinary income tax still applies to those distributions. Medicare enrollment ends new contributions, sometimes retroactively — see IRS Publication 969 for contribution cutoff rules.
What Can You Pay for Tax-Free With an HSA After 65?
After 65, your HSA can cover a much broader range of expenses tax-free than most retirees realize. Qualified medical expenses under IRS Publication 502 include everything from doctor visits and prescriptions to dental care, vision, and hearing aids.
Three categories stand out for retirees specifically. First, Medicare premiums — including Part B, Part D, and Medicare Advantage premiums — are fully HSA-eligible. Second, long-term care insurance premiums are deductible up to age-based IRS limits. Third, COBRA premiums while between jobs qualify before Medicare kicks in.
What Is Not Covered Tax-Free
Medigap (Medicare Supplement) premiums are the notable exception. They are explicitly excluded from qualified HSA expenses, even after 65. Non-medical withdrawals for everyday living expenses like groceries or travel are simply taxed as income, with no penalty attached.
Key Takeaway: HSA funds after 65 cover Medicare Part B and Part D premiums, long-term care insurance, and thousands of IRS-approved medical expenses completely tax-free. See the full list in IRS Publication 502 before spending.
| Expense Type | Tax Treatment After 65 | Penalty After 65 |
|---|---|---|
| Qualified Medical (IRS Pub. 502) | Tax-free | None |
| Medicare Part B Premiums | Tax-free | None |
| Medicare Part D Premiums | Tax-free | None |
| Long-Term Care Insurance | Tax-free (up to IRS limits) | None |
| Medigap Premiums | Taxed as income | None |
| Non-Medical (groceries, travel) | Taxed as income | None |
| Non-Medical (under age 65) | Taxed as income | 20% penalty |
What Are the HSA Contribution Rules and Limits Near 65?
If you delay Medicare enrollment and remain on an employer HDHP, you can keep contributing to your HSA past 65. For 2025, the IRS contribution limit is $4,300 for self-only coverage and $8,550 for family coverage, with an additional $1,000 catch-up contribution allowed for those 55 and older, according to IRS Rev. Proc. 2024-25.
Timing your Medicare enrollment strategically can extend your contribution window by months or even years. Workers who remain employed past 65 with qualifying employer coverage can legally delay Medicare Part A without penalty and continue contributing.
The Six-Month Lookback Trap
When you eventually apply for Medicare or Social Security at 65 or later, Medicare Part A coverage is backdated up to six months. Any HSA contributions made during that lookback period become excess contributions subject to a 6% excise tax. Stop contributions at least six months before you plan to enroll to avoid this specific penalty.
This is not a hypothetical risk. People who sign up for Social Security at 65 trigger automatic Medicare Part A enrollment, often without realizing the contribution implications. If your birthday is in October and you apply for Social Security in December, Part A may reach back to cover June — voiding five months of contributions you made in good faith.
Key Takeaway: The 2025 HSA catch-up contribution limit is $1,000 extra for those 55-plus on top of the standard limit. Medicare’s 6-month retroactive enrollment window can trigger excess contribution penalties — plan your stop date carefully using IRS contribution guidelines.
How Does an HSA Function Like a Retirement Account After 65?
An HSA after 65 behaves almost identically to a Traditional IRA for non-medical spending: taxed as income on withdrawal, no penalty. For medical costs, it surpasses both the Traditional IRA and the Roth IRA because withdrawals are entirely tax-free, not just tax-deferred.
Financial planners often call the HSA a “stealth IRA” for this reason. You get a tax deduction going in, tax-free growth, and, for medical use, no tax coming out. No other account delivers all three simultaneously.
According to Fidelity Investments, the HSA is one of the most powerful long-term savings tools available to eligible workers, particularly because balances can be invested in low-cost funds and allowed to compound for decades without forced withdrawals. The triple tax benefit is especially valuable for those who can afford to pay current medical expenses out of pocket and let the account grow.
If you have accumulated a substantial HSA balance, consider using it last: after taxable accounts and before tapping your IRA. Directing HSA funds specifically toward Medicare premiums and out-of-pocket healthcare costs maximizes tax efficiency across the entire retirement portfolio. For broader retirement account comparisons, see our guide on IRA contribution limits for 2026.
Required Minimum Distributions (RMDs) do not apply to HSAs, unlike Traditional IRAs. This gives the account unique flexibility: you are never forced to withdraw funds you do not need yet.
Key Takeaway: HSAs have no Required Minimum Distributions, unlike Traditional IRAs, making them ideal for letting healthcare savings compound untouched. For non-medical spending, the tax treatment mirrors a Traditional IRA — see the IRS HSA overview for full rules.
How Does an HSA Compare to a Traditional IRA and Roth IRA for Retirees?
The comparison matters because many retirees treat their HSA as an afterthought while carefully managing their IRA and 401(k). That ordering is often backwards.
For medical spending, the HSA wins outright. A Traditional IRA grows tax-deferred but every dollar withdrawn for healthcare is taxed as ordinary income. A Roth IRA offers tax-free withdrawals, but contributions are made with after-tax dollars, so there is no deduction going in. The HSA gives you a deduction on the way in and tax-free withdrawals for qualified medical costs — an outcome neither IRA structure can match.
The trade-off is flexibility. IRAs have no eligibility restrictions once you stop contributing; you can hold them at any brokerage, invest in nearly anything, and withdraw at any time after 59½ without penalty. HSA eligibility requires an active HDHP enrollment while contributing, and the account must be used at an HSA-specific custodian. Once you stop contributing, though, the balance remains yours indefinitely with no restrictions on custodian or investment options beyond what your specific provider offers.
Which Account to Spend First in Retirement
A common withdrawal sequence for retirees with multiple account types: spend taxable brokerage accounts first, then tax-deferred IRAs and 401(k)s, and reserve the HSA specifically for healthcare costs. This sequencing defers income taxes on the IRA as long as possible while using the HSA for its highest-value purpose: eliminating taxes on medical spending entirely.
The sequence changes if you have very high taxable income in a given year. In that case, taking HSA distributions for medical costs instead of IRA withdrawals keeps you in a lower bracket. There is no single correct order; the right approach depends on your income sources, bracket, and healthcare needs in each specific year.
Using Your HSA for Long-Term Care Costs
Long-term care is one of the largest financial risks retirees face, and the HSA is one of the few tax-advantaged tools that directly addresses it.
HSA funds can pay long-term care insurance premiums up to age-based IRS limits. For 2025, those limits range from $480 for individuals aged 40 or younger to $6,020 for those over 70, per IRS Publication 502. If you are 65 or older and paying for a long-term care policy, you can likely cover a meaningful portion of those premiums tax-free from your HSA each year.
Direct long-term care expenses — nursing home costs, in-home care services, adult day care — can also qualify as medical expenses under Publication 502, depending on the nature of care required. The care must be primarily for a chronic illness or disability, and a licensed health professional must certify the need. Not every long-term care bill automatically qualifies, so reviewing the specific expense against IRS criteria before withdrawing is worth doing.
Planning Ahead When Balances Are Still Growing
If you are in your late 50s or early 60s and still contributing to an HSA, earmarking a portion of the balance mentally for future long-term care expenses changes how aggressively you might invest those funds. A 60-year-old with a $50,000 HSA balance who will not touch the account for 20 years is in a very different position from someone spending down the balance annually. Investing the long-term portion in low-cost equity index funds, rather than leaving it in cash, has historically been the approach that produces meaningful real growth over that kind of horizon.
The Receipt-Banking Strategy: How to Maximize Tax-Free Distributions
One of the least-used HSA advantages is the absence of any IRS time limit on reimbursing yourself for past qualified medical expenses. As long as the expense was incurred after your HSA was established and you have documentation, you can reimburse yourself years or decades later.
Here is how the strategy works in practice. You pay a $400 dental bill out of pocket at age 55, keep the receipt, and do not touch the HSA. The HSA balance continues growing. At age 70, you reimburse yourself $400 from the HSA tax-free, even though the expense happened 15 years earlier. The $400 was invested during that window and grew, meaning the effective tax-free distribution is larger than the original expense.
This approach requires disciplined recordkeeping. Store receipts digitally, organized by year and expense type, and confirm that each expense occurred after your HSA opening date. The IRS does not require you to submit these records upfront, but it can request them during an audit. Without documentation, a distribution that should be tax-free becomes a taxable non-medical withdrawal.
How Much Can Receipt Banking Actually Accumulate?
A household spending $3,000 per year on out-of-pocket medical costs over 15 years accumulates $45,000 in reimbursable expenses. If those receipts are documented and the HSA is invested rather than spent during that period, $45,000 in future distributions can be taken tax-free at any time. The practical ceiling is limited only by how long you maintain the discipline and how large your HSA balance grows.
For retirees who expect significant taxable income in their 60s from IRA withdrawals or part-time work, this strategy provides a way to access large tax-free sums in higher-income years without triggering additional tax liability.
What HSA Mistakes Should You Avoid After 65?
The most costly mistake is over-contributing after Medicare enrollment begins. Because Medicare backdates Part A coverage, many retirees unknowingly contribute during ineligible months and face the 6% excise tax on excess amounts. This is especially common among people who enroll in Social Security at 65, which automatically triggers Medicare Part A.
A second common error is failing to keep receipts for qualified medical expenses. The IRS has no time limit on reimbursing yourself for past qualified expenses as long as you incurred them after the HSA was opened. This “receipt banking” strategy lets you spend the HSA on non-medical needs now (paying income tax) while keeping records to take tax-free reimbursements later. If you are also planning your broader retirement budget, our guide to the 50/30/20 budget rule in 2026 can help structure your monthly retirement income.
Investment Mistakes Inside the HSA
Many account holders leave HSA funds in cash or low-yield options for decades. Fidelity Investments and Vanguard both offer HSA investment options including low-cost index funds, which matter significantly for long-term growth. Check out our comparison of index funds vs. ETFs to decide which investment type suits your HSA strategy. Keeping large balances in cash erodes purchasing power, especially against rising healthcare inflation.
A third mistake is naming a non-spouse beneficiary without understanding the tax consequences. When a spouse inherits an HSA, the account transfers intact with all tax advantages preserved. A non-spouse beneficiary, however, owes income tax on the full fair market value of the account in the year of the account holder’s death. For large HSA balances, that can create a significant one-year tax burden for an adult child or other heir. Discussing beneficiary designations with an estate planning attorney is worth doing well before it becomes relevant.
Key Takeaway: Social Security enrollment at 65 automatically triggers Medicare Part A, which can retroactively void up to 6 months of HSA contributions and trigger a 6% excise tax. Check your enrollment dates at SSA.gov Medicare enrollment before contributing.
How Should You Invest Your HSA Balance Near and After 65?
The right investment approach inside an HSA depends on when you plan to use the money. This is a straightforward distinction most account holders overlook.
Funds you expect to use within the next two to three years for known medical expenses belong in stable, liquid options: money market funds, short-term bond funds, or the default cash position your HSA custodian provides. You do not want to sell equities at a loss because a medical bill arrived at an inconvenient time in the market cycle.
Funds you are holding for five years or more — whether for receipt reimbursement, future Medicare premiums, or long-term care costs — can reasonably be invested in low-cost index funds. The asset allocation should mirror what you would hold in any other long-term account at the same age and risk tolerance. There is no special HSA investment logic beyond that basic time-horizon framework.
One practical consideration: HSA custodians vary considerably in their investment menus and fee structures. Some charge monthly maintenance fees that erode small balances. Others require a minimum cash balance before allowing investments. If you have accumulated a significant HSA balance at an employer-assigned custodian with poor investment options, transferring to a low-cost provider after leaving employment is permitted and often worth the administrative effort.
Frequently Asked Questions
Can I use my HSA for non-medical expenses after 65 without a penalty?
Yes. After age 65, the 20% penalty on non-qualified withdrawals no longer applies. You will still owe ordinary income tax on non-medical HSA withdrawals, the same way you would with a Traditional IRA distribution.
Does Medicare enrollment stop HSA contributions?
Yes, enrolling in Medicare Part A or Part B makes you ineligible to contribute to an HSA. If you delay Medicare by staying on an employer HDHP, you can continue contributing past age 65 up to the annual IRS limit.
Can I use HSA funds to pay Medicare premiums?
Yes, Medicare Part B, Part D, and Medicare Advantage premiums are all qualified HSA expenses after 65. Medigap (Medicare Supplement Insurance) premiums are the one exception — those do not qualify for tax-free HSA reimbursement.
What happens to my HSA when I die?
If your spouse is the named beneficiary, they inherit the HSA and all tax advantages continue intact. For non-spouse beneficiaries, the full fair market value of the account becomes taxable income to them in the year of your death, according to IRS rules.
Is there an RMD requirement for HSAs?
No. HSAs are not subject to Required Minimum Distributions. Unlike a 401(k) or Traditional IRA, you are never forced to withdraw HSA funds at any age, making the account excellent for letting assets compound throughout retirement.
Can I reimburse myself for old medical expenses using my HSA?
Yes, as long as the expense occurred after your HSA was established and you have documentation. There is no IRS time limit on reimbursing yourself for past qualified medical costs. Many retirees bank receipts for years, then take large tax-free distributions in retirement.






