Most people have heard that a health savings account (HSA) is tax-advantaged, but far fewer can explain what that means or how it affects their paycheck or healthcare spending. Understanding how the tax benefits work can help you decide how much to contribute and how to use the account.
You can contribute to an HSA only if you are covered by a qualifying high deductible health plan (HDHP). These plans typically have lower premiums and higher out-of-pocket costs, and the HSA helps offset that difference.
What makes an HSA especially valuable is its triple tax advantage. Your money can be tax-free at three key stages: when you contribute it, while it grows, and when you spend it on qualified healthcare expenses. Few other accounts offer tax savings at every stage.
This article walks through each of those stages, shows how they appear in your paycheck, and explains how investing fits into the picture.
Advantage #1: Money goes in before it is taxed
Most people pay income tax on every dollar they earn, with the exception of write-offs, deductions, or tax-advantaged accounts. HSA contributions work differently, and how you contribute determines when you receive the tax break.
If your employer deducts HSA contributions from your paycheck, those dollars are not subject to federal income tax when contributed, much like a traditional 401(k). Because the break is applied up front, you do not claim a deduction on your tax return later. If you instead fund the account on your own with after-tax dollars, the contributions are deductible on your tax return, and you do not need to itemize to claim the deduction.
Contributions made through payroll are also not subject to Social Security or Medicare taxes, which a 401(k) does not offer. If you contribute on your own, you pay those payroll taxes before the money goes in. Employer contributions are excluded from your taxable income as well, although they are reported on your W-2.
What this looks like in your paycheck
Let’s say you contribute $4,400 (the 2026 maximum for self-only coverage) to your HSA through payroll over the course of a year, and you are in the 22% federal tax bracket. (This is just an example. Your own tax bracket and state rules may be different.) Because that money is taken out of your pay before taxes are calculated, you avoid federal income tax on it, which at a 22% rate saves you about $968. You also do not pay Social Security and Medicare taxes on those dollars, which adds up to another $337 or so. Together, that is roughly $1,300 in tax savings for the year.
Here is how that might feel in your paycheck. If you are paid every two weeks, a $4,400 yearly contribution comes to about $169 per paycheck. Because you are not taxed on that amount, your take-home pay goes down by only about $119, not the full $169. The difference is money that would have gone to taxes anyway. In other words, about 30 cents of every dollar you put into your HSA is money you would have otherwise paid in taxes.
Advantage #2: The money grows without being taxed
Once the money is in your HSA, funds are not taxed while they remain in the account. In a typical brokerage account, dividends, interest, and capital gains can create a tax bill along the way. Inside an HSA, they do not.
This is where investing comes in. Many providers allow account holders to invest once the balance reaches a certain minimum. Available options may include stocks, bonds, exchange-traded funds, and mutual funds, depending on the provider. As with a 401(k), you typically choose from a predetermined menu. If you are not satisfied with the options or fees, some providers offer a linked health savings brokerage account with a wider selection.
Investing is not required, and it may not be right for every dollar. One common approach is to keep enough in cash or other low-volatility holdings to cover your deductible and near-term medical expenses and invest the rest based on your risk tolerance and time horizon. Keep in mind that investing involves risk, including the possible loss of principal.
How an HSA differs from an FSA
A flexible spending account (FSA) is often confused with an HSA because both let you set aside pre-tax money for healthcare costs. The two accounts work quite differently, though, and those differences are a big part of why the HSA can do more over time.
The biggest difference is who owns the account. An FSA belongs to your employer, so if you leave your job, you generally forfeit any remaining balance. An HSA belongs to you. It stays with you if you change jobs, switch health plans, or retire.
The accounts also treat unused money differently. FSAs are known for a “use it or lose it” rule, meaning funds not spent by the end of the plan year are generally forfeited. Some employers allow a limited carryover, up to $680 in 2026, or a short grace period instead, but they are not required to offer either. By contrast, unused HSA funds carry over in full from year to year, with no deadline for spending them. Because the account belongs to you, any growth has the potential to compound for decades.
Finally, an FSA has no growth stage. Contributions go in pre-tax and come out tax-free for eligible expenses, but there is generally no way to invest the balance. That is why the HSA is the one with a true triple tax advantage.
Advantage #3: The money comes out tax-free
Withdrawals used for qualified medical expenses are tax-free and can be made at any time without penalty. Qualified expenses for you, your spouse, and your tax dependents include doctor visits, prescriptions, dental and vision care, and over-the-counter medications.
Because the money goes in untaxed, grows untaxed, and comes out untaxed, an HSA is one of the few accounts that avoid tax at every stage. A traditional 401(k) taxes the money you take out. A Roth IRA taxes the money you put in. An HSA does neither, as long as the funds go toward healthcare.
What happens if you use the money for something else?
The rules depend on your age. Before age 65, withdrawals for nonmedical expenses are taxed as ordinary income and carry an additional 20% penalty. Beginning at age 65, you can spend the money on anything without a penalty, though nonmedical withdrawals are taxed as ordinary income, like withdrawals from a traditional IRA or 401(k).
HSAs also have no required minimum distributions, so you can leave the money in the account for as long as you like. After 65, an HSA can function much like a retirement account, with the added advantage of tax-free withdrawals for healthcare costs.
Some account holders pay current medical bills out of pocket and leave their HSA invested. Those expenses can be reimbursed from the HSA later, with no deadline, as long as the expense occurred after the account was opened and was not already deducted or reimbursed elsewhere. Keep your receipts in case of an IRS audit.
Conclusion
An HSA is more than a way to pay for medical bills. It’s a tool that can help you keep more of what you earn, plan for future healthcare costs, and build savings over time. Taking time to understand how its tax benefits work can help you make confident decisions about whether an HSA fits your needs and how to get the most from it.
If you are unsure whether your health plan is HSA-qualified or how to get started with an account, ask your employer. For personalized financial guidance, consult a licensed financial professional.
This Know Your Benefits article is to be used for informational purposes only and is not intended to replace the advice of an insurance professional. © 2026 Zywave, Inc. All rights reserved.

.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
%20(1).webp)