Who Is Eligible to Contribute to an HSA
The HSA is the most tax-advantaged account in the American system, and the eligibility rules are stricter than the marketing suggests. Being enrolled in a high-deductible health plan is necessary but not sufficient. Three further conditions apply, and each of them ends eligibility the month it is broken.
- A qualifying plan:: The plan must meet the statutory deductible and out-of-pocket definitions, not merely have a high deductible.
- No other coverage:: A spouse's low-deductible plan, a general-purpose health FSA, or most secondary coverage ends eligibility.
- Not on Medicare:: Any part of Medicare, including Part A alone, stops contributions from that month.
- Not a dependent:: Being claimed as a dependent on someone else's return disqualifies you, even with qualifying coverage.
Where the AI summary above gets this wrong
"If you have a high-deductible health plan, you can contribute to an HSA."
That's surface-true. Here's what it misses:
- A high deductible is not the same as a qualifying plan β The plan has to meet specific statutory minimums for the deductible and maximums for out-of-pocket costs, and it must not pay benefits before the deductible is met other than for preventive care. Plenty of plans with large deductibles do not qualify, and the employer's benefits summary states whether it does.
- A spouse's FSA can disqualify you β A general-purpose health flexible spending account can cover a spouse's expenses, which counts as disqualifying coverage for the person with the HSA even if they never use it. A limited-purpose FSA does not. This one catches dual-income households almost invisibly.
- Eligibility is monthly, and so is the limit β The annual limit is really twelve monthly increments. Someone eligible for seven months can contribute seven twelfths, and a full-year contribution becomes an excess subject to an excise tax until it is corrected. The last-month rule offers an exception, at the price of a testing period that can undo it.
01 The four conditions
First, coverage under a qualifying high-deductible health plan. The statute sets a minimum deductible and a maximum out-of-pocket limit, and the plan must generally not pay for anything except preventive care before the deductible is met.
Second, no other health coverage that pays before that deductible. A spouse's traditional plan, a general-purpose health FSA in either spouse's name, or most secondary policies will disqualify you. Dental, vision, disability and long-term care coverage do not.
Third, not enrolled in Medicare β any part of it. Fourth, not claimed as a dependent on another person's return. All four have to be true, and they are tested on the first day of each month.
Source: Publication 969
02 How the limit works month by month
The annual contribution limit is effectively a monthly allowance. Eligibility for part of a year gives you that fraction of the limit, and contributing the full amount anyway creates an excess contribution subject to an excise tax for every year it remains in the account.
The last-month rule lets someone eligible on 1 December contribute the full annual amount for that year. It comes with a testing period: remain eligible through the whole of the following year, or the extra amount becomes taxable income with an additional tax on top. Anyone planning to start Medicare mid-year should be careful with it.
Employer contributions count against the same limit, as do any made by anyone else on your behalf. The limit belongs to the account holder, not to the source of the money, and payroll systems do not always show the combined total.
Shows: how much of a contribution exceeds the month-by-month limit when eligibility did not last the whole year, which is the figure that has to be withdrawn to avoid an excise tax. Ignores: the last-month rule and its testing period, catch-up contributions, employer contributions that count toward the same limit, and earnings on the excess.
Source: Publication 969
03 What changes at 65, and what does not
Enrolling in any part of Medicare ends HSA contributions from that month. Because Part A enrolment can be backdated by up to six months for someone who claims Social Security after 65, contributions made in that retrospective window become excess after the fact β the trap set out in more detail alongside the retirement uses of an HSA.
Spending from the account is unaffected. Withdrawals for qualified medical expenses remain tax-free for life, and after 65 non-medical withdrawals are taxed as ordinary income without the additional penalty. The account keeps working; only new money is barred.
The account also has nothing to do with the contribution limits on retirement accounts, though the HSA has a catch-up of its own from 55 β and each spouse's catch-up must go into their own HSA, which requires two accounts.
The eligibility test I check first is the spouse's benefits, because that is where the disqualification hides. A general-purpose health FSA in the other household's name, never used, quietly voids a year of HSA contributions, and nobody finds out until an accountant asks the right question. If both of you have workplace benefits, read both summaries during open enrollment, not in April.
FAQ
Can I contribute to an HSA if my spouse has a family health plan?
Not if that plan covers you and pays before your own deductible. A spouse's general-purpose health FSA can also disqualify you, because it can reimburse your expenses even if it never does.
Can I contribute to an HSA after enrolling in Medicare?
No. Enrolment in any part of Medicare ends contributions from that month. You can still spend from the account tax-free for qualified medical expenses.
What happens if I contribute more than my eligible months allow?
The excess is subject to an excise tax for each year it stays in the account. Withdrawing the excess and its earnings before the return deadline corrects it.
Sources
Regulator references
- Publication 969 Β· Internal Revenue Service Β· 2026The eligibility conditions for contributing to an HSA and what a qualifying plan must be.Last verified: 2026-09-07
- Topic 451: individual retirement arrangements Β· Internal Revenue Service Β· 2026The neighbouring account whose contribution rules are frequently confused with these.Last verified: 2026-09-07
Calculator unit tests Β· the assertions this page's worked example is checked against, and their last result
Changelog
- 2026-09-07 β initial publish (new format)
Run this rule against your situation
See what this rule does to your own projection β month by month, to age 90.
Join the Waitlist