← Back to Countries
πŸ‡ΊπŸ‡Έ United States  Β·  6 min read  Β·  Published 2026-09-07  Β·  Updated 2026-09-07
Sources last verified: 2026-09-07

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.

60-SECOND ANSWER
To contribute to an HSA you must be covered by a qualifying high-deductible health plan, have no other disqualifying health coverage, not be enrolled in Medicare, and not be claimed as a dependent on someone else's return. Eligibility is tested monthly and the annual limit prorates accordingly.

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:

β†’ Check a contribution against the months you qualified

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.

WORKED EXAMPLE β€” Try the numbers

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.

Excess contribution to correct
$1,833
7 months of eligibility allows $2,567. Contributing $4,400 leaves $1,833 in excess, which has to come back out.

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.

Source: Topic 451: individual retirement arrangements

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.

β€” Jordan Reeves, founder

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

Calculator unit tests Β· the assertions this page's worked example is checked against, and their last result

Changelog

Run this rule against your situation

See what this rule does to your own projection β€” month by month, to age 90.

Join the Waitlist
Jordan Reeves

Jordan Reeves

Founder of Talk Through Wealth. A software engineer for over a decade before turning to retirement planning, Jordan built the projection engine after watching family members get fragmented, country-by-country advice that never reconciled. He writes about retirement the way the engine computes it: month-by-month, lifetime-long, and skeptical of any rule of thumb that hasn't been run through the math.

More from Jordan β†’ Β· LinkedIn

Disclaimer: General information for US residents, not personal financial advice. Figures use 2026 IRS rules and assumptions you can change in the worked example. Your situation may vary β€” consider speaking with a licensed financial adviser before acting.