In this guide
A health savings account lets people with a qualifying high-deductible health plan set money aside for medical costs. Contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. You keep the money year after year, and after 65 you can withdraw it for any reason, paying only regular income tax on non-medical withdrawals.
Key takeaways
- 2026 limits: $4,400 self-only and $8,750 family, plus $1,000 if you are 55 or older.
- 2027 limits: $4,500 self-only and $9,000 family.
- Starting in 2026, bronze and catastrophic marketplace plans count as HSA-qualified.
- Unused money rolls over every year and stays with you if you change jobs.
- You cannot contribute once you are enrolled in any part of Medicare.
What is a health savings account?
An HSA is a personal savings account for health care that you own, not your employer. You fund it with pre-tax payroll deductions or tax-deductible contributions, and you can invest the balance once it passes a minimum set by the provider. Unlike a flexible spending account, there is no use-it-or-lose-it rule.
Who can contribute to an HSA?
You must be covered by a high-deductible health plan, have no other disqualifying health coverage, not be enrolled in Medicare and not be claimed as someone else’s dependent. For 2026 an HDHP must have a deductible of at least $1,700 for self-only coverage or $3,400 for family coverage. Starting in 2026, bronze and catastrophic plans bought on an ACA exchange also count, and people in direct primary care arrangements costing up to $150 a month for one person or $300 for a family can still contribute. Telehealth services no longer affect eligibility.
HSA contribution limits for 2026 and 2027
For 2026 you can contribute up to $4,400 with self-only coverage or $8,750 with family coverage. For 2027 the limits rise to $4,500 and $9,000. If you are 55 or older, you can add a $1,000 catch-up contribution. Employer contributions count toward the limit. You have until the tax filing deadline to make contributions for the prior year.
The triple tax advantage
HSAs are the only account with three tax breaks: contributions reduce taxable income (and, through payroll, can avoid Social Security and Medicare tax), growth is not taxed, and withdrawals for qualified medical expenses are tax-free. Most states follow the federal treatment, but a few, such as California and New Jersey, tax HSA contributions or growth.
Using an HSA as a retirement account
Many people pay current medical bills from regular savings and let the HSA stay invested for decades. You can reimburse yourself later for any qualified expense incurred after the account was opened, as long as you keep the receipts. After 65, withdrawals for non-medical purposes are taxed as income but avoid the 20% penalty, so the HSA works like a traditional IRA, with the bonus of tax-free withdrawals for health costs. HSA money can pay Medicare Part B, Part D and Medicare Advantage premiums, but not Medigap premiums.
A licensed advisor can help you fit your HSA into your tax and retirement plan.
Rules to watch
- Non-medical withdrawals before 65 are taxed and face a 20% penalty.
- Stop contributing when you enroll in Medicare. Part A can be backdated up to six months, so many people stop contributions six months before enrolling.
- If your spouse inherits your HSA, it remains an HSA. Other beneficiaries must take it as taxable income.
- Compare provider fees and investment options; you can move your HSA to a different provider.
Frequently asked questions
What happens to my HSA if I change jobs?
It stays with you. The account is yours, and you can keep using it or move it to another provider.
Can I have an HSA and an FSA?
Generally only a limited-purpose FSA that covers dental and vision. A general-purpose FSA usually makes you ineligible for HSA contributions.
What counts as a qualified medical expense?
Most medical, dental and vision costs, prescriptions, many over-the-counter medicines and menstrual products, and certain insurance premiums such as Medicare and COBRA. IRS Publication 502 has the full list.
Can I invest my HSA?
Yes. Many providers let you invest in mutual funds or ETFs once your cash balance reaches a set level.
Can I contribute to an HSA after 65?
Only if you are not enrolled in any part of Medicare. Once you enroll, contributions must stop, but you can keep using the account.
Related guides

Medicare
When to enroll, what each part covers, and how to avoid lifelong penalties.
Read the guide →
Tax Planning
Account choices and timing ideas that can lower the tax you pay over time.
Read the guide →
Budgeting and Saving
Simple budgeting methods and how to build a cash cushion for surprises.
Read the guide →Run your numbers
See how invested HSA contributions could grow over the years. Use our free Compound Interest Calculator, or try the Retirement Calculator.
Sources and further reading
Figures and rules in this guide come from these official sources. Limits change most years, so check the source for the current number before you act.
- IRS Publication 969: Health savings accounts
- IRS Publication 502: Medical and dental expenses
- IRS: One, Big, Beautiful Bill provisions
- Medicare.gov
See our editorial standards for how we write and review guides.
Find a financial planner near you
Talk with a licensed advisor by phone or video call. Popular cities:
Want help with your HSA strategy?
Talk it through with a licensed financial advisor, by phone or video call. Free and with no obligation.
Latest money guides and ideas
- Qualified Charitable Distribution Rules for 2026 and 2027Qualified charitable distribution rules let IRA owners aged 70 and a half or older give up to $111,000 in 2026 and $114,000 in 2027 to charity without counting it as income.
- Medicare Enrollment Periods and Late Penalties for 2027Medicare enrollment periods control when you can sign up and when coverage starts. Miss yours and Part B and Part D penalties can last for life. See the dates and 2027 costs.
- TSP Rollover to IRA: Should You Move Your TSP or Stay?A TSP rollover to an IRA is optional after you leave federal service. Compare costs, the G Fund, early access at 55 and withdrawal rules, then see how to move the money.
- Rollover IRA: How to Move an Old 401(k) Step by StepA rollover IRA holds money moved from an old 401(k). See your four options when you leave a job, how a direct rollover avoids tax, and the steps to move the account.
- Claiming Age Clarity Act: Social Security’s New Age TermsThe Claiming Age Clarity Act replaces full retirement age with standard monthly benefit age and renames ages 62 and 70. Your benefit amount and claiming rules do not change.
- States With Inheritance Tax: Rates and Who Pays in 2026Five states with inheritance tax remain: Kentucky, Maryland, Nebraska, New Jersey and Pennsylvania. See each state’s rates, who is exempt and worked examples.
- Treasury Bills: How to Buy T-Bills and How They Are TaxedTreasury bills are short-term U.S. government debt sold at a discount. Learn how T-bills pay interest, two ways to buy them, and how the interest is taxed.
- Is Long-Term Care Insurance Worth It? Cost and CoverageIs long-term care insurance worth it? See what a policy covers, what drives the premium, when to buy, who should skip it and the 2027 tax limits.
- Mega Backdoor Roth: How It Works and 2027 LimitsA mega backdoor Roth moves after-tax 401(k) contributions into a Roth account. See the 2027 limits, what your plan has to allow, worked examples and the steps.










