Blog

A Houston worker near 65 reviewing HSA and Medicare timing before retirement

Medicare’s 6-Month HSA Rule: Why Houston Workers Near 65 Must Stop Contributing Early (2026)

Picture a 66-year-old project engineer in the Energy Corridor who is still on his company’s high-deductible health plan, still maxing out his Health Savings Account every January, and still feeling no rush to touch Medicare because his group coverage is solid. Picture a nurse manager at a Texas Medical Center hospital who turned 65 last spring, plans to work two more years, and likes the triple tax advantage her HSA gives her too much to give it up. Picture a small-business owner in Spring Branch — past 65, no boss, no big employer plan, paying for her own HDHP — who finally decides to start Social Security to bring in some monthly income while she keeps the business running. Three very different Houston workers. All three are sitting on the same quiet trap: Medicare’s 6-month HSA rule.

Here is the direct answer, before anything else. If you are past 65 and you contribute to an HSA, you must stop your HSA contributions at least six months before the month you enroll in any part of Medicare — or before you file for Social Security after 65, because that filing automatically signs you up for Medicare Part A. The reason is a federal quirk that catches thousands of working seniors every year: when you enroll in premium-free Part A after age 65, your coverage does not start on your application date. It back-dates up to six months (but never before the month you turned 65). Because you cannot legally contribute to an HSA for any month you are enrolled in Medicare, those retroactive months turn contributions you already made into excess contributions — and excess contributions carry a 6% IRS excise tax for every year they sit in the account.

This guide walks Houston workers approaching or past 65 through exactly how the rule works, how to time your last contribution, how to pro-rate your annual limit, how to fix an overcontribution if it already happened, and what you can still do with your HSA dollars once Medicare begins. The figures here are verified against the IRS and Medicare.gov. Where the timing gets personal — your group plan, your Social Security plans, your spouse’s HSA — that is where Wise Insurance Agency sits down with Houston families and works it out at the kitchen table. This is information, not tax advice, so pair it with your tax professional or our team before you make the call.

6% The IRS excise tax charged on excess HSA contributions — and it applies for each year the excess amount stays in your account, not just once. Source: IRS Publication 969
Key takeaways
  • Stop HSA contributions at least 6 months before you enroll in Medicare or file for Social Security after 65 — that is the practical core of the rule.
  • Premium-free Part A back-dates up to 6 months (but never before the month you turned 65) when you enroll after your 65th birthday.
  • Filing for Social Security after 65 auto-enrolls you in Part A — you cannot keep one without the other once benefits start.
  • Any month you are enrolled in any part of Medicare, you are not HSA-eligible — so contributions in the retroactive months become excess.
  • Excess contributions face a 6% excise tax per year until corrected; the 2026 limits are $4,400 self-only / $8,750 family, plus a $1,000 age-55 catch-up.
  • You can still spend existing HSA funds after Medicare — including for Part B, Part D, and Medicare Advantage premiums — you just can’t add new money.

Why you can’t contribute to an HSA once you’re enrolled in any part of Medicare

Start with the rule that everything else hangs on. To contribute to a Health Savings Account, the IRS requires you to be an HSA-eligible individual. One of the conditions of eligibility is that you have no other disqualifying health coverage — and Medicare counts as disqualifying coverage. The moment you are enrolled in Medicare, you are no longer an eligible individual, and your right to make new HSA contributions ends. This is spelled out in IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans.

A Houston worker near 65 reviewing HSA and Medicare timing before retirement
Medicare Part A can start up to six months retroactively, so HSA contributions must stop early — Wise Insurance Agency helps Houston workers time the switch to avoid IRS penalties.

Two points trip people up here. First, it is any part of Medicare — Part A alone is enough. Many Houston workers assume that because they only have premium-free Part A and never signed up for Part B, they are still in the clear. They are not. Part A by itself disqualifies you. Second, the disqualification is measured month by month. HSA eligibility is determined on the first day of each month, so if you are enrolled in Medicare on the first of a given month, you are not eligible to contribute for that month at all.

That monthly structure matters enormously once you combine it with the retroactive start date, which we cover next. It is the reason a single application in, say, August can reach backward and disqualify contributions you made as far back as February. If you want a refresher on how Medicare’s parts fit together before going further, our Medicare overview and Medicare Eligibility pages lay out the basics.

i
Eligible to contribute vs. eligible to spendLosing HSA contribution eligibility does not freeze your account. Your balance is still yours, still invested, still tax-free for qualified medical expenses. Medicare only stops you from adding new money. We come back to what you can still spend on in section 8.

The Part A 6-month retroactive rule, explained on a Houston timeline

This is the mechanism that turns a simple rule into a tax trap. When you enroll in premium-free Part A after the month you turned 65, the Social Security Administration does not start your coverage on the day you apply. It back-dates your Part A entitlement by up to six months — but never earlier than the first day of the month you turned 65. The retroactive start is automatic; you do not get to decline it.

Walk it through on a Houston calendar. Say you turned 65 in January 2026 but kept working and kept your employer HDHP, so you delayed Medicare. In August 2026 you decide to enroll in Part A. The SSA back-dates your Part A entitlement six months — to February 2026. That means you were, for HSA purposes, enrolled in Medicare from February forward. Every HSA contribution you made for February through August is now an excess contribution, even though when you made them you believed you were eligible.

The chart below shows that lookback on a timeline so you can see how far back a single application reaches.

The 6-month Part A lookback (turned 65 in Jan 2026, applied Aug 2026) Jan Feb Mar Apr May Jun Jul Aug Turn 65 Apply Aug Part A back-dated to February — HSA contributions Feb–Aug become excess 6-month retroactive reach (capped at the month you turned 65)
Figure 1: An August application reaches back six months to February, disqualifying every HSA contribution made in those months. Source: IRS Publication 969; Medicare.gov Part A enrollment rules.

Two boundaries keep this from being even worse. The lookback is capped at six months, and it can never reach before the month you turned 65. So if you turned 65 in May 2026 and apply in August 2026, the back-date only goes to May (three months), not all the way to February — because you weren’t even eligible for premium-free Part A before 65. The closer your application is to your 65th birthday, the shorter the reach.

How claiming Social Security after 65 auto-enrolls you in Part A

Here is the part that surprises the most Houston workers, because it has nothing to do with filling out a Medicare form. If you are past 65 and you file for Social Security retirement benefits, the Social Security Administration automatically enrolls you in premium-free Part A. You do not get to take the monthly Social Security check and decline Part A — the two are linked once you start benefits after 65. And because Part A back-dates, your HSA eligibility can end retroactively the moment your benefits begin.

This catches the self-employed and small-business owners especially hard. The Spring Branch business owner from our opening doesn’t think of herself as “going on Medicare” — she just wants the income. But the day she files for Social Security, she is enrolled in Part A, it back-dates up to six months, and any HSA contributions she made in that window are now excess. The Social Security Administration explains the benefit-and-Medicare linkage in its Medicare benefits overview.

The same logic applies if you delayed Social Security to grow the benefit and then file at, say, 67 or 68. The back-date still applies (capped at six months), so the “stop contributing six months early” discipline matters at any age past 65, not just at 65 exactly.

!
Social Security and HSA contributions don’t mix after 65If you are still contributing to an HSA, do not file for Social Security retirement benefits until you have planned the timing. The automatic Part A enrollment — and its retroactive start — can convert months of good-faith contributions into taxable excess. Map the dates first.

The “stop 6 months before you apply” rule in practice

Put the last two sections together and you get a single, memorable planning rule: count back six months from the month your Medicare or Social Security will begin, and stop all HSA contributions by then. Because the back-date can reach six months, stopping six months before your enrollment month guarantees that no contribution lands in a month Medicare will retroactively claim.

For most Houston workers there are two clean scenarios:

  • You plan to enroll in Medicare or claim Social Security in a known future month. Stop HSA contributions six full months before that month. If you’ll retire and go on Medicare in December, your last HSA-eligible contribution month is May (and you should pro-rate that year — see section 6).
  • You’re keeping employer coverage indefinitely and delaying Medicare. You can keep contributing as long as you remain HSA-eligible and have not enrolled in any part of Medicare. But the day you decide to enroll, remember the six-month reach: contributions in the prior six months may already be excess. Plan the stop date before you submit anything.

Workers with qualifying employer coverage past 65 generally enroll later through a Special Enrollment Period (SEP) rather than the Initial Enrollment Period (IEP) — the seven-month window around your 65th birthday. The SEP lets you delay Part B (and sometimes Part A) without a late penalty while you keep group coverage. Whichever window applies, the HSA stop-date math is the same: six months ahead of when Part A will actually begin. Our employer health insurance page and the broader health insurance overview explain how group coverage interacts with Medicare timing, and we coordinate it directly at our North Houston office and our South Houston office.

Your situationWhen Part A beginsLast safe HSA contribution month
Retire & go on Medicare Dec 2026December 2026May 2026 (pro-rate the year)
File for Social Security Sept 2026 (age 66)Back-dated up to March 2026February 2026
Turned 65 in July, apply for Part A in OctBack-dated to July (capped at 65)June 2026
Keep employer HDHP, delay Medicare via SEPNot yet enrolledOngoing — until 6 months before you apply

The 6% excise tax and how to fix an overcontribution

If money lands in your HSA for a month you turn out not to be eligible, that money is an excess contribution. The IRS imposes a 6% excise tax on excess contributions, and — this is the part that stings — the tax applies for each year the excess amount remains in the account. Leave it sitting there and you pay 6% again the next year, and the next. It is reported on IRS Form 5329, and the rule is detailed in IRS Publication 969.

The good news: you can fix it, and if you act in time you can avoid the 6% entirely. There are two main repair paths.

  • Withdraw the excess (plus its earnings) before your tax filing deadline. If you remove the excess contribution and any earnings it generated before your federal return’s due date (including extensions) for that year, you avoid the 6% excise tax on it. The withdrawn earnings are included in your taxable income for the year, but the 6% penalty is avoided.
  • Absorb the excess in a future eligible year. If you don’t withdraw it, the excess can be “used up” by contributing less than your limit in a later year when you are eligible — but you owe the 6% for every year the excess remained before that happens. For someone heading permanently into Medicare, this path usually doesn’t apply, because they won’t have future eligible years; withdrawal is typically the cleaner fix.

Because the correction interacts with earnings calculations, your tax return, and the exact filing deadline, this is the moment to loop in a tax professional or our team. The donut below illustrates how a one-year, uncorrected excess gets taxed.

6% excise tax on a $2,200 excess contribution (one uncorrected year) $132 excise tax owed 6% excise tax = $132 owed for the year $2,068 of the excess (the remaining 94%) still in the account, exposed again next year Illustrative. The 6% applies again each year the excess remains uncorrected. Source: IRS Publication 969.
Figure 2: A $2,200 excess contribution left in the account costs $132 in excise tax in year one — and the same 6% recurs every year it stays. Source: IRS Publication 969 (illustrative figures).

Pro-rating your annual limit: the last-month rule and testing period

The year you transition to Medicare is rarely a full HSA-eligible year, so the IRS lets you contribute a pro-rated amount based on the months you actually were eligible. The annual limit is divided by 12 and multiplied by the number of months you were an eligible individual on the first day of the month. The 2026 limits — verified against IRS Rev. Proc. 2025-19 — are $4,400 for self-only and $8,750 for family coverage, plus the $1,000 catch-up if you’re 55 or older.

So if you were HSA-eligible for six months of 2026 with self-only coverage, your pro-rated limit is 6/12 of $4,400 = $2,200 (plus 6/12 of the $1,000 catch-up = $500 if you’re 55+). Contribute more than that and the rest is excess. The bar chart shows how the self-only limit shrinks with each month of Medicare enrollment.

Pro-rated 2026 self-only HSA limit by eligible months ($4,400 full year) $4,400 12 months $3,300 9 months $2,200 6 months $1,100 3 months Add a pro-rated share of the $1,000 catch-up if you are 55+. Source: IRS Rev. Proc. 2025-19.
Figure 3: Each month of Medicare enrollment removes 1/12 of the annual limit. Six eligible months equals a $2,200 self-only cap for 2026. Source: IRS Rev. Proc. 2025-19.

There is a tempting shortcut called the last-month rule. It says that if you are HSA-eligible on December 1 of a year, you may contribute the full annual amount for that year — no pro-rating. The catch is the testing period: you must remain HSA-eligible through December 31 of the following year. If you fail the testing period — and going on Medicare is the classic way to fail it — the extra amount you contributed above your true pro-rated limit becomes taxable income, plus a 10% additional tax.

!
Don’t use the last-month rule if Medicare is comingIf you expect to enroll in Medicare (or file for Social Security) within the next 13 months, skip the last-month rule and contribute only your pro-rated amount. Using the full-year shortcut and then failing the testing period triggers income tax plus a 10% penalty on the over-amount — a costly surprise.
2026 HSA figureAmountSource / status
Self-only contribution limit$4,400IRS Rev. Proc. 2025-19 (verified 2026)
Family contribution limit$8,750IRS Rev. Proc. 2025-19 (verified 2026)
Age-55 catch-up$1,000Statutory, fixed (verified 2026)
HDHP minimum deductible (self / family)$1,700 / $3,400IRS Rev. Proc. 2025-19 (verified 2026)
HDHP out-of-pocket max (self / family)$8,500 / $17,000IRS Rev. Proc. 2025-19 (verified 2026)
Excise tax on excess contributions6% per yearIRS Publication 969 (stable rule)

How a spouse’s HSA is affected (and how it isn’t)

An HSA is an individual account — there is no such thing as a joint HSA, even for married couples. That distinction does the heavy lifting here. When one spouse enrolls in Medicare, it ends that spouse’s contribution eligibility, but it does not automatically end the other spouse’s.

Take a common Houston household: a 66-year-old husband goes on Medicare while his 62-year-old wife is still working and covered under a family HDHP. The husband must stop contributing to his HSA. But the wife, if she remains HSA-eligible (covered by a qualifying HDHP, not enrolled in Medicare, not claimed as a dependent), can keep contributing to her own HSA — and because the family is still under family HDHP coverage, she may contribute up to the family limit in her account, plus her own $1,000 catch-up once she is 55.

A few nuances Houston couples should keep straight:

  • The catch-up is per individual and must go in that individual’s own account. A wife cannot deposit her husband’s catch-up into her HSA, and vice versa. Once the husband is on Medicare, his catch-up opportunity simply ends.
  • The family limit can be split between spouses’ accounts by agreement, but the combined total cannot exceed the family limit.
  • The still-eligible spouse can pay the Medicare spouse’s qualified expenses from her HSA, including some of his Medicare costs (more on that next).

What you can still do with HSA funds after Medicare starts

This is the reassuring part, and it is worth stating plainly because so many people assume Medicare “freezes” the HSA. It does not. Once you’re on Medicare you simply stop adding money — but the balance remains yours to spend tax-free on qualified medical expenses for the rest of your life. In fact, an HSA becomes one of the more useful accounts you can carry into retirement, because Medicare opens up several premium categories you can pay from it.

Per IRS Publication 969, once you are 65 or older you can use HSA funds tax-free to pay:

  • Medicare Part B premiums (the monthly medical-insurance premium).
  • Medicare Part D prescription drug plan premiums.
  • Medicare Advantage (Part C) plan premiums — yes, you can pay an MA premium from the HSA.
  • Out-of-pocket costs — deductibles, copays, coinsurance, and many other qualified medical expenses.
Expense after Medicare startsHSA tax-free?Notes
Medicare Part B premiumYesAllowed once you are 65+
Medicare Part D premiumYesPrescription drug plan premium
Medicare Advantage (Part C) premiumYesAllowed once you are 65+
Medicare Supplement (Medigap) premiumNoGenerally not an HSA-eligible expense
Deductibles, copays, coinsuranceYesQualified medical expenses
New HSA contributionsNot allowedContribution eligibility ends at Medicare enrollment

One important exception to know: you generally cannot use HSA funds to pay Medicare Supplement (Medigap) premiums tax-free. Part B, Part D, and Medicare Advantage premiums qualify; Medigap premiums do not. If you’re weighing Medicare Advantage against a Medigap-plus-Part-D approach, that HSA-premium difference is one more factor — and it’s exactly the kind of trade-off we map out on our Medicare Plans page and in person.

$4,4002026 self-only HSA limit
$8,7502026 family HSA limit
6moPart A retroactive reach (capped at 65)
6%Excise tax per year on excess
Your HSA can reimburse old expenses tooThere’s no deadline to reimburse yourself for a qualified medical expense, as long as it was incurred after you opened the HSA and you kept the receipts and didn’t already deduct it. Many Houston retirees use this to pull tax-free dollars out years later. Talk to a tax professional about your records.

A Houston worked example, start to finish

Let’s make it concrete with the Energy Corridor engineer from our opening. Call him David. He turned 65 in January 2026, kept his employer HDHP with family coverage, and planned to keep working and contributing to his HSA. In early 2026 he set up automatic contributions and, by August, had deposited about $5,100 toward the family limit (he was also planning to add his $1,000 catch-up).

In August 2026, David’s wife encourages him to “just get on Part A — it’s premium-free, why not have it as backup?” He applies. Here’s what actually happens:

  • Part A back-dates to February 2026 — six months before his August application (and after his January 65th birthday, so the full six months apply).
  • His HSA-eligible months in 2026 shrink to one: January only. February through December he is treated as Medicare-enrolled.
  • His true 2026 limit is 1/12 of the family limit: $8,750 ÷ 12 = about $729, plus 1/12 of his $1,000 catch-up (about $83) = roughly $812.
  • His excess contribution is about $4,288 ($5,100 contributed minus ~$812 allowed). Left uncorrected, that’s a 6% excise tax of roughly $257 for 2026 — and again each year it remains.

What David should have done — and what we would have walked him through before he touched that application — was either (a) delay the Part A application and keep contributing as an eligible individual under his employer plan, or (b) if he genuinely wanted Part A in August, stop his HSA contributions back in February and limit his 2026 deposit to the one eligible month. Either path avoids the excess entirely.

If David already over-contributed, the fix is to withdraw the excess plus earnings before his 2026 federal filing deadline (including extensions) to sidestep the 6% — coordinated with his tax professional. This is the precise kind of timing question where a short conversation before you act saves a real headache. For where Medicare fits in the broader picture, see our Medicare hub.

Houston Medicare & HSA Timing Review

Near 65 and still funding an HSA? Let’s get the timing right before you apply.

Wise Insurance Agency helps Houston workers coordinate Medicare enrollment, Social Security timing, and HSA contributions so a 6-month lookback doesn’t turn good-faith deposits into an IRS excise tax. We’ll map your stop date with you.

Call our Houston offices 832-400-6538

Frequently asked questions

How many months before Medicare do I need to stop HSA contributions?
At least six months before the month your Medicare coverage begins — or six months before you file for Social Security after 65, since that filing auto-enrolls you in Part A. The reason is that premium-free Part A back-dates up to six months when you enroll after your 65th birthday (but never before the month you turned 65). Stopping six months ahead guarantees no contribution falls into a month Medicare will retroactively claim. If you enroll close to your 65th birthday, the back-date reaches a shorter distance, but six months is the safe planning rule.
I only have premium-free Part A, not Part B. Can I still contribute to my HSA?
No. Enrollment in any part of Medicare — including Part A by itself — ends your eligibility to make new HSA contributions. Many working Houstonians assume that because they skipped Part B, their HSA is unaffected, but Part A alone is disqualifying. You can still spend your existing HSA balance; you just can’t add new money for any month you’re enrolled in Medicare.
What happens if I already contributed too much because Part A back-dated?
The over-contributed amount is an excess contribution, subject to a 6% IRS excise tax for each year it remains in the account. You can usually avoid the 6% by withdrawing the excess plus its earnings before your federal tax filing deadline (including extensions) for that year; the withdrawn earnings are taxable income, but the penalty is avoided. Because the calculation involves earnings and your specific deadline, coordinate the correction with a tax professional or our team.
Does claiming Social Security really sign me up for Medicare?
Yes. If you are past 65 and file for Social Security retirement benefits, the Social Security Administration automatically enrolls you in premium-free Part A — you cannot take the benefit and decline Part A. Since Part A back-dates, your HSA-contribution eligibility can end retroactively the month your benefits begin. This catches self-employed Houstonians and small-business owners who file for Social Security income without realizing it triggers Medicare.
Can my spouse keep contributing to their HSA after I go on Medicare?
Yes, if your spouse remains HSA-eligible on their own — covered by a qualifying high-deductible health plan, not enrolled in Medicare, and not claimed as a dependent. An HSA is always an individual account, so your Medicare enrollment ends only your contributions, not theirs. If your family is still under family HDHP coverage, the eligible spouse may contribute up to the family limit in their own account, plus their own $1,000 catch-up once they’re 55.
What are the 2026 HSA contribution limits?
For 2026, verified against IRS Rev. Proc. 2025-19: the self-only limit is $4,400, the family limit is $8,750, and the age-55-and-older catch-up is an additional $1,000 (a fixed statutory amount). To qualify, your high-deductible health plan must have a minimum deductible of $1,700 self-only / $3,400 family, with out-of-pocket maximums no higher than $8,500 self-only / $17,000 family. The year you go on Medicare, you generally pro-rate the limit by the number of months you were HSA-eligible.
Should I use the last-month rule the year I turn 65?
Generally no, if Medicare or Social Security is coming within about 13 months. The last-month rule lets you contribute a full year’s amount if you’re HSA-eligible on December 1, but it requires you to stay eligible through December 31 of the following year — a “testing period” that going on Medicare will fail. Failing it makes the extra amount taxable income plus a 10% additional tax. If you’re transitioning to Medicare, contribute only your pro-rated amount instead.
Can I use my HSA to pay Medicare premiums?
Yes for most of them. After 65 you can use HSA funds tax-free to pay Medicare Part B, Part D, and Medicare Advantage (Part C) premiums, plus deductibles, copays, coinsurance, and other qualified medical expenses. The notable exception is Medicare Supplement (Medigap) premiums, which generally are not HSA-eligible. So your HSA balance stays valuable in retirement — you simply stop adding to it once Medicare begins.

Sources

  1. IRS — Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans (accessed June 2026).
  2. IRS — Rev. Proc. 2025-19: 2026 inflation-adjusted HSA and HDHP amounts (accessed June 2026).
  3. Medicare.gov — When does Medicare coverage start (Part A retroactive enrollment) (accessed June 2026).
  4. Social Security Administration — Medicare benefits and automatic Part A enrollment (accessed June 2026).
  5. CMS — Health Savings Accounts and Medicare (accessed June 2026).
  6. Kaiser Family Foundation — Medicare program and enrollment resources (accessed June 2026).
  7. Medicare.gov — Initial Enrollment Period and Special Enrollment Period rules (accessed June 2026).

Wise Insurance Agency is a licensed insurance agency in the State of Texas. This article is general information, not tax or legal advice; HSA and Medicare rules are technical and fact-specific, so confirm your situation with a qualified tax professional or our team before you act. We do not offer every plan available in your area. Any information we provide is limited to those plans we do offer in your area. Please contact Medicare.gov, 1-800-MEDICARE, or your local State Health Insurance Assistance Program (SHIP) to get information on all of your options. Contribution limits, HDHP thresholds, and Medicare enrollment rules change over time; figures here reflect IRS and Medicare program data as of the date this article was written.