How HSA Works

·

A health savings account is frequently called the most powerful tax-advantaged account available to Americans, yet most people who have one use it as nothing 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.

The HSA offers something no other account in the US 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 makes it arguably more tax-efficient than a 401(k), Roth IRA, or any other savings vehicle.

Eligibility Requirements

To open and contribute to an HSA, you must meet four requirements set by the IRS under Section 223. You must be enrolled in a qualifying high-deductible health plan (HDHP) with a minimum deductible of $1,650 for individual coverage or $3,300 for family coverage in 2025. Your maximum out-of-pocket limit cannot exceed $8,300 for individual or $16,600 for family coverage.

You cannot be enrolled in other health coverage that is not an HDHP (with limited exceptions for dental, vision, and specific-disease coverage). You cannot be enrolled in Medicare. 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 like Fidelity, Lively, or HealthEquity.

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 taxes.

The second benefit is tax-free growth. Any interest, dividends, or capital gains earned within your HSA are completely tax-free. You never pay taxes on the growth, regardless of how large your 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.

Contribution Limits and Rules

For 2025, the annual contribution limits are $4,300 for individual HDHP coverage and $8,550 for family HDHP coverage. If you are 55 or older, you can add a $1,000 catch-up contribution. These limits include both your contributions and any employer contributions. Unlike FSAs, you can change your contribution amount at any time during the year.

You have until the tax filing deadline (typically April 15 of the following year) to make HSA contributions for the previous tax year. This means you can make a lump-sum contribution in early April and have it count toward the prior year’s limit if you have not maxed out. Employer contributions are made throughout the year via payroll but must also stay within the annual limit.

Investing Your HSA

Once your cash balance exceeds your HSA provider’s investment threshold (typically $1,000 to $2,000), you can invest in mutual funds, index funds, and other securities. Not all HSA providers offer the same investment options, so compare providers if investment access matters to you. Fidelity, for example, offers a wide range of no-fee index funds for HSA investments.

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, maintain $3,000 in cash and invest the rest. Over 20 to 30 years, invested HSA funds can grow substantially — $4,300 contributed annually for 25 years at 7% growth produces over $270,000, all available tax-free for medical expenses.

Spending Your HSA

You can spend HSA funds on any qualified medical expense under IRS Section 213(d). This includes doctor visits, hospital stays, prescriptions, OTC medications (post-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 on your HDHP.

Use your HSA debit card directly at providers and pharmacies, or pay out of pocket and reimburse yourself from your HSA at any time. The no-deadline reimbursement rule means you can accumulate receipts for years and claim them whenever you need the cash. This flexibility is the foundation of the HSA’s most powerful investment strategy.

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% early distribution penalty no longer applies. This makes the HSA function like a traditional IRA for non-medical spending after 65.

Medicare premiums for Parts B, C (Medicare Advantage), and D can be paid tax-free from your HSA. Long-term care insurance premiums qualify up to IRS age-adjusted limits. All out-of-pocket medical costs in retirement are HSA-eligible. Given that healthcare is typically the largest expense category in retirement, a well-funded HSA can cover a significant portion of these costs with zero tax impact.

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 need an HDHP, FSAs work with any plan). 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 have another HSA-eligible health plan.

Can I lose money in my HSA?

Cash held in your HSA is safe and often FDIC-insured. Invested portions of your HSA are subject to market risk, just like any investment account. If you invest in stock funds and the market declines, your balance can decrease. This is why keeping an adequate cash buffer for near-term medical expenses is important.

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 provides more long-term value. The tax-free growth and flexible reimbursement rules mean your HSA compounds more effectively when left invested. 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 limited to one per 12-month period. Compare providers for investment options, fees, and features before transferring.

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 the maximum you can afford, 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 you have access to through your healthcare benefits.

Medical Disclaimer: The information in this article is for educational purposes only and is not intended as medical advice. Always consult with a qualified healthcare professional before making any health-related decisions.

Related Articles