How HSA Works

How HSA Works

A health savings account is frequently called the most powerful tax-advantaged account available to Americans, yet many people who have one use it as little more than a medical debit card. Understanding how HSA works at every level — contributions, tax benefits, investing, spending, and retirement planning — can transform this account from a simple bill-paying tool into a cornerstone of your financial strategy. This article is general information, not tax advice, and the figures below are current for 2026 but can change year to year.

The HSA offers something no other account in the U.S. tax code provides: a triple tax advantage. Money goes in tax-free, grows tax-free, and comes out tax-free when used for qualified medical expenses. That combination can make it more tax-efficient than a 401(k), a Roth IRA, or any other savings vehicle — though it only stays that way if you follow the rules on eligibility and qualified expenses.

Eligibility Requirements

To open and contribute to an HSA, you must meet four requirements set by the IRS under Section 223. First, you must be enrolled in a qualifying high-deductible health plan (HDHP). For 2026, that means a minimum deductible of $1,700 for self-only coverage or $3,400 for family coverage, with an out-of-pocket maximum that does not exceed $8,500 for self-only or $17,000 for family coverage. (For reference, the 2025 minimum deductibles were $1,650 and $3,300.)

Stay ahead in healthcareThe latest happenings in the medical field — free, about monthly, no spam.

Second, you cannot be enrolled in other health coverage that is not an HDHP (with limited exceptions for specific types of coverage such as certain dental, vision, disability, and specific-disease coverage). Third, you cannot be enrolled in Medicare. Fourth, you cannot be claimed as a dependent on someone else’s tax return. If you meet all four criteria, you can open an HSA through your employer’s benefits program or independently through an HSA provider such as Fidelity, Lively, or HealthEquity. One common trap: enrolling in any part of Medicare (including Part A when you claim Social Security) ends your ability to make new HSA contributions, so plan the timing carefully.

The Triple Tax Advantage

The first tax benefit is the contribution deduction. HSA contributions made through payroll are excluded from federal income tax, state income tax (in most states), Social Security tax, and Medicare tax. Direct contributions you make outside payroll are deductible on your federal tax return, saving on income tax though not on payroll (FICA) taxes. A handful of states do not follow the federal treatment for state income tax, so check your state’s rules.

The second benefit is tax-free growth. Any interest, dividends, or capital gains earned within your HSA are completely tax-free, no matter how large the account becomes. The third benefit is tax-free withdrawals for qualified medical expenses at any age. The combination of all three means your healthcare dollars are never taxed at any stage — not going in, not growing, and not coming out — as long as withdrawals go toward qualified expenses.

Contribution Limits and Rules

For 2026, the annual contribution limits are $4,400 for self-only HDHP coverage and $8,750 for family HDHP coverage. If you are 55 or older, you can add a $1,000 catch-up contribution (and spouses who are each 55+ can each make a catch-up contribution, but only into their own HSA). These limits include both your contributions and any employer contributions. Unlike FSAs, you can change your contribution amount at any time during the year. (For reference, the 2025 limits were $4,300 and $8,550.)

You have until the federal tax filing deadline (typically April 15 of the following year) to make HSA contributions for the prior tax year. This means you can make a lump-sum contribution in early April and have it count toward the previous year’s limit if you have not already maxed out. Employer contributions are made throughout the year via payroll but must also stay within the annual limit. If you contribute more than allowed, the IRS applies an excise tax on the excess until it is corrected, so it is worth tracking employer contributions against the cap.

Investing Your HSA

Once your cash balance exceeds your HSA provider’s investment threshold (often around $1,000 to $2,000, though some providers now allow investing from the first dollar), you can invest in mutual funds, index funds, and other securities. Not all HSA providers offer the same investment options or fees, so compare providers if investment access matters to you. Fidelity, for example, offers a wide range of low- and no-fee index funds for HSA investing.

A sensible approach is to keep enough cash in your HSA to cover your annual deductible for emergencies, and invest everything above that for long-term growth. If your deductible is $3,000, you might keep roughly $3,000 in cash and invest the rest. Over 20 to 30 years, invested HSA funds can grow substantially — for example, $4,400 contributed annually for 25 years at a hypothetical 7% return would grow to well over $270,000, available tax-free for medical expenses. That figure is a simple illustration, not a guarantee; actual returns vary and investments can lose value.

Spending Your HSA

You can spend HSA funds on any qualified medical expense under IRS Section 213(d), as described in IRS Publication 502. This includes doctor visits, hospital stays, prescriptions, many over-the-counter medications and menstrual products (expanded under the CARES Act), dental care, vision care, mental health services, medical devices, and much more. Expenses for your spouse and tax dependents also qualify, even if they are not covered by your HDHP. A few notable items generally do not qualify — for instance, most cosmetic procedures and general health items — so check Publication 502 or confirm with your administrator when unsure.

Use your HSA debit card directly at providers and pharmacies, or pay out of pocket and reimburse yourself from your HSA later. There is no federal deadline to reimburse yourself, so you can pay out of pocket now, save the itemized receipts, and claim the reimbursement years later — provided the expense occurred after you opened the HSA and was not otherwise reimbursed or deducted. This no-deadline rule is the foundation of the HSA’s most powerful long-term strategy, but it only works if you keep good records.

HSA in Retirement

After age 65, your HSA gains additional flexibility. Withdrawals for qualified medical expenses remain tax-free, as always. Withdrawals for non-medical expenses are taxed as ordinary income, but the 20% additional tax no longer applies. This makes the HSA function much like a traditional IRA for non-medical spending after 65, while keeping its tax-free edge for healthcare costs.

Medicare premiums for Part B, Part D, and Medicare Advantage (Part C) can generally be paid tax-free from your HSA; however, Medigap (Medicare supplement) premiums are not a qualified HSA expense. Long-term care insurance premiums qualify up to IRS age-adjusted limits. Since healthcare is often one of the largest expense categories in retirement, a well-funded HSA can cover a meaningful portion of those costs with no tax impact.

A Note on Non-Qualified Withdrawals

If you take money out of your HSA before age 65 for something that is not a qualified medical expense, the amount is included in your taxable income and subject to an additional 20% tax, per IRS Publication 969. There are limited exceptions (for example, distributions made after death, disability, or reaching age 65). Because the penalty is steep, it is usually best to leave HSA funds invested and pay small current expenses out of pocket if you can afford to.

HSA vs FSA

If you are deciding between an HSA and an FSA, the key differences are rollover (HSA funds never expire; FSA funds generally do), portability (HSAs stay with you; FSAs are tied to your employer), investment options (HSAs can be invested; FSAs cannot), and health plan requirements (HSAs require an HDHP; FSAs work with any plan). A limited-purpose FSA can even be paired with an HSA to cover dental and vision. For a side-by-side comparison, see our guide on FSA vs HSA.

Frequently Asked Questions

What happens to my HSA if I leave my job?

Your HSA stays with you. The account is individually owned and does not end with employment. You keep the full balance, can continue spending on qualified expenses, and can continue investing. You just cannot make new contributions unless you are covered by an HSA-eligible health plan and meet the other eligibility rules.

Can I lose money in my HSA?

Cash held in your HSA is generally safe and often FDIC-insured. Invested portions are subject to market risk, just like any investment account. If you invest in stock funds and the market declines, your balance can decrease. Keeping an adequate cash buffer for near-term medical expenses helps you avoid selling investments at a bad time.

Is it better to save or spend my HSA?

If you can afford to pay medical expenses out of pocket, saving and investing your HSA generally provides more long-term value because of tax-free growth and flexible reimbursement. However, if you need the money for current medical costs, that is exactly what the account is for — use it without guilt.

Can I transfer my HSA to a different provider?

Yes. You can transfer or roll over your HSA to any qualified HSA provider. Trustee-to-trustee transfers are unlimited and do not count as distributions. Indirect rollovers (where you withdraw and redeposit within 60 days) are generally limited to one per 12-month period. Compare providers for investment options, fees, and features before transferring.

Can my spouse and I have separate HSAs?

Yes. HSAs are individually owned, so each eligible spouse can have their own. The family contribution limit is shared across a married couple’s family coverage, but each spouse who is 55 or older can make the $1,000 catch-up contribution only into their own account.

The Bottom Line

Understanding how HSA works means seeing it as more than a medical spending card. It is a tax-free savings vehicle, an investment account, and a retirement planning tool all in one. Contribute what you can afford up to the limit, invest for growth, minimize current withdrawals when possible, and let the triple tax advantage compound over decades. Whether you use it for today’s prescriptions or tomorrow’s retirement healthcare costs, the HSA is one of the most valuable financial tools available through your healthcare benefits.

Tax disclaimer: This article is general information, not tax or legal advice, and the rules and dollar limits can change and may vary by plan and by state. HSA eligibility, qualified expenses, and contribution limits are governed by IRS rules (see Publication 969 and Publication 502) and by how your plan administrator applies them. Verify the current figures and your own situation with a qualified tax professional before relying on a contribution, distribution, or deduction.

Sources

  • IRS Publication 969 — Health Savings Accounts and Other Tax-Favored Health Plans (contribution limits, HDHP amounts, 20% additional tax): irs.gov/publications/p969
  • IRS Publication 502 — Medical and Dental Expenses (qualified expenses): irs.gov/publications/p502
  • IRS — inflation-adjusted HSA and HDHP amounts for 2026 (annual Revenue Procedure): irs.gov