The Money Overview

A health savings account is taxed nowhere — not going in, not while it grows, and not coming out for medical bills

Workers enrolled in high-deductible health plans can shelter money from federal income tax at three separate stages through a single account, a benefit no 401(k) or Roth IRA can match on its own. Under 26 U.S.C. Section 223, health savings account contributions reduce taxable income on the way in, investment gains inside the account are never taxed year to year, and withdrawals spent on qualified medical bills escape taxation entirely. With the IRS publishing new, higher contribution ceilings for 2026, the practical value of that triple shelter is growing for anyone who can fund it.

How the 2026 HSA limits raise the stakes for tax-free growth

The IRS set 2026 HSA contribution limits through a revenue procedure in Internal Revenue Bulletin 2025-21. That guidance also adjusts the minimum deductible and maximum out-of-pocket thresholds for qualifying high-deductible health plans. Each annual increase in the cap means account holders can push more pre-tax dollars into an account where gains compound without triggering capital-gains or dividend taxes.

The structural advantage is straightforward. A dollar deposited into a taxable brokerage account has already been taxed as income. Any dividends or realized gains along the way face additional levies. A dollar placed in an HSA, by contrast, reduces the account holder’s adjusted gross income on entry, grows free of annual tax drag, and leaves the account tax-free when applied to eligible medical costs. Over a decade of maximum contributions, that difference in tax treatment compounds significantly, because every dollar that would have gone to taxes stays invested and earning returns.

The Congressional Research Service has noted that qualified distributions remain tax-free even after an account holder is no longer covered by a high-deductible plan. That detail matters for retirees or workers who switch to traditional insurance: the money already inside the HSA retains its full tax shelter regardless of future coverage choices. In practice, that allows savers to treat the account as a long-term medical nest egg, building up balances during working years and drawing them down tax-free in retirement as health costs rise.

Statute, IRS guidance, and the investment angle

The legal backbone is the HSA statute, which establishes both the above-the-line deduction for eligible contributions and the exclusion from gross income for qualified medical distributions. The statute also defines the penalty structure: non-qualified withdrawals face ordinary income tax plus an additional 20 percent tax for account holders under age 65. After that age, the extra 20 percent tax no longer applies, but withdrawals used for non-medical purposes are still treated as taxable income.

What counts as a qualified medical expense is governed by IRC Section 213(d), and the IRS spells out the practical list in its medical expense publication. Eligible costs range from doctor visits and prescription drugs to some medical equipment, dental and vision care, and certain long-term care premiums, giving account holders a wide runway for tax-free spending. Because the list is detailed and sometimes counterintuitive, taxpayers who want to preserve the HSA’s tax-free status need to keep receipts and match withdrawals carefully to covered expenses.

The investment dimension adds another layer. Many HSA custodians allow participants to invest a portion of their balance in mutual funds, exchange-traded funds, or other securities once a minimum cash threshold is met. Inside the account, all dividends, interest, and realized gains accumulate without current taxation, similar to the treatment inside a traditional IRA. For long-term savers who can afford to pay current medical bills out of pocket and leave HSA contributions untouched, this structure effectively turns the account into a stealth retirement vehicle earmarked for health costs.

That strategy depends heavily on the rising contribution ceilings. As the 2026 limits move higher, a household with family coverage can shift more of its annual savings into the HSA before considering other tax-advantaged options. Over time, consistent maxing out at the new thresholds can produce a sizable balance, especially if invested in a diversified portfolio rather than left entirely in cash. Because future qualified withdrawals for premiums, out-of-pocket costs, or Medicare-related expenses are tax-free, every extra dollar contributed under the higher cap represents additional future spending power that will never be reduced by federal income tax.

There are trade-offs. To be eligible, workers must enroll in a high-deductible health plan that meets the statutory minimum deductible and maximum out-of-pocket rules referenced in the IRS revenue procedure. For some, the higher upfront exposure to medical bills will outweigh the tax advantages, particularly in years of heavy medical use. Others may find that employer contributions, lower premiums, and the long-term tax benefits together justify accepting the higher deductible. Evaluating the 2026 limits therefore means looking not just at the headline contribution numbers, but at how the underlying health coverage fits a household’s expected care needs and risk tolerance.

Still, for those who can manage the cash flow, the combination of rising limits, broad qualifying expenses, and permanent tax-free treatment of medical withdrawals makes HSAs uniquely powerful. With the statutory framework and IRS guidance now setting the stage for 2026, the opportunity is clear: use the expanded room to pre-fund future health costs in a vehicle that, when used as intended, can avoid federal income tax at every step.

Avatar photo

Daniel Harper

Daniel is a finance writer covering personal finance topics including budgeting, credit, and beginner investing. He began his career contributing to his Substack, where he covered consumer finance trends and practical money topics for everyday readers. Since then, he has written for a range of personal finance blogs and fintech platforms, focusing on clear, straightforward content that helps readers make more informed financial decisions.​


More in Insurance & Protection