Tax Facts

HSAs as a Tool to Cover Medicare Costs Tax-Free

According to some reports, health care expenses have increased by roughly 7.9% between 2025 and 2026 alone—and Medicare costs are no exception.Unsurprisingly, that means that clients are, and should be, searching for tax-preferred options for defraying those potentially unanticipated increases once they retire.HSAs can offer a powerful solution to help clients offset the cost of post-retirement health care expenses—namely, Medicare premiums and medical expenses that Medicare doesn't cover.You can withdraw HSA funds tax-free to cover any qualified medical expense—and that includes Medicare premiums that kick in once the client turns 65.Of course, the rules can be complicated and, as with any strategy, it's important that clients begin planning in advance to obtain the best possible results.

Using HSA Funds to Cover Medicare Premiums: The Basics

Clients can withdraw HSA funds to reimburse themselves for the cost of Medicare premiums—that's true for both current-year and past-year Medicare premiums.This gives clients the ability to time those withdrawals, leaving HSA funds to grow tax-free if they don't have an immediate need for the funds.Clients who didn't know they could use HSA funds to cover Medicare premiums can also withdraw the funds to reimburse themselves for past years' premiums.

Typically, Social Security beneficiaries have their Medicare premiums withdrawn directly from their Social Security checks.Those clients can still withdraw HSA funds to reimburse themselves for the premium costs.

HSA funds can be withdrawn tax-free to cover Medicare Parts B and D premiums, as well as premiums for Medicare Advantage plans (Part C coverage).Medicare supplement policies, such as Medigap, do not qualify. Similarly, HSAs can't be used to cover penalty costs associated with late Medicare enrollment.

Once a client reaches age 65, they can also use their HSA funds to reimburse their spouse's Medicare premiums tax-free.

In all cases, it's important to save receipts to prove that the HSA funds were used to cover qualified expenses (including Medicare premium expenses).Clients aren't required to actually submit those receipts with their tax returns but should keep the receipts in case of an audit.

HSAs and Contributions After Enrolling in Medicare

HSA contributions are never allowed if the individual is enrolled in any other type of health plan.That means individuals who continue to work past their age-65 enrollment date cannot contribute to their HSA after they are enrolled in Medicare.They're also prohibited from accepting employer contributions to HSAs.

Note that if the client's spouse is eligible to contribute to an HSA, the client can contribute to their spouse's HSA even if they have enrolled in Medicare and are no longer able to contribute to their own HSA.Two spouses can't combine their HSAs, but they can choose which account to tap to cover either spouse's qualified medical expenses.

Improper HSA contributions are subject to a six percent penalty.Taxpayers have until their tax filing deadline (plus extensions) to withdraw any excess contributions without penalty.

Medicare backdates coverage when an individual enrolls in Medicare Part A.A six-month look-back period applies, meaning that clients should stop making contributions to their HSAs six months before they enroll in Medicare or begin receiving Social Security benefits to avoid penalties.If the client makes contributions within that six-month window, however, they can withdraw the contributions before the end of the year of contribution without penalty.

Individuals who enroll in Medicare later in the year may be entitled to make HSA contributions for months when they are not enrolled in Medicare coverage.In other words, a pro-rated contribution for the year may be allowed (but clients should remember the six-month retroactive window when calculating their HSA contribution limit for the partial year).
It's also important to remember that once the client claims Social Security, they are automatically enrolled in Medicare Part A if they have reached full retirement age.Individuals who begin claiming benefits before reaching age 65 are also automatically enrolled upon reaching age 65.That means they can no longer make HSA contributions even though they did not actively apply for Medicare coverage.

Conclusion

The rules governing the interaction between HSAs and Medicare can be complicated.Clients are often surprised to learn that they can tap HSAs to reimburse themselves for Medicare premiums — given that HSAs can't always be used to cover non-Medicare health insurance premiums. It's important to carefully evaluate the client's unique situation to determine whether tapping HSA funds to cover Medicare is a smart plan.

Tax Facts Premium Tools
Calculators
100+ calculators specifically designed to help you easily assist clients with specific planning situations and calculations.
Practice Guidance
Designed to help you discover new ways for which to build and maintain client relationships.
Concepts Illustrated
Specifically designed to help you easily assist clients with specific planning situations and calculations.
Tax Facts Archives
Access to the entire library of Tax Facts dating back to 2012 allowing you to look up the exact tax figures from prior years.