How to Use a Health Savings Account to Save on Taxes

A Health Savings Account is one of the most tax-efficient accounts available in the US financial system, and it is consistently underused by the people who qualify for it. The triple tax advantage it offers …

A Health Savings Account is one of the most tax-efficient accounts available in the US financial system, and it is consistently underused by the people who qualify for it. The triple tax advantage it offers — deductible contributions, tax-free growth, and tax-free withdrawals for qualified expenses — exists nowhere else in the tax code. Understanding how it works and how to use it strategically can save thousands of dollars over a lifetime.

HSA Triple Tax Advantage
1
Contributions are tax-deductible
Every dollar you put in reduces your taxable income — just like a traditional 401k
2
Growth is tax-free
Invest HSA funds in index funds and all gains, dividends, and interest accumulate without tax
3
Withdrawals for medical expenses are tax-free
Pay qualified healthcare costs at any point — even decades later — without any tax on withdrawal

Who Can Open an HSA

To contribute to an HSA you must be enrolled in a High Deductible Health Plan — an HDHP. For 2025, an HDHP is defined as a plan with a minimum deductible of $1,650 for individual coverage or $3,300 for family coverage. Not all employer-sponsored health plans qualify. You can check with your HR department or review your plan documents to confirm whether your current plan is HSA-eligible. You cannot contribute to an HSA if you are enrolled in Medicare, are claimed as a dependent on someone else’s tax return, or have other health coverage that disqualifies you.

If you are self-employed or purchase insurance through the marketplace, HSA-eligible plans are available and clearly labelled. The contribution limits for 2025 are $4,300 for individual coverage and $8,550 for family coverage, with an additional $1,000 catch-up contribution allowed if you are 55 or older. These are among the most generous tax-advantaged contribution limits available relative to account size.

The Basic Strategy: Pay Now, Reimburse Later

Most people use an HSA by contributing money and then immediately withdrawing it to pay current medical expenses. That works and is perfectly valid. But the more tax-efficient strategy for people who can afford it is to pay current medical expenses out of pocket, let the HSA balance grow invested, and reimburse yourself years or decades later. The IRS does not impose a time limit on HSA reimbursements — you can pay a $400 medical bill today in cash, keep the receipt, and withdraw $400 from your HSA in twenty years tax-free.

This strategy turns the HSA into a stealth retirement account. Every dollar contributed reduces taxable income today. That dollar then grows in index funds tax-free for decades. When you eventually reimburse yourself for the accumulated medical expenses you paid out of pocket over the years, the withdrawal — including all the growth — is completely tax-free. No other account in the US tax code offers this combination. Done over a working career, the tax savings are substantial.

Investing Your HSA Balance

Most people hold their HSA balance in cash, which is the default at most HSA providers. Cash in an HSA earns minimal interest and does not benefit from the tax-free growth advantage — that advantage only materialises when the balance is invested. The first step is checking whether your HSA provider offers investment options and what the minimum balance requirement is before investing (many providers require $1,000 to $2,000 in cash before allowing investments).

Fidelity offers an HSA with no minimum balance requirement for investing and access to low-cost index funds — making it the most commonly recommended provider for people optimising the account. If your employer deposits into an HSA at a different provider, you can transfer or roll over the balance to Fidelity once per year without tax consequences. Once the balance is invested in index funds, the HSA begins functioning as the tax-efficient long-term account it is designed to be.

What Counts as a Qualified Medical Expense

Qualified medical expenses for HSA purposes are defined broadly under IRS Publication 502 and include most healthcare costs: doctor visits, prescriptions, dental care, vision care, mental health services, chiropractic care, and many others. They do not include health insurance premiums (with some exceptions), cosmetic procedures, or over-the-counter items that are not prescribed. Since 2020, over-the-counter medications and menstrual care products are qualified expenses without a prescription, which expanded the eligible category meaningfully.

For the delayed reimbursement strategy to work, you need to keep receipts for every qualified medical expense paid out of pocket. Digital copies stored in a cloud folder work fine — there is no requirement to submit receipts to the IRS unless audited, but you need documentation to support any withdrawal if questioned. Starting a simple folder of medical receipts as soon as you open an HSA takes minimal effort and creates the record you will need to make tax-free withdrawals years later.

HSA After 65: The IRA Equivalent

After age 65, an HSA changes its withdrawal rules in a significant way: withdrawals for non-medical expenses are allowed without the 20 percent penalty that applies before 65, though they are taxed as ordinary income — exactly like a traditional IRA. This means that at 65, an HSA effectively converts into a traditional IRA for non-medical withdrawals while retaining the tax-free status for medical withdrawals. Given that healthcare costs in retirement are typically substantial — estimates suggest the average retired couple needs $300,000 or more for healthcare expenses — a well-funded HSA can cover most or all of those costs tax-free while functioning as supplemental retirement income for anything beyond healthcare.

This dual functionality makes the HSA uniquely valuable in a retirement planning context. It is the only account that offers tax-free treatment for both contributions and a specific category of withdrawals while also functioning as a general retirement account after a certain age. Prioritising HSA contributions — after capturing the full 401k employer match — before adding to other retirement accounts is a standard recommendation among tax-efficient financial planners for this reason.

Common HSA Mistakes to Avoid

The most common mistake is using the HSA as a simple medical expense reimbursement account rather than an investment vehicle — which squanders the growth advantage. The second is leaving the balance in cash rather than investing it, which produces minimal return and misses the compound growth that makes the account exceptional over time. The third is failing to keep receipts for out-of-pocket medical expenses, which forecloses the delayed reimbursement strategy. The fourth is contributing to an HSA while ineligible — for example, while also enrolled in a spouse’s non-HDHP plan — which creates a tax penalty.

The HSA is genuinely one of the best accounts available in the US tax system, and its advantages are largely unknown or underutilised by the majority of eligible account holders. If you have access to an HSA-eligible health plan, opening and maximising an HSA is among the highest-return financial decisions available — particularly for people who are healthy, can cover current medical costs out of pocket, and have decades for the invested balance to compound before needing it.

HSA vs FSA: What Is the Difference

A Flexible Spending Account is the other common tax-advantaged healthcare account, and the two are frequently confused. The key differences: an FSA does not require an HDHP to qualify, has a use-it-or-lose-it rule (up to $640 can roll over in 2025 but the rest must be spent by year end), and cannot be invested — it is a cash account only. The HSA has no expiration on funds, can be invested and grown indefinitely, and is portable if you change employers. For someone who qualifies for both by virtue of having an HDHP, the HSA is almost always the superior vehicle because of the rollover and investment features. The FSA makes sense primarily for people who have predictable healthcare costs and do not qualify for an HSA.

How Much to Contribute

The optimal HSA contribution strategy depends on your healthcare situation and other financial priorities. If you can afford to pay current medical costs out of pocket and invest the HSA balance, contributing the maximum each year — $4,300 for individual or $8,550 for family coverage in 2025 — and investing the full balance produces the maximum long-term tax benefit. If paying current medical costs out of pocket is difficult, contributing at least enough to cover your expected annual medical expenses provides the tax deduction benefit while keeping the account funded for current needs. The HSA contribution should be prioritised after the 401k employer match but before additional 401k contributions beyond the match, placing it second in the standard investment priority order for eligible account holders.