Retirees who hold health savings accounts can use those funds to cover Medicare Part B, Part D, and Medicare Advantage premiums, plus qualified long-term-care insurance costs, without owing federal income tax on the withdrawals. The IRS has confirmed this treatment in a series of notices dating back to 2004, and the rules apply to any HSA holder who has reached age 65. With the standard Medicare Part B premium set at $185 per month for 2026, the annual tax savings from paying that bill with pre-tax HSA dollars can add up quickly, especially for higher-income beneficiaries subject to income-related surcharges.
Rising Medicare costs sharpen the HSA advantage after 65
The tax code creates a direct pipeline between HSA balances and Medicare bills. Under Section 223(d) of the Internal Revenue Code, qualified medical expenses for HSA purposes follow the definition of medical care in Section 213(d). That definition explicitly includes amounts paid as premiums under Medicare Part B, along with premiums for qualified long-term-care insurance contracts as defined in Section 7702B. The result: once an account holder turns 65, distributions used for those premiums escape both income tax and the 20 percent penalty that would otherwise apply to non-medical withdrawals.
CMS released its 2026 premium fact sheet confirming the standard Part B monthly premium of $185. Beneficiaries with higher incomes face additional surcharges under the income-related monthly adjustment amount, or IRMAA, which pushes total premiums well above the standard rate. Every dollar of those premiums paid from an HSA avoids the federal tax bite that would apply if the same money came from a traditional IRA or 401(k) distribution.
A related question is whether retirees in regions with higher Medicare costs build larger HSA balances after 65 to capture more tax-free reimbursement. No public IRS or CMS dataset currently breaks out HSA distributions by geographic region or by expense category at the beneficiary level. CMS Program Statistics track aggregate premium counts and amounts but do not link individual HSA usage to specific Medicare payments. Until that data becomes available, the regional hypothesis remains untested.
IRS guidance on Medicare and long-term-care HSA withdrawals
Three IRS notices form the backbone of the rules. IRS Notice 2004-2 established that after age 65, HSA distributions for Medicare Part A or B premiums, Medicare HMO premiums, and employer-sponsored retiree health coverage premiums all qualify as tax-free medical expenses. The notice states that distributions used exclusively for qualified medical expenses remain excludable from gross income even after the account holder enrolls in Medicare.
A practical wrinkle arises because Medicare premiums are often withheld directly from Social Security benefits. IRS Notice 2004-50 addressed this by confirming that an HSA distribution equal to the withheld premium amount counts as a qualified medical expense reimbursement. In other words, a retiree can allow Social Security to deduct the Part B premium and then reimburse themselves from the HSA for the same amount, preserving the tax-free treatment without having to route the payment directly through the HSA custodian.
A later clarification in IRS Notice 2008-59 reiterated that once an individual is entitled to Medicare, they can no longer make new HSA contributions, even if they remain covered by a high-deductible health plan. However, existing balances remain fully available for qualified distributions, including Medicare and long-term-care premiums, with no age limit and no required minimum distributions. This distinction between contribution eligibility and distribution flexibility is central to retirement planning with HSAs.
Annual limits on long-term-care premium reimbursements
While Medicare premiums can be reimbursed in full, long-term-care insurance has additional constraints. Section 7702B caps the amount of premium that can be treated as a deductible medical expense based on the taxpayer’s age at the end of the year. The IRS updates these dollar limits annually. HSA owners over 65 can use their accounts to pay or reimburse long-term-care premiums up to the applicable age-based ceiling, with those distributions treated as qualified medical expenses. Premiums above the limit do not qualify for tax-free HSA treatment and would be considered non-medical withdrawals if paid from the account.
These age-based caps mean that retirees considering long-term-care coverage should coordinate policy design with expected HSA balances. A higher daily benefit or richer inflation protection may drive premiums beyond the amount that can be sheltered through an HSA, reducing the tax advantage. Conversely, a modest policy with premiums within the annual limit can be fully funded with pre-tax dollars if the retiree has sufficient HSA savings.
Planning considerations for retirees
For retirees who built substantial HSAs during their working years, Medicare enrollment turns the account into a dedicated, tax-free payment source for premiums and out-of-pocket costs. Using HSA dollars for Part B, Part D, Medicare Advantage, and eligible long-term-care premiums can free up other retirement assets, such as IRAs and taxable accounts, for non-medical spending or legacy goals. Because HSA withdrawals for qualified expenses do not increase adjusted gross income, they also avoid triggering higher IRMAA brackets or phaseouts tied to income.
However, the strategy is not automatic. Retirees must keep documentation of Medicare and insurance premiums, ensure that long-term-care policies meet the tax-qualified standards under Section 7702B, and avoid using HSA funds for Medigap premiums, which are not treated as qualified expenses. They also need to recognize that once they enroll in any part of Medicare, new HSA contributions must stop, even if an employer plan continues. With careful recordkeeping and coordination, though, the combination of rising Medicare costs and flexible HSA withdrawal rules can provide a durable tax shelter well into retirement.
Free for readers: The free Retirement Shield newsletter sends plain-English help keeping more of your money in retirement — the scams to dodge, the benefits you’re owed, and what’s changing with Social Security and Medicare, a couple times a week. Get the free newsletter.