How the health savings account's triple tax advantage works, who is actually eligible to fund one, and the coverage and timing rules that decide whether a year's contributions stand.
By Samuel Ortiz, CPA, CVA · Last updated August 23, 2026
A health savings account is the only account in the code with a triple tax advantage: contributions are deductible or pretax going in, the balance grows untaxed, and withdrawals for qualified medical expenses come out untaxed as well. Funding one is allowed only for someone covered by a qualifying high deductible health plan with no disqualifying other coverage, within the annual limit the IRS publishes, and the eligibility rules are exact enough that the strategy is won or lost before the first dollar goes in.
Every tax favored account in the code gives something up. Traditional retirement accounts are deductible going in but taxed coming out, Roth accounts are taxed going in and free coming out, and the health savings account alone declines to choose: contributions are deductible, or excluded from income entirely when they run through payroll, the balance grows with nothing taxed along the way, and withdrawals that pay qualified medical expenses come out untaxed at the end. Three advantages on the same dollars, in the only account the code builds that way, which is why the HSA belongs in tax planning even for households that could simply pay their medical bills from checking.
The gate is eligibility, and the gate is narrow by design. Contributions are allowed only for someone covered by a qualifying high deductible health plan, the kind Section 223 defines by its deductible and out of pocket structure, and only if no other disqualifying coverage reaches the same expenses, no general purpose health flexible spending account in the household, no Medicare enrollment, no eligibility to be claimed as a dependent. The amount is capped by an annual limit that differs for self only and family coverage, with a catch up addition past a set age, and the current figures belong to IRS Publication 969 rather than to memory, because they move with inflation and the cost of being wrong is a contribution the code never allowed.
The quietest part of the strategy is what happens after the money is in. Nothing requires an HSA to be spent, the balance rolls forward year after year with no deadline, and once invested it compounds with the same triple treatment, so the strongest version of the strategy is often the least intuitive one, paying current medical costs out of pocket, keeping the receipts, and letting the account grow toward the years when medical spending is no longer optional.
This strategy does not fail on paperwork so much as on eligibility, and the failures are specific. Contributions made in a month the account holder was not actually covered by a qualifying high deductible plan are excess contributions, taxed and penalized until corrected, and coverage changes mid year more often than people notice, a job change, a new plan at open enrollment, a move onto a spouse’s policy. Disqualifying coverage is the subtler version of the same failure, because a spouse’s general purpose health FSA covers both spouses’ medical expenses whether or not it is ever used that way, and enrollment in Medicare, which begins automatically for someone who claims Social Security, ends HSA eligibility even for a person still working and still covered by a qualifying plan.
The last-month rule adds a timing trap to the coverage traps. Becoming eligible late in the year and contributing the full annual amount is permitted, but only on the condition that eligibility holds through the end of the following year, and a plan change during that testing period recaptures the extra contributions into income with an additional tax attached, which turns a year end planning move into a two year commitment that has to be watched, not just made.
The triple advantage is the most generous treatment the code gives any account, and it is guarded by rules that are exact rather than forgiving, coverage tested month by month, other coverage checked across the household, limits read fresh each year, and the testing period honored to its last day. The value of the strategy is in confirming eligibility before contributing, not discovering it afterward, and an HSA funded on confirmed eligibility simply works, year after compounding year, exactly as designed.
Ideas do not change your tax number, implementation does, and implementation is books kept current, records made at the time rather than reconstructed later, elections filed on time, and every position reported the way the return will one day have to defend it. That is the year round work a strategy actually requires, and on the strategies we implement we stand behind that work with audit defense. Reading about a strategy is step zero. The record is what decides whether it holds.
Contributions are deductible, or excluded from income entirely when made through payroll, the account's growth from interest and investments is not taxed as it accrues, and withdrawals are tax free when they pay for qualified medical expenses. No other account in the code offers all three ends of that deal at once, which is why the HSA earns a place in tax planning well beyond its role in paying medical bills.
Someone covered by a qualifying high deductible health plan, with no other disqualifying coverage, who is not enrolled in Medicare and cannot be claimed as a dependent on anyone else's return. Disqualifying coverage is broader than people expect, and includes a general purpose health flexible spending account, even one held by a spouse, because that coverage reaches the same medical expenses the HSA is meant to fund.
Up to the annual limit, which differs for self only and family coverage and includes an additional catch up amount past a set age. The figures adjust for inflation and are published by the IRS in Publication 969, which is the place to confirm them for the current year before contributing rather than after.
Someone who becomes eligible late in the year but is eligible on the first day of its last month may contribute as if eligible for the whole year, but that generosity carries a testing period, and eligibility must then be maintained through the end of the following year. Losing eligibility during the testing period pulls the extra contributions back into income with an additional tax on top, so the rule is a loan of eligibility, not a gift.
Yes, and this is the most underused part of the strategy. The balance carries forward without any use it or lose it deadline, it can be invested once it clears the custodian's threshold, and qualified medical withdrawals remain tax free whenever they happen. A household that pays current medical costs out of pocket and lets the account compound is running a retirement adjacent account with better tax treatment than the retirement accounts themselves.
The strategies on this page are general, and your return is not. A Tax Position Review looks at your real numbers and gives you a written Snapshot of where you stand, the findings worth acting on, and what each one depends on.
See whether your HSA setup qualifies →