medicare

Medicare and Health Savings Accounts: When to Stop

Medicare and Health Savings Accounts: When to Stop

The month Medicare enrollment begins is the month a health savings account has to stop taking new money. IRS Publication 969 sets the contribution limit at zero starting with the first month you are enrolled, and it applies that zero to any months of retroactive Medicare coverage as well [1]. Medicare's handbook says you are not eligible to make contributions after you have Medicare [4]. A husband or wife who is not enrolled can still contribute to a separate account if that spouse remains eligible [6].

When the contribution window closes

Publication 969 says you qualify to contribute only if you are covered by a high deductible health plan on the first day of the month, you have no other health coverage except the kinds the publication allows, you are not enrolled in Medicare, and you cannot be claimed as a dependent [1]. The instructions for Form 8889 add the tax-return side of that test. If you are an eligible individual, anyone can contribute to your HSA. You cannot be enrolled in Medicare, and you cannot deduct contributions for any month in which you were enrolled [2]. You must be an eligible individual on the first day of a month to take the deduction for that month [2]. Medicare coverage starts on the first of a month, so there is no partial month once coverage has begun [3].

Turning 65 is not, by itself, the cutoff. IRS Notice 2004-50 says mere eligibility for Medicare does not make you ineligible to contribute. Being entitled to benefits means both eligibility and enrollment. An otherwise eligible person who has not enrolled in Part A or Part B may contribute until the month of enrollment. The notice's example is a 66-year-old on an employer's high deductible plan who has not applied. If she is otherwise eligible, she may contribute [5].

One part of Medicare is enough. The same notice says a person enrolled in Part B, but not Part A, is not an eligible individual and may not contribute [5]. Notice 2008-59 says enrollment in Part D, or in any other Medicare benefit, has the same result for each enrolled month. Being eligible for Part D without enrolling does not, by itself, end contributions [6].

Some people who keep working, and who have not enrolled, still fund an HSA after 65. Whether to delay Part B while an employer plan is in place is a separate decision. We cover that coordination in our guide for people still working past 65. The HSA rule is narrower. Beginning with the first month you are enrolled, the contribution limit is zero [1].

Employer deposits sit inside the same limit. You must reduce what you or anyone else can contribute by employer amounts excluded from your income, including cafeteria-plan deposits [1]. Medicare.gov says you and your employer should consider stopping contributions at least 6 months before you apply for Medicare. If you are 65 or older, Part A can start up to 6 months back from the date you sign up or apply for Social Security or Railroad Retirement Board benefits. You are not eligible to contribute after you have Medicare, and an overlap may mean a tax penalty [3]. The handbook's shorter line is to consider making the last contribution the month before Part A begins [4].

Publication 969 dates the caps, and they apply only while you are still eligible. For 2025, self-only coverage is up to $4,300 and family coverage is up to $8,550 [1]. For 2026, it lists up to $4,400 and up to $8,750 [1]. An eligible person who is 55 or older at year-end gets an additional $1,000 in 2025 [1]. In the publication's example, you turn 65 in July 2025, enroll in Medicare, have self-only coverage, and qualify for that $1,000. The limit is $2,650, figured as $5,300 times 6 divided by 12, for that July enrollment only [1]. Notice 2004-50 also prints dollar examples from 2004, and those old amounts are not used here [1].

You can still fund the pre-Medicare months after the year ends. You may contribute for 2025 through April 15, 2026, including for the months you were eligible even if you later stopped being eligible. An employer may contribute from January 1, 2026, through April 15, 2026, if the deposit is allocated to 2025 and you and the trustee are told [1]. That deadline does not repair a deposit for a month of Medicare coverage. Contributions during retroactive coverage are excess [1].

How far Part A can reach back

The six-month warning is real, and it is not the rule for every person turning 65.

If you qualify for premium-free Part A and you sign up at 65, coverage starts the month you turn 65. If your birthday is on the first, coverage starts the month before [3]. The Medicare & You 2027 handbook uses that birthday rule in the sign-up rows of its HSA chart. If you sign up during your Initial Enrollment Period, or 2 months after that period ends, you can avoid a tax penalty by making the last HSA contribution the month before you turn 65. If your birthday is on the first, that same section says coverage generally starts on the first day of the month before you turn 65, and you can avoid a tax penalty by making the last contribution two months before you turn 65 [4].

That first signup window, the Initial Enrollment Period, lasts 7 months. It starts 3 months before you turn 65 and ends 3 months after the birthday month [3]. The month-by-month calendar is in our turning 65 checklist.

The lookback appears when premium-free Part A starts later. You can sign up for Part A any time after 65. Coverage then starts 6 months back from when you sign up, or from when you apply for Social Security or Railroad Retirement Board benefits, and it cannot start earlier than the month you turned 65 [3]. The handbook states the same premium-free rule and adds that the retroactive period may differ depending on how you become eligible for Part A [4].

If you have waited less than 6 months after turning 65, you can avoid a tax penalty by stopping contributions the month before you turn 65. If you have waited 6 months or more, you can avoid a tax penalty by stopping 6 months before the month you apply [4]. Backdated months make the contributions from those months excess [1].

Social Security is part of the same start date. Medicare.gov ties Part A to the date you sign up or apply for those benefits [3]. In the Notice 2004-50 example, a person who applies for Social Security and begins receiving it is automatically enrolled in Medicare, and may not contribute as of the first of that month [5].

Do not assume the same six months if you must buy Part A. On Medicare.gov, the six-month sentence is in the section on signing up for premium-free Part A later [3]. The handbook says the retroactive period may differ with how you become eligible [4]. If you pay a Part A premium, ask Social Security for the start date before another deposit goes in.

If you used the last-month rule, Publication 969 treats you as eligible for the whole year when you are eligible on December 1. You must then stay eligible through a testing period. The publication's example runs from December 1, 2025, through December 31, 2026. Stopping eligibility for a reason other than death or becoming disabled pulls those extra contributions into income, plus a 10% additional tax, on Form 8889, Part III [1]. Medicare enrollment is one way the same publication says eligibility ends [1]. A start date inside that testing period belongs with the person who prepares the return.

What a spouse who is not on Medicare can still do

Enrollment is personal. It stops the enrolled person's new contributions. It does not, by itself, close a spouse's account.

Each spouse who is eligible and wants an HSA must open a separate account. You cannot have a joint HSA [1]. The rules that divide one family contribution between spouses apply only when both spouses are eligible [1]. Notice 2004-50 says that if only one spouse is eligible, only that spouse may contribute. Its Medicare example is a couple with family high deductible coverage: the enrolled spouse may not contribute, and the other spouse may [5]. Notice 2008-59 adds the amount. An eligible person with family high deductible coverage for the entire year may contribute the statutory maximum for family coverage even when the plan also covers a spouse on Medicare, a spouse or child with other coverage, or Medicaid. That other coverage does not cut the limit, and none of the contribution is allocated to a spouse who is not eligible [6].

The extra amount at 55 and older follows the person. For 2025, if both spouses are 55 or older and neither is enrolled, each limit rises by the additional contribution, each must deposit that extra amount in their own HSA, and family contributions cannot total more than $10,550 [1]. A spouse on Medicare does not meet that test. A spouse who is 55 or older, not enrolled, and otherwise eligible still has the additional $1,000 [1]. Notice 2004-50 says a person age 65 or older may still make the catch-up contribution if not enrolled in Part A or Part B [5].

That spouse still needs high deductible coverage, no disqualifying other coverage, no Medicare enrollment, and must not be someone else's dependent [1][2]. You can remain eligible if your spouse has other coverage, as long as that coverage does not cover you [1]. A Medicare card in your spouse's name does not enroll you. A plan that does cover you can still disqualify you.

Anyone may contribute to an eligible person's HSA, so a working spouse or that spouse's employer can fund the eligible account [2]. None of that contribution is allocated to the spouse on Medicare [6].

Spending rules do not flip with the spouse's enrollment. If the account holder is under 65, Medicare premiums for a spouse or dependent who is 65 or older are not generally qualified medical expenses [1]. Once the account holder is 65, Medicare and other health coverage can be paid from the HSA, other than a Medicare supplemental policy such as Medigap [1].

Using what is already in the account

Stopping deposits is not the same as closing the account. You do not have to withdraw every year, balances generally carry over, and earnings are not taxed while they stay in the HSA [1]. A distribution is tax free only for qualified medical expenses incurred after the account was established, for you, your spouse, or your dependents, and only to the extent insurance did not pay [1]. Medicare.gov says you can use the account after coverage starts for deductibles, premiums, coinsurance, or copayments [3].

The premiums an HSA may pay are long-term care insurance, continuation coverage such as COBRA, health coverage during unemployment compensation, and, once you are 65 or older, Medicare and other health coverage other than Medigap [1]. Anything else withdrawn is subject to income tax and may face an additional 20% tax [1]. There is no additional tax after you are disabled, reach age 65, or die [1]. Only amounts used for qualified medical expenses are tax free [1]. The handbook notes that a Medicare Medical Savings Account plan is similar to an HSA. This article is about contributions before Medicare, not that plan [4].

If a deposit overlaps Medicare

Deposits above the limit are excess contributions. They are not deductible. Employer excess is included in your income, and if it is missing from box 1 of Form W-2 you report it as other income. Generally you pay a 6% excise tax on the excess, for each year it remains in the account [1]. Publication 969 points to Form 5329, and the Form 8889 instructions say section 4973 imposes that 6% tax [1][2].

You can avoid the excise tax on what you take back if you withdraw the excess by the return due date, including extensions, and you also withdraw the earnings and report them as other income [1]. Bring the start date, including any backdated Part A date, to the HSA trustee and to the person who prepares the return.

Practical takeaways

  • Your contributions and your employer's stop for every enrolled month, including retroactive months. The limit for those months is zero [1].
  • Being old enough for Medicare is not enrollment. A person who has not enrolled in Part A or Part B may still contribute if otherwise eligible [5].
  • Part B alone, and Part D or any other Medicare benefit, end eligibility in the enrolled months [5][6].
  • If you sign up around 65, the handbook points to a last contribution the month before you turn 65, or two months before if your birthday is on the first [4].
  • If you apply 6 or more months after 65, premium-free Part A can start 6 months back, but not before the month you turned 65. You can avoid a tax penalty by stopping 6 months before the month you apply [3][4].
  • A spouse who is not enrolled keeps a separate HSA. With family coverage for the full year, that spouse may contribute the statutory family maximum, and none of it goes to the spouse on Medicare [6].
  • Money already saved can stay. At 65 it can pay Medicare premiums, but not Medigap premiums [1].
  • An overlapping deposit is excess. The excise tax is generally 6% for each year it remains, unless you withdraw the excess and the earnings by the return due date, including extensions [1].

How we can help

We sit with families in Greensboro and across the Piedmont when one person is ready for Medicare and an HSA is still taking paycheck deposits. We line up the start date, the employer's last deposit, and what a spouse who is staying off Medicare can still fund. We do not replace your tax preparer or your HSA trustee. Have more questions or want to get in touch? Call us at (336) 937-7501 or write through our contact page.

Citations

  1. Internal Revenue Service, "Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans" (2026-04-30)
  2. Internal Revenue Service, "Instructions for Form 8889 (2025)" (2026-04-30)
  3. Medicare.gov, "When does Medicare coverage start?" (2026-11-03)
  4. Centers for Medicare and Medicaid Services, "Medicare & You 2027" (2027)
  5. Internal Revenue Service, "Internal Revenue Bulletin: 2004-33" (2004-08-16)
  6. Internal Revenue Service, "Internal Revenue Bulletin: 2008-29" (2008-07-21)
Categories: medicare