When I was digging out of debt, I loved anything that gave me a clean, legal tax advantage. HSAs fall in that category, but the rules get confusing fast once Medicare enters the picture. The biggest misconception I see is this: when one spouse enrolls in Medicare, people assume the entire household is “done” with HSA contributions.

Not necessarily.

If you enroll in Medicare, you generally have to stop contributing to an HSA. But your spouse may still be able to contribute if they remain eligible through a qualifying high-deductible health plan. The details depend on whose name the HDHP is under, whether the coverage is self-only or family, and whose HSA the money is going into.

A health savings account debit card lying next to a stack of medical bills on a kitchen table

The core rule

Once someone is enrolled in (or entitled to) Medicare, they are no longer eligible to make HSA contributions for any month they have Medicare coverage. In practice, the most common trigger is Medicare Part A entitlement. Many people assume only Part B counts, but Part A counts too.

That applies whether contributions come from:

  • their own paycheck
  • their spouse’s paycheck
  • an employer contribution
  • direct contributions they make outside payroll

So if you enroll in Medicare, no one should be contributing to your HSA for months you are covered by Medicare, including employer contributions.

But your spouse’s HSA eligibility is separate. Your Medicare status does not automatically disqualify your spouse from contributing to their HSA, as long as your spouse meets the HSA eligibility rules.

Important Medicare timing warning: If you apply for Social Security after age 65, Medicare Part A is typically retroactive up to 6 months (but not earlier than the first month you were eligible for Medicare). That retroactive Part A can accidentally create excess HSA contributions if you kept funding an HSA during those months.

When your spouse can still contribute

Your spouse can generally keep contributing to an HSA if all of the following are true:

  • Your spouse is covered by an HSA-qualified HDHP (either self-only or family coverage).
  • Your spouse is not enrolled in (or entitled to) Medicare.
  • Your spouse has no disqualifying “other coverage” (for example, a non-HDHP plan, a general purpose FSA, or certain other coverages).
  • Your spouse cannot be claimed as someone else’s tax dependent.

In real life, the most common setup where this works is: one spouse enrolls in Medicare, the other spouse continues working and stays on an HSA-qualified HDHP (often through their employer).

A stack of health insurance documents and an explanation of benefits form on a desk with a pen

Family vs self-only limits

Here is the simplest way to think about HSA contribution limits:

  • Self-only limit applies when the HSA-eligible spouse has self-only HDHP coverage.
  • Family limit applies when the HSA-eligible spouse has family HDHP coverage.

The key detail many couples miss is this: the other covered person does not have to be HSA-eligible for the working spouse to have family coverage for HSA limit purposes. In other words, if your spouse has an HSA-qualified HDHP that covers them and at least one other person, that is generally family coverage even if that other person is on Medicare.

Scenario A: Spouse has self-only HDHP

If your spouse switches to self-only HDHP coverage (just them), they can contribute up to the self-only HSA limit for the year, prorated by eligible months if coverage changes mid-year.

Scenario B: Spouse has family HDHP

If your spouse keeps family HDHP coverage and the plan is truly HSA-qualified, your spouse can generally contribute up to the family HSA limit to their HSA. Your Medicare enrollment does not automatically take away the family limit as long as your spouse’s coverage is still an HSA-qualified family HDHP.

Practical takeaway: If one spouse is on Medicare, it is very common for the working spouse to keep contributing. The main question is not “Does Medicare kill the family limit?” The main question is “Do I still have HSA-qualified family HDHP coverage or did we switch to self-only?”

Tip: When in doubt, ask HR (or the insurer) this exact question: “Is this coverage HSA-qualified for my HSA contributions, and is it considered self-only or family coverage for HSA limit purposes?”

Mid-year changes

Medicare often starts mid-year, which means HSA eligibility often changes mid-year too. In general, your allowed contribution is based on how many months you were HSA-eligible (and whether those months were self-only or family coverage months). There is also a “last-month rule” with a testing period that can let some people contribute more, but it can backfire if eligibility does not last. If you are near the line, it is worth confirming with a tax pro or carefully following IRS guidance.

Do you need one HSA or two?

This part is straightforward and important.

Each spouse needs their own HSA to contribute

An HSA is an individual account. If your spouse is the only one eligible to contribute (because you enrolled in Medicare), then contributions should go to your spouse’s HSA, not yours.

Even if you already have an HSA from your old employer, your spouse cannot simply “keep using yours” for new contributions if you are no longer eligible. The eligible person should be the HSA owner receiving contributions.

Can your spouse use their HSA for your expenses?

Often, yes. Generally, an HSA owner can use their HSA funds tax-free for qualified medical expenses for:

  • themselves
  • their spouse
  • their tax dependents

That means your spouse’s HSA can still be a powerful way to cover your out-of-pocket costs, including many Medicare cost-sharing expenses, as long as the expense itself is qualified.

Qualified medical expenses are defined by IRS rules. One quick nuance: premiums are usually not qualified, but there are important exceptions. Medicare premiums are often an exception, while Medigap premiums generally are not.

A hand placing medical receipts into an envelope next to a calculator on a dining table

Payroll and employer contributions

If your spouse is HSA-eligible, then contributions through their payroll are often the cleanest way to fund the HSA because contributions made through an employer cafeteria plan are typically pre-tax for federal income tax and also avoid FICA payroll taxes.

Two reminders:

  • Employer contributions follow the employee’s eligibility. If the employee is eligible, employer money can go in. If the employee is not eligible (for example, they enroll in Medicare), it should not.
  • Do not keep automatic contributions running into the Medicare-enrolled spouse’s HSA. This is one of those mistakes that happens quietly, then shows up later as excess contributions that need fixing.

Same employer plan

This happens a lot when one spouse is still working and the other turns 65.

You can be covered under your spouse’s employer plan and also enroll in Medicare. That does not automatically prevent your spouse from having an HDHP. In many cases, the spouse can still have an HSA-qualified HDHP and keep contributing.

But do not assume your employer will let it ride. Some employers require Medicare-eligible spouses to move to a non-HDHP option, carve them out of coverage, or change how the plan pays once Medicare is primary. Any of those changes can affect whether the working spouse still has HSA-qualified coverage.

Because plan designs vary, use this checklist:

  • Confirm the plan is labeled HSA-qualified HDHP.
  • Confirm whether the working spouse’s coverage is treated as self-only or family for HSA contribution purposes.
  • Ask whether any embedded features (like a general purpose HRA or FSA) impact HSA eligibility.
  • Ask HR whether a spouse enrolling in Medicare triggers any required plan change.

Quick examples

Example 1: You enroll in Medicare, spouse stays on self-only HDHP

  • You: on Medicare, no HSA contributions allowed for you.
  • Spouse: eligible and covered by self-only HDHP, can contribute up to the self-only limit (plus catch-up if age 55 or older), assuming no other disqualifying coverage.

Example 2: You enroll in Medicare, spouse keeps family HDHP coverage

  • You: on Medicare, cannot contribute.
  • Spouse: if they have an HSA-qualified family HDHP that covers them and at least one other person (including you), they can generally contribute up to the family limit to their own HSA, assuming no other disqualifying coverage.

Example 3: Both spouses enroll in Medicare

  • Neither spouse can contribute to an HSA for months covered by Medicare.
  • You can still spend existing HSA balances on qualified medical expenses.

Common mistakes

  • Keeping contributions going into the Medicare-enrolled spouse’s HSA because payroll was not updated.
  • Forgetting Part A counts and thinking you can keep contributing as long as you did not sign up for Part B.
  • Getting surprised by retroactive Part A after applying for Social Security, then realizing you overcontributed for prior months.
  • Assuming you must drop to the self-only limit just because a spouse is on Medicare, even when you still have HSA-qualified family HDHP coverage.
  • Not opening an HSA in the working spouse’s name when the Medicare-enrolled spouse was the only one with an HSA previously.
  • Forgetting catch-up rules are per person (age 55+ catch-up is tied to the HSA owner, and married couples generally need separate HSAs if both want to make catch-up contributions).

FAQ

My spouse is on Medicare. Can I still contribute to my HSA?

Yes, potentially. If you are not enrolled in (or entitled to) Medicare and you are covered by an HSA-qualified HDHP with no other disqualifying coverage, you can usually keep contributing to your HSA.

Can I contribute to my spouse’s HSA after they enroll in Medicare?

Not for months they are covered by Medicare. Contributions are based on the HSA owner’s eligibility. If your spouse has Medicare, their HSA eligibility generally stops, even if you are the one earning the income.

If I am HSA-eligible and my spouse is on Medicare, do I get the family limit?

Yes, in many cases. If you have HSA-qualified family HDHP coverage that covers you and at least one other person (including a spouse who is on Medicare), you can generally contribute up to the family HSA limit to your HSA. If your coverage is self-only, then you are limited to the self-only limit.

Do we need separate HSAs?

If only one spouse is eligible to contribute, you only need the contributing spouse’s HSA for new deposits. If both spouses are eligible and both are age 55+, separate HSAs are typically needed to make both catch-up contributions.

Bottom line

If you enroll in (or become entitled to) Medicare, you generally have to stop HSA contributions in your name. That does not automatically shut the door on HSA contributions for your spouse. If your spouse remains covered by an HSA-qualified HDHP and is not on Medicare, they may be able to keep contributing, usually to an HSA in their own name.

If you are unsure about the right limit (family vs self-only) with one spouse on Medicare, do not guess. A quick confirmation from HR or the plan administrator can save you from excess contributions and paperwork later. And if you plan to file for Social Security, remember the retroactive Part A issue so you do not accidentally overfund your HSA.