Medicare Annual EnrollmentAEP starts Oct 15 Get local helpGet help
A man in his late sixties working through paperwork and a laptop at a wooden table in a warmly lit room

Newsroom · Utah

When Should I Stop HSA Contributions Before Medicare?

Six months before your coverage starts — not six months before you sign up. Those are different dates, and the gap between them is where the penalty lives.

The bottom line

  • Stop 6 months before the month your Medicare coverage starts — or before you claim Social Security, whichever comes first.
  • The reason is retroactivity. Medicare.gov: Part A "starts 6 months back from when you sign up or when you apply for benefits from Social Security," though never earlier than the month you turned 65.
  • IRS Publication 969: "Beginning with the first month you are enrolled in Medicare, your contribution limit is zero." Backdated months are enrolled months.
  • The 2026 limits — $4,400 self-only, $8,750 family, plus a $1,000 catch-up at 55+ — are monthly limits wearing an annual costume. Enroll mid-year and you get a fraction.
  • Contribute past your prorated limit and you owe a 6% excise tax for each year the excess sits in the account — fixable if you withdraw it, with earnings, by your filing deadline.
  • Claiming Social Security is the same decision. Part A comes with it.

Almost every version of this question gets answered with "six months," and that's right — but it's six months before the wrong date in most people's heads. The number that matters is not when you file the Medicare application. It's when your Part A coverage starts, and Medicare gets to pick a start date in the past.

I've written before about how HSAs and Medicare coordinate generally, for Moab and for Grand Junction. This page is narrower and more useful: it's the arithmetic for finding your actual cut-off month, with the cases I see most often across Utah worked out.

Two sentences, and the trap between them

Everything here comes from two published rules that were never written to be read together.

Read these side by side

Medicare.gov: "Your Part A coverage starts 6 months back from when you sign up or when you apply for benefits from Social Security (or the Railroad Retirement Board)." And: coverage "can't start earlier than the month you turned 65."

IRS Publication 969: "Beginning with the first month you are enrolled in Medicare, your contribution limit is zero."

Neither is unfair on its own. Together they mean the IRS can decide, retroactively, that you were ineligible during months in which you were working, covered by a high-deductible plan, and watching payroll contributions land in your account exactly as planned.

Nobody chooses the backdating. It happens automatically to anyone enrolling after 65, and nothing in the enrollment process stops to ask whether you have an HSA.

DateHow much it matters
The day you fill out the Medicare application Almost not at all. It's the trigger, not the date the IRS cares about. Not it
The day your Part A coverage starts Everything. It can be backdated up to 6 months from your application — or from a Social Security claim. This one
The first day of each month How eligibility is actually tested. You either were, or weren't, enrolled on the 1st. The test

The annual limit is a monthly limit in disguise

This is the second thing people get wrong, and it costs money independently of the six-month problem.

For 2026 the IRS sets the contribution limit at $4,400 for self-only high-deductible coverage and $8,750 for family coverage, with a $1,000 catch-up once you're 55 or older. Publication 969 then figures your real limit month by month, based on the coverage you had on the first day of each month.

So the annual number is a ceiling for someone eligible all twelve months. Enroll in Medicare with an August 1 coverage start and you were eligible for seven months — January through July — and your limit for the year is seven twelfths of the annual figure, catch-up included. Front-load the account in January the way a lot of savers sensibly do, and you can be over your limit in a year in which you never contributed a dollar too many by the annual standard.

6 months
how far back Part A can be dated when you enroll after 65
$4,400
2026 self-only HSA limit — prorated by eligible month (IRS)
6%
excise tax per year an excess contribution stays in the account

Four situations, and the month to stop

These are the cases that walk through the door. Each one assumes you turned 65 some time ago and kept working.

Your situationWhat Medicare doesLast month to contribute
Retiring June 30, 2026 and enrolling that same month
Watch
Part A is dated 6 months back from the June application — to January 1, 2026. The whole first half of the year is retroactively a Medicare year. December 2025. Every 2026 contribution made before you retired is already over the line.
Working to age 68 on a small-employer plan, enrolling in March 2027
Watch
Part A is backdated 6 months, to September 1, 2026. Those six months are already zero-limit months. August 2026 — six months before the coverage start date your March application will produce.
Claiming Social Security at 66, benefits starting May 2026
Watch
Part A comes with the Social Security claim automatically, and the same six-month reach applies. October 2025. The Social Security decision made the Medicare decision for you.
Delaying both Medicare and Social Security past 65, still on an HDHP
Clear
No enrollment, no backdating, no problem — the limit stays intact while you remain eligible. Six months before whatever start date you eventually choose. Set the reminder now, not then.

Notice what the third row does. The Social Security decision made the Medicare decision, and the Medicare decision made the HSA decision — and at no point in claiming Social Security does anyone mention a health savings account. If you are thinking about turning benefits on, your HSA cut-off moved the moment you started thinking about it.

The last-month rule, and why it can bite here

There's a provision in Publication 969 that helps people who become eligible partway through a year, and it occasionally hurts people in exactly our situation.

The rule: "If you are an eligible individual on the first day of the last month of your tax year (December 1 for most taxpayers), you are considered an eligible individual for the entire year." That lets someone who started HDHP coverage in, say, September contribute the full annual amount. The string attached is a testing period running from that December through the twelfth following month — and if you stop being an eligible individual during it, the extra contributions get pulled into income and hit with an additional 10% tax.

Enrolling in Medicare is exactly the kind of event that ends eligibility mid-testing-period. If you used the last-month rule for 2026 and then enroll in Medicare during 2027, that earlier year reopens. It's a narrow case. It's also one nobody sees coming, which is why it belongs on the same page as the six-month rule rather than in a footnote.

If you already over-contributed

This happens, it is common, and it is fixable. Publication 969: "Generally, you must pay a 6% excise tax on excess contributions" — charged for each year the excess and its earnings remain in the account.

The correction is to withdraw the excess plus the earnings attributable to it by the due date of your return, including extensions, and report those earnings as "Other income." Two practical notes. First, this is a specific transaction type — your custodian will have a return of excess contribution form, and a plain withdrawal does not accomplish the same thing. Second, the earnings calculation is the custodian's job, not yours; ask them to compute it.

Then take the whole thing to your tax advisor. Proration, the testing period, Form 8889 and Form 5329 are their work, not mine, and I'd rather hand you off cleanly than guess.

The part that stays good after you stop

Ending contributions is not ending the account, and the account gets better at 65 in a way worth knowing.

Publication 969 permits tax-free distributions after 65 for Medicare and other health coverage — Part A if you pay a premium, Part B, Part D and Medicare Advantage premiums, plus ordinary out-of-pocket costs including dental, vision and hearing. At 2026's standard Part B premium of $202.90 a month, that alone is $2,434.80 a year of premium you can pay with pre-tax dollars, on top of the $283 deductible and whatever coinsurance you meet.

The one exclusion is the one people most want: a Medigap premium cannot be paid tax-free from an HSA. Publication 969 names it — "premiums for a Medicare supplemental policy, such as Medigap." If you're heading toward Original Medicare plus a supplement, plan for that premium to come from ordinary money and point the HSA at Part B, Part D and your out-of-pocket costs instead.

Why this lands harder in Utah than the guidance assumes

Two reasons, and they're both about how people here actually work.

The first is that Utah has an unusually large share of people who don't retire at 65. Small businesses, ranching, contracting, family operations, professionals who wind down slowly rather than stopping — those are exactly the people who stay on a high-deductible plan into their late sixties and keep funding an HSA because it's the smartest tax move available to them. Every one of them is exposed to the backdating rule, and almost none of them have been told about it.

The second is that the small-employer question sits right next to this one. If your employer has fewer than 20 employees, the group plan generally becomes secondary to Medicare at 65 and the calculus for delaying Part B changes entirely — which changes your enrollment date, which changes your HSA cut-off. We wrote that up separately for people on a spouse's plan, and it's the question to settle before you set a stop date.

And the care itself doesn't wait for the paperwork. In Grand County, 33.3% of adults live with high blood pressure and 11.2% with diabetes, per CDC PLACES — conditions managed through steady outpatient care, which is precisely what an HSA balance is good at absorbing once the contributions end. Getting the timing right is what keeps the balance intact instead of partly clawed back.

What I'd actually do

  • Pick your Medicare coverage start date first. Everything on this page counts backward from it, and it's the only date you genuinely control.
  • Count back 6 months and put a hard stop on the calendar. Payroll deductions, employer contributions and your own transfers — all of it.
  • Tell HR in writing. Employer HSA contributions are the ones that keep arriving after you've stopped your own, and they count toward the same limit.
  • Treat a Social Security claim as a Medicare enrollment, because it is one. Part A rides along with it.
  • Prorate before you fund. If you're enrolling mid-year, work out your months first and contribute to that number, not the annual headline.
  • If you're already over, call the custodian this week and ask for a return of excess contribution — the 6% tax repeats every year the money stays put.
  • Point the leftover balance at Part B and Part D, not at a Medigap premium, which is the one thing it can't pay tax-free.

How we know all this: the Medicare On Main Data Desk frames every article with public data. Every rule on this page was read directly from IRS publications and Medicare.gov. IRS Publication 969 supplies the sentence "beginning with the first month you are enrolled in Medicare, your contribution limit is zero," the month-by-month computation of the contribution limit based on your coverage on the first day of each month, the 2026 limits of $4,400 for self-only and $8,750 for family HDHP coverage, the last-month rule ("if you are an eligible individual on the first day of the last month of your tax year (December 1 for most taxpayers), you are considered an eligible individual for the entire year") with its testing period through the twelfth following month and 10% additional tax, the statement that you "generally must pay a 6% excise tax on excess contributions" together with the corrective withdrawal of the excess and its earnings by the due date of the return including extensions with those earnings reported as "Other income," the permission to pay Medicare and other health coverage tax-free after 65, and the explicit exclusion of "premiums for a Medicare supplemental policy, such as Medigap." IRS Rev. Proc. 2025-19 sets the 2026 inflation-adjusted amounts; the $1,000 age-55 catch-up is fixed by statute. Medicare.gov's coverage-start page supplies "your Part A coverage starts 6 months back from when you sign up or when you apply for benefits from Social Security (or the Railroad Retirement Board)" and the limit that coverage "can't start earlier than the month you turned 65." CMS's 2026 Parts A & B fact sheet, published November 14, 2025, supplies the $202.90 standard Part B premium and the $283 deductible. Grand County prevalence figures — high blood pressure 33.3%, diabetes 11.2% — come from CDC PLACES County Data 2023. HSA contributions, proration, excess-contribution corrections and the testing period are tax matters administered by the IRS, not by us; nothing here is tax advice and every figure above should be applied to your own return by your tax professional. This is education, not advice — verify your own dates with Medicare.gov and Social Security. We take no payment from any carrier to feature a plan.

Frequently asked questions

When should I stop HSA contributions before Medicare?

Six months before the month your Medicare coverage will start — or before the month you claim Social Security, whichever comes first. The reason is on Medicare.gov: if you sign up after 65, "your Part A coverage starts 6 months back from when you sign up or when you apply for benefits from Social Security," though it "can't start earlier than the month you turned 65." IRS Publication 969 then says that "beginning with the first month you are enrolled in Medicare, your contribution limit is zero." Put those two sentences together and money you deposited in perfectly good faith six months ago can become an excess contribution the day you enroll.

Do I have to stop HSA contributions before my Medicare coverage starts?

Yes — before it starts, not before you sign up. Those are different dates, and the gap between them is the entire problem. Eligibility is tested on the first day of each month, so the last month you can contribute for is the last month in which you are not enrolled in Medicare on the 1st. If your Part A is backdated to March 1, then March is already a zero-limit month even if you signed up in September and had no idea. Work backward from the coverage start date your enrollment will produce, not from the day you fill out the form.

What is the HSA 6-month rule for Medicare?

It is not a separate rule so much as the collision of two ordinary ones. Medicare backdates Part A up to 6 months for anyone who enrolls after 65 (never earlier than the month you turned 65), and the IRS zeroes your HSA contribution limit for every month you are enrolled in Medicare. The retroactivity is the trap: nobody chooses it, nobody is warned about it, and it reaches into months when you were still working, still on a high-deductible plan, and still having payroll contributions swept into the account. Claiming Social Security triggers the same thing, because Part A comes with it automatically.

What are the 2026 HSA contribution limits?

For 2026 the IRS sets the limit at $4,400 for self-only high-deductible coverage and $8,750 for family coverage, per Rev. Proc. 2025-19. Age 55 or older adds a $1,000 catch-up that is fixed by statute. But the annual figure is really a monthly one: your actual limit is that amount times the number of months you were HSA-eligible on the first of the month, and zero for every Medicare month. Enrolling mid-year does not give you the full-year number — it gives you a fraction of it, and the fraction is what your Form 8889 has to match.

What happens if I contribute to my HSA while on Medicare?

The amount over your prorated limit is an excess contribution, and IRS Publication 969 says you "generally must pay a 6% excise tax on excess contributions" for each year the excess stays in the account. The fix is available and worth acting on quickly: withdraw the excess plus the earnings attributable to it by the due date of your return including extensions, and report those earnings as "Other income." Your HSA custodian has a specific form for a return of excess contributions — an ordinary withdrawal is not the same thing. Run the numbers past your tax advisor before you file anything; this is education, not tax advice.

Can I use my HSA to pay Medicare premiums?

Yes, with one exception, and this is the part that makes the account worth keeping. Once you are 65 or older, Publication 969 permits tax-free HSA distributions for Medicare and other health coverage — Part A, Part B, Part D and Medicare Advantage premiums, plus your ordinary out-of-pocket medical costs. The exclusion is Medigap: "premiums for a Medicare supplemental policy, such as Medigap," cannot be paid tax-free from an HSA. At 2026's $202.90 standard Part B premium that is $2,434.80 a year of premium you can cover with pre-tax dollars — the balance keeps working long after the contributions stop.

Does Medicare On Main charge for help with Medicare timing?

No. Brian Penner is an independent, licensed Medicare advisor with more than 22 years of experience — paid by the carriers, not by you. Mapping your enrollment date, your retirement date and your HSA cut-off onto one calendar is free and carries no pressure, and we are licensed across Utah, so it makes no difference whether you are calling from Logan, Provo, St. George or Moab. For the tax side — proration, excess contributions, the last-month rule — we will hand you off to your tax professional, which is where those questions belong.

Sources

Want your stop date on a calendar instead of in your head?

Free, local, no pressure — Brian Penner has been doing this for more than 22 years and will map your retirement date, your Medicare start date and your HSA cut-off onto one page, then tell you plainly if nothing needs to change. We're licensed across Utah; call (435) 260-3200 from anywhere in the state or book an enrollment strategy call.

Book a conversation →

Medicare On Main is a licensed independent insurance agency. We do not offer every plan available in your area. Any information we provide is limited to the plans we do offer in your area. Please contact Medicare.gov or 1-800-MEDICARE to get information on all of your options. Not connected with or endorsed by the U.S. government or the federal Medicare program. Health savings account contribution limits, proration, excess-contribution corrections and the last-month rule are tax matters administered by the IRS — nothing here is tax advice, and your own figures should be reviewed with your tax professional. Medicare enrollment dates and Social Security claims are handled by the Social Security Administration, not by us. Amounts and rules are drawn from IRS publications, Medicare.gov and CMS and can change — verify your own dates at Medicare.gov. This is education, not advice. By calling or texting us you consent to be contacted at the number you provide; message and data rates may apply and you can opt out at any time.

Cover of Medicare Breakdown: The Alphabet Soup of Medicare, the free guide by Brian Penner

Free guide 📖

Medicare Breakdown: The Alphabet Soup of Medicare

Parts A, B, C, D, Medigap, IRMAA — Brian Penner's plain-English guide untangles the whole alphabet. Get your free digital copy and read it in one sitting.

Get the free guide →

Last updated . Maintained by the Medicare On Main Data Desk · reviewed by Brian Penner, Independent Medicare advisor (NPN 16493717).