You spent years building up a health savings account. Now Medicare is on the horizon, and you’re wondering what happens next. The short answer: you can’t add to it once you’re on Medicare, but you can still spend it. Knowing the difference can save you a tax penalty and a lot of stress.

Can you contribute to an HSA after you enroll in Medicare?

No. Once you have any part of Medicare, you can no longer put money into a health savings account. This is an often misunderstood rule in retirement.

A health savings account (HSA) is a special account that lets you set aside money tax-free for medical costs. To contribute, the IRS requires you to be covered by a high-deductible health plan and to have no other “disqualifying coverage.” Medicare counts as disqualifying coverage. So beginning with the month your Medicare coverage starts, you can no longer make HSA contributions. And if your Medicare starts partway through the year, your contribution limit for that year is usually prorated, meaning you only get a fraction of the full annual amount.

Here’s what sometimes trips people up. It doesn’t matter if you only sign up for Part A, the hospital coverage that most people get for free. Even Part A by itself ends your ability to contribute. You don’t have to be on Part B or a drug plan for the rule to kick in.

The good news is that the account itself doesn’t go anywhere. You keep every dollar you saved. You just can’t feed it anymore.

What can you spend your HSA on once you’re on Medicare?

Plenty. Your existing balance stays fully available, and you can pull money out tax-free for a long list of qualified medical costs. That includes your share of the bills Medicare doesn’t cover.

Think deductibles, copays, and coinsurance. Think prescription drug costs at the pharmacy. Your HSA also covers things Original Medicare skips entirely, like most dental work, eye exams and glasses, and hearing aids. For retirees facing big gaps in coverage, that tax-free money can be a real cushion.

There’s no deadline to use it, either. If you paid a qualified medical bill out of pocket years ago and kept the receipt, you can reimburse yourself from your HSA today. The IRS just wants proof the expense was real, so hang on to those receipts.

One more point. After you turn 65, if you pull money out for something that isn’t a medical expense, you’ll owe regular income tax on it but no penalty. Before 65, that same withdrawal triggers income tax plus a 20% penalty. So the account becomes more flexible once you hit 65, even though you can no longer add to it.


Need Medicare Help? Get FREE personalized guidance from our trusted partner Chapter — they represent all major plans and will help you find the one that’s right for YOU.

-Call Now: 440-703-1224 or click https://hlyshm.it/Chapter to get a complete Medicare plan review


Which Medicare premiums can your HSA pay?

Most Medicare premiums qualify for tax-free HSA withdrawals once you’re 65 or older. One common type does not.

Here’s what your HSA can pay:

  • Part B premium. The standard Part B premium is $202.90 a month in 2026, and nearly everyone pays it. The full amount can come out of your HSA tax-free.
  • Part D premium. Your prescription drug plan premium qualifies.
  • Medicare Advantage (Part C) premium. If you have a Part C plan, its premium qualifies too. Part C is simply another way to receive your Part A and Part B benefits, so the IRS treats its premium as a qualified expense.

And here’s the one that catches some retirees off guard:

  • Medigap is not allowed. A Medicare Supplement policy, often called Medigap, is the one premium the IRS specifically excludes. If you use HSA money to pay your Medigap premium, you’ll owe income tax on that withdrawal.

The logic is a little odd, but it comes straight from IRS Publication 969. Medigap is treated as a supplement, so its premium doesn’t qualify. You can still use HSA money for the deductibles and copays that a Medigap plan helps with. You just can’t use it for the Medigap premium itself.

Let’s put real numbers on it. Carl is 67 and on Original Medicare. He pays the standard Part B premium of $202.90 a month. Suppose his Part D drug plan runs another $40 a month, and he also carries a Medigap policy that costs him $150 a month. (Your own premiums will differ, but the math works the same way.)

Carl can pay his Part B and Part D premiums straight from his HSA, tax-free. That’s $202.90 plus $40, or $242.90 a month, which comes to about $2,915 over a full year. None of it is taxed.

His Medigap premium is the odd one out. That $150 a month, or $1,800 a year, has to come from his regular checking account, because Medigap is the one premium the IRS won’t let an HSA cover tax-free.

Here’s why the tax-free part matters. If Carl didn’t have an HSA and instead pulled that $2,915 out of a traditional IRA to pay those premiums, he’d owe income tax on the withdrawal. In the 22% bracket, he’d have to take out roughly $3,740 just to net the $2,915 he needs after tax. Paying from the HSA instead saves him around $825 that year. Stretch that over a 20-year retirement and the savings are real money.

One nice wrinkle for couples: if your spouse is also 65 or older, you can use your HSA to pay their Part B and Part D premiums, not just your own. This generally assumes you, the account owner, are 65 or older too.

The 6-month trap that catches people who work past 65

This is the rule that surprises some hard-working retirees. If you keep working past 65 and stay on an HSA-eligible plan, you may plan to contribute right up until you retire. Be careful, because of how Medicare backdating works.

When you sign up for premium-free Part A after 65, your coverage gets backdated. The same thing happens when you apply for Social Security or Railroad Retirement benefits, because that application automatically enrolls you in Part A. The backdating can reach up to six months into the past, though never earlier than the first month you were eligible for Medicare.

Why does that matter? Because if your Part A coverage is backdated to a month when you were still contributing to your HSA, those contributions count as too much. The IRS calls them excess contributions, and they come with a tax.

Take Roger. He’s 67, still working, and covered by his employer’s high-deductible plan. He’s been adding to his HSA all year. In June, he decides to retire and files for Social Security. Social Security signs him up for Part A and backdates it six months, to January. Every dollar Roger put into his HSA from January through June is now an excess contribution.

The fix is to plan ahead. If you’re past 65 and you know you’ll be signing up for Medicare or claiming Social Security soon, stop your HSA contributions at least six months before that date. Many people make their final contribution and then leave the account alone to be safe.

What happens if you contribute by mistake?

It happens more than you’d think, and it’s fixable if you catch it in time. Money you put into an HSA after you should have stopped is treated as an excess contribution, and the IRS charges a 6% excise tax on it. That 6% applies for each year the extra money sits in the account, so it can add up if you ignore it.

The clean way out is to remove the excess contribution, along with any earnings it generated, before your tax filing deadline for that year. Do that, and you sidestep the 6% tax. Your HSA provider can walk you through the paperwork for what’s called a “withdrawal of excess contribution.”

If you’re not sure whether you over-contributed, this is a great question for a tax professional. The cost of an hour of their time is less than years of a 6% tax compounding.

What are the 2027 HSA contribution limits?

If you’re still working and still eligible to contribute, the IRS just released next year’s numbers in Revenue Procedure 2026-24. They tick up a little for 2027, which gives you a bit more room to build your balance before Medicare arrives.

Here’s what you can contribute in 2027:

  • $4,500 if you have self-only coverage. That’s up $100 from the 2026 limit of $4,400.
  • $9,000 if you have family coverage. That’s up $250 from the 2026 limit of $8,750.
  • An extra $1,000 if you’re 55 or older. This catch-up amount is set by law and doesn’t change from year to year.

It helps to see the full picture side by side. The IRS doesn’t just set how much you can put in. It also sets the rules your health plan has to meet for you to qualify in the first place.

HSA rule20262027
Contribution limit, self-only$4,400$4,500
Contribution limit, family$8,750$9,000
Catch-up, age 55 and older$1,000$1,000
Minimum deductible, self-only$1,700$1,750
Minimum deductible, family$3,400$3,500
Out-of-pocket max, self-only$8,500$8,700
Out-of-pocket max, family$17,000$17,400

A quick word on what those last four rows mean, since the language is easy to misread. To contribute to an HSA, your health plan has to count as a high-deductible plan. For 2027, that means a deductible of at least $1,750 for self-only coverage or $3,500 for family coverage. If your deductible is lower than that, the plan doesn’t qualify and neither do you.

The out-of-pocket maximum works the other way. It’s a ceiling, not a floor. For 2027, your plan’s total out-of-pocket costs can’t be more than $8,700 for self-only coverage or $17,400 for family coverage. A plan that exposes you to more than that doesn’t count as a qualifying high-deductible plan.

The 55-and-older catch-up is the piece that matters most for people in their early 60s. If you and your spouse each have your own HSA, you can each add the $1,000 catch-up on top of the regular limit. For a couple, that’s an extra $2,000 a year going in tax-free during the very years right before Medicare, when the contribution window is about to close.

One small catch on the spousal catch-up. Each $1,000 catch-up has to go into that person’s own account. You can’t pile both catch-up amounts into a single HSA. So if you want the full benefit as a couple, you’ll each want an account in your own name well before you turn 65.

What’s the smartest move before you sign up for Medicare?

Build the balance while you still can, then time your last contribution carefully. The window between 55 and Medicare is your best chance to load up an account you’ll lean on for the rest of retirement.

Say Linda is 63 and still working with a high-deductible plan. She has three years before she expects to go on Medicare at 66. By contributing the family limit plus her $1,000 catch-up each year, she can add a substantial cushion she’ll use tax-free for Part B premiums, drug costs, and dental bills down the road.

When her Medicare start date gets close, Linda’s job is simple. She makes her final HSA contribution, counts back six months from her Medicare or Social Security start date to be sure she’s clear of the backdating trap, and then stops. From that point on, she only spends from the account.

That’s the whole game in a sentence: contribute as much as you can while you qualify, stop on time, and spend it down tax-free for decades.

When the rules get complicated, get a second set of eyes

Here’s a candid point about Medicare and HSAs. The basic idea is simple, but the timing, the backdating, and the premium rules create real traps for careful, well-meaning people. A single misstep on when to stop contributing can mean years of tax headaches.

This is one of those areas where a little expert guidance goes a long way. The choices you make about when to enroll in Medicare, when to claim Social Security, and how to coordinate them with your HSA all ripple into your taxes and your monthly budget. Seeing how those pieces fit together, ideally before you act, is the difference between a smooth transition and an expensive surprise.

If your situation has any wrinkles, working past 65, a spouse on a different timeline, or a large HSA balance you want to use wisely, it’s worth getting unbiased help from someone who does this every day. A good advisor or a solid planning tool can show you the trade-offs in plain numbers, so you can decide with confidence instead of guessing.

The one thing to remember

You can’t contribute to an HSA once you’re on Medicare, but you can spend the balance you built tax-free for qualified medical expenses. Stop contributing on time, watch out for the six-month backdating trap, and remember that your HSA can pay most Medicare premiums but not Medigap. Get those few rules right and your account becomes a valuable tool in retirement.


This article is for educational purposes only and is not personalized financial, tax, or medical advice. HSA and Medicare rules can be complicated, and your own situation may differ. Confirm the details that apply to you with the IRS, Medicare, or a qualified tax or financial professional before you act.

Note Chapter is an affiliate relationship of Holy Schmidt!. This means if you purchase a product or use their service, we earn a small commission. This does not increase your cost.

Chapter Advisory, LLC (“Chapter”) is a private health insurance agency. In California, Chapter does business as Chapter Insurance Services (Lic. No. 6003691). Chapter is not affiliated with or endorsed by any government entity. While Chapter has a database of every Medicare plan option nationwide and can help you to search among all options, it has contracts with many but not all plans. As a result, Chapter does not offer every plan available in your area. Currently, Chapter represents 50 organizations which offer 18,601 products nationwide. You can contact a licensed Chapter agent to find out the number of products available in your specific area. Please contact Medicare.gov, 1-800-Medicare, or your local State Health Insurance Program (SHIP) to get information on all of your options. Enrollment in a plan may be limited to certain times of the year unless you qualify for a Special Enrollment Period or you are in your Medicare Initial Enrollment Period. 

Average potential savings are based on realized premium, co-pay, and out of pocket savings estimates self-reported by consumers that worked with Chapter Advisory LLC to enroll in a Medicare Supplement, Medicare Advantage, and/or Part D Prescription Drug Plan. The average is limited to consumers that chose to self-report. Savings information is subject to periodic updates and corrections. There is no guarantee of savings and any savings may vary by policy type, state, or other factors.

Geoff Schmidt

View all posts

Add comment

Your email address will not be published. Required fields are marked *