Health savings accounts carry a quiet rule that reshapes how they work in retirement. During a person’s working years, an HSA generally cannot be used to pay insurance premiums without triggering tax. Turning 65 flips that: once the account holder reaches Medicare age, HSA money can cover most Medicare premiums with no tax at all. The exception is the one supplement many retirees buy to fill Medicare’s gaps, and paying that bill from an HSA turns a tax-free account into a taxable withdrawal.
Which Medicare premiums count as qualified expenses
The dividing line comes straight from IRS Publication 969, the agency’s guide to health savings accounts. It states that HSA funds can be used to pay Medicare and other health coverage premiums once the account beneficiary is 65 or older. In practice that covers the premiums for Part B medical insurance, Part D drug coverage, and Part A hospital insurance for the minority of retirees who owe a premium for it, along with the premiums a retiree pays for a Medicare Advantage plan. Each of those can be paid from HSA dollars that were never taxed going in and are not taxed coming out.
The dollars involved are not small. The Centers for Medicare and Medicaid Services set the standard Part B premium for 2026 at $202.90 a month, up from $185.00 in 2025, and higher-income beneficiaries pay surcharges on top of that. A retiree who routes those premiums through an HSA effectively pays them with pre-tax money, a discount equal to whatever tax bracket the withdrawal would otherwise have landed in.
Free retirement updates: Enrollment and claim windows come and go, and missing one can cost you real money. The free Retirement Shield newsletter keeps you ahead of the deadlines that matter. Sign up free.
Where the Medigap exclusion bites
The carve-out is specific. Publication 969 says the premium rule for those 65 and older applies to Medicare and other coverage, but not to premiums for a Medicare supplemental policy such as Medigap. A Medigap policy, as the government’s Medicare consumer site explains, is private insurance sold alongside Original Medicare to cover the copayments, coinsurance, and deductibles that Medicare itself leaves to the beneficiary. Because that supplement sits outside the list of qualified premiums, an HSA cannot pay it tax-free.
The consequence is more than a technicality. When an HSA distribution is used for something that does not qualify, it becomes taxable income. For an account holder under 65, that also carries a 20 percent penalty; once a person reaches 65, the penalty falls away, but the income tax does not. A retiree who pays a Medigap premium out of an HSA after 65 is therefore pulling out taxable money, the same as taking an ordinary withdrawal and spending it. The cleaner move is to pay Medigap premiums from a checking account or other after-tax funds and reserve the HSA for the premiums and out-of-pocket costs that stay tax-free.
The wider list of costs an HSA still covers tax-free
Beyond premiums, the account keeps its original job in retirement. Publication 969 treats the same broad list of qualified medical expenses as tax-free when paid from an HSA, and for older Americans that list reaches well past a doctor’s visit: dental work, eyeglasses and vision care, hearing aids, and the deductibles, copayments, and coinsurance that Medicare and a drug plan leave behind. Long-term-care insurance premiums also qualify, though only up to an age-based dollar cap the agency sets each year, one of the few premium types outside Medicare that an HSA can pay after 65. For a retiree facing the dental and hearing costs Original Medicare does not cover, drawing on an untaxed account for those bills is a direct discount equal to the tax that would otherwise apply.
The account also loosens up in a second way once the owner turns 65. Before that age, spending HSA money on anything that is not a qualified medical expense triggers income tax plus a 20 percent penalty. After 65, the penalty disappears, so a non-medical withdrawal is simply taxed as ordinary income, the same treatment a traditional IRA distribution receives. That makes an older HSA a flexible reserve: medical costs come out entirely tax-free, and anything else comes out taxed but penalty-free, which is why some savers treat a leftover HSA balance as a backstop retirement account rather than a strict medical fund.
Enrolling in Medicare ends new HSA contributions
One more piece of timing shapes how much an HSA can do in retirement. The rules in Publication 969 make clear that a person enrolled in Medicare can no longer contribute new money to a health savings account. Signing up for any part of Medicare closes the door on further deposits, including the catch-up contribution that account holders 55 and older are otherwise allowed. What does not change is the right to spend the balance already sitting in the account, which continues tax-free for qualified expenses for the rest of the account holder’s life.
That contribution cutoff is why many people who keep working past 65 and stay on an employer health plan delay Medicare enrollment specifically to preserve their ability to fund an HSA a while longer. It also means the balance a person carries into Medicare age is essentially the entire pool available to cover premiums and medical costs from that point forward, since no new contributions can refill it.
What happens to the balance at death depends on who is named on the account. Publication 969 provides that if the owner’s spouse is the designated beneficiary, the HSA becomes the spouse’s own and keeps its tax-free character; if anyone else inherits it, the account stops being an HSA and its fair market value becomes taxable income to that beneficiary in the year of death. Keeping the beneficiary form current is therefore part of protecting the tax break the account carries.
Taken together, the rules turn a health savings account into a targeted retirement tool rather than a catch-all. It can knock the tax off Part B, Part D, and Part A premiums, and it can keep paying deductibles, dental, vision, and hearing costs tax-free. It cannot touch a Medigap premium without a tax bill, and it stops taking deposits the moment Medicare begins. Publication 969 spells out each of those boundaries, and knowing which premium falls on which side of the line is what keeps a tax-free account from quietly generating a taxable withdrawal.
This article was produced with the assistance of artificial intelligence and reviewed by The Financial Wire editorial team.
More Financial Reading
- What really happens to your joint savings account when you die?
- Bank statements: how long to keep them and when to toss them


