You can keep a family HSA when your spouse is on Medicare, and you can contribute the full family limit to it, as long as you personally are covered by a qualifying high-deductible health plan and have no disqualifying coverage of your own. For 2026, that is up to $8,750, plus a $1,000 catch-up if you are 55 or older.1Internal Revenue Service. Rev. Proc. 2025-19 Your spouse’s Medicare enrollment shuts down their ability to contribute to any HSA, but it does not touch yours.
Medicare Disqualifies the Enrolled Spouse Only
HSA eligibility is determined person by person. To qualify, you need coverage under an HDHP, no other health coverage that pays before you hit your deductible, and no Medicare enrollment. Starting with the first month you enroll in Medicare, your own HSA contribution limit drops to zero, and that applies to Part A, Part B, and Part D alike.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
Because eligibility is individual, Medicare enrollment only disqualifies the enrolled spouse. If your spouse signs up for Medicare while you stay on a qualifying HDHP with no other disqualifying coverage, you remain an eligible individual and can keep contributing.3Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Your spouse cannot contribute to any HSA at all. Your eligibility does not depend on theirs.
How the Non-Medicare Spouse Gets the Whole Family Limit
Your contribution limit depends on whether your HDHP is self-only or family coverage. If your plan covers both you and your Medicare-enrolled spouse, that is family coverage regardless of your spouse’s Medicare status, and the family maximum applies.
There is a subtlety here that works in your favor. The IRS has rules that require married couples to split the family contribution limit between them, but those rules only apply when both spouses qualify as eligible individuals.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans A Medicare-enrolled spouse has a contribution limit of zero, so there is nothing to split. The entire family limit belongs to you.
To hold onto that eligibility, confirm each requirement:
- Your plan meets the IRS minimum deductible and maximum out-of-pocket thresholds for the year.
- You are not enrolled in Medicare, Tricare, or any health plan that pays before you hit your HDHP deductible.
- No one else can claim you as a dependent on their tax return, even if they choose not to.4Internal Revenue Service. Individuals Who Qualify for an HSA – IRS Courseware
2026 Numbers and the Catch-Up Wrinkle
For 2026, the family HSA contribution limit is $8,750 and the self-only limit is $4,400. The catch-up contribution for account holders age 55 or older is an additional $1,000, set by statute and not adjusted for inflation.6Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
The catch-up has a rule that matters for couples. Each spouse’s catch-up goes into their own account only; married couples cannot hold a joint HSA.5Internal Revenue Service. Individuals Who Qualify for an HSA – IRS Courseware Your Medicare-enrolled spouse cannot make any catch-up contribution because their contribution limit is zero regardless of age. If they already have an HSA from earlier years, that balance stays theirs and can still be spent on qualified medical expenses; it just cannot receive new money.
Watch Out for Medicare’s Six-Month Retroactivity
This is where couples get burned. If you delay both Social Security and Medicare past 65 while continuing to contribute to an HSA, Part A coverage is backdated by up to six months when you eventually enroll, though not before the month you turned 65.7Centers for Medicare and Medicaid Services. Original Medicare (Part A and B) Eligibility and Enrollment Any HSA contributions made during those backdated months become excess contributions after the fact.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
If you are already receiving Social Security when you turn 65, Part A enrollment is automatic. You don’t apply; it just happens.7Centers for Medicare and Medicaid Services. Original Medicare (Part A and B) Eligibility and Enrollment Your eligibility ends the month Part A begins.
The practical rule: stop your own HSA contributions at least six months before you plan to enroll in Medicare. This concerns you only when it is your turn to enroll. If your spouse is the one going on Medicare and you are staying on the HDHP, you keep contributing to your own account without interruption. In fact, shifting contributions to your account before your spouse’s Medicare start date is often the cleanest way to sidestep the retroactivity problem entirely.
Your HSA Can Still Pay Your Spouse’s Medicare Costs
Your spouse cannot fund an HSA once they are on Medicare, but your HSA can still cover their medical expenses tax-free. Qualified medical expenses include amounts paid for a spouse’s care, whether or not the spouse is HSA-eligible themselves.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans That includes deductibles, copayments, coinsurance, prescriptions, and most other out-of-pocket costs under Medicare.
Medicare premiums are treated differently. Once you (the account holder) turn 65, tax-free distributions from your HSA can also cover Medicare Part B, Part D, and Medicare Advantage premiums. Before you turn 65, paying a spouse’s Medicare premiums from your HSA generally does not qualify, even if your spouse is already on Medicare.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
One exclusion catches people off guard: Medigap premiums are never qualified medical expenses for HSA purposes, at any age.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If your spouse has a Medicare supplement policy, pay those premiums from other funds.
If You Already Over-Contributed, Fix It Before the Deadline
An excess contribution triggers a 6% excise tax on the excess amount, and it recurs every year the money stays in the account. To stop the meter, withdraw the excess and any earnings it generated before your tax filing deadline, including extensions. That is April 15 of the following year for most people, or October 15 with an extension.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The withdrawn contribution is not deductible, and the earnings you pull out are taxable income, but you avoid the 6% tax for that year.
The most common cause of excess contributions in couples heading into Medicare is not miscounting the annual limit. It is the six-month backdating. If either of you recently enrolled in Medicare, review your contribution history for the months now covered by the retroactive start date, and correct anything that no longer fits.