You can keep a family HSA when your spouse is on Medicare, and you can contribute the full family limit, 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 ceiling is $8,750, plus a $1,000 catch-up if you’re 55 or older. Your spouse’s Medicare enrollment shuts down their ability to contribute to any HSA, but it does not touch yours. The one place this gets people into trouble is timing around Medicare’s retroactive coverage rules, which can turn legal contributions into excess contributions after the fact.
Medicare Disqualifies the Enrolled Spouse Only
HSA eligibility is decided one person at a time. To qualify, you need coverage under an HDHP, no other health coverage that pays before the deductible, and no Medicare enrollment. Beginning with the first month you enroll in Medicare, your own HSA contribution limit drops to zero, and that applies whether the enrollment is Part A, Part B, or Part D.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
Because the rule is personal, it only disqualifies the enrolled spouse. If your spouse signs up for Medicare while you stay on a qualifying HDHP with nothing else that disqualifies you, you remain an eligible individual and can keep contributing.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Your spouse cannot contribute to any HSA at all. Your eligibility doesn’t depend on theirs.
How You Get the Full Family Limit
Your contribution ceiling is set by the type of HDHP coverage you carry. 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 rule for married couples that normally splits the family contribution limit between spouses. It only operates when both spouses are HSA-eligible.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Because your Medicare-enrolled spouse has a contribution limit of zero, there is nothing to split. The entire family limit belongs to you.
Each spouse’s HSA is still their own account. Married couples cannot hold a joint HSA even when they share an HDHP.3Internal Revenue Service. Individuals Who Qualify for an HSA – IRS Courseware Your contributions go into the account in your name.
2026 Limits and HDHP Requirements
For 2026, the IRS has set the following amounts:4Internal Revenue Service. Rev. Proc. 2025-19
- Self-only contribution limit: $4,400
- Family contribution limit: $8,750
- Catch-up contribution at age 55 or older: an additional $1,000
- HDHP minimum deductible: $1,700 self-only, $3,400 family
- HDHP maximum out-of-pocket: $8,500 self-only, $17,000 family
If you are 55 or older by the end of the tax year and still HSA-eligible, you can add the $1,000 catch-up on top of the family limit, for a total of $9,750. The $1,000 figure is set by statute and does not adjust for inflation.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Your Medicare-enrolled spouse cannot make a catch-up contribution at any age, because their contribution limit is zero.
The Medicare Retroactivity Trap
This is where most people get burned, and it usually catches the older spouse rather than the one still contributing. If you are already receiving Social Security when you turn 65, Medicare Part A enrollment is automatic; you don’t apply, it just happens.5Centers for Medicare and Medicaid Services. Original Medicare (Part A and B) Eligibility and Enrollment HSA eligibility ends the month Part A begins.
The bigger trap hits people who delay Social Security and Medicare past 65 while continuing to contribute. When they eventually apply, Part A is backdated by up to six months, though not before the month they turned 65.5Centers 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.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
The practical fix is to stop HSA contributions at least six months before you plan to enroll in Medicare. If you are the non-Medicare spouse and are the one making the contributions going forward, this coordination usually falls to you. Have the younger, still-eligible spouse take over the family-limit contributions, and the retroactivity problem disappears.
Paying Your Spouse’s Medicare Costs from Your HSA
Your Medicare-enrolled spouse cannot put money into an HSA, but your HSA can still pay for their medical expenses tax-free. Qualified medical expenses include amounts paid for your spouse’s care regardless of whether they are HSA-eligible themselves.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans That covers deductibles, copays, coinsurance, prescriptions, and most other out-of-pocket costs your spouse faces under Medicare.
Medicare premiums get their own rule. Once you, the HSA account holder, turn 65, tax-free distributions from your account can also cover premiums for Medicare Part B, Part D, and Medicare Advantage. Before you turn 65, paying your spouse’s Medicare premiums from your HSA generally does not qualify as a tax-free distribution, even if your spouse is already enrolled.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
One exclusion to remember: Medigap premiums are never qualified medical expenses for HSA purposes, at any age.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If your spouse carries a Medicare supplement policy, those premiums have to come from somewhere else.
Fixing Excess Contributions Before the Penalty Compounds
Going over your calculated limit creates an excess contribution, and the penalty is a 6% excise tax on the excess for every year it stays in the account.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans It is not a one-time hit. It recurs annually until the excess comes out.
To avoid the recurring tax, withdraw the excess and any earnings it generated before your tax filing deadline, including extensions. For most filers that means April 15 of the following year, or October 15 with an extension.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The withdrawn amount will not be deductible, and any earnings you pull out are taxable income, but you avoid the 6% tax for that year.
The usual cause of excess contributions in this situation is not miscounting against the annual limit. It is Medicare’s retroactive coverage turning legal contributions into excess ones after the fact. If either of you recently enrolled in Medicare, go back through the contribution history and check the dates against when Part A actually took effect.