What is an HSA and how does it work?
Last updated: 11/23/2026
A health savings account (HSA) lets you set aside pre-tax money for medical costs. The money is yours to keep from year to year, even if you change jobs or health plans.
An HSA must be paired with a specific kind of health plan. HealthCare.gov calls these “HSA-eligible plans” or “high-deductible health plans” (HDHPs). These plans may have lower monthly premiums, and often have higher deductibles. You can use the HSA to pay your deductible, copayments and coinsurance.
Key facts about HSAs
- An HSA is a savings account for IRS-qualified medical expenses. You own the account and the money in it.
- You need an HSA-eligible health plan to contribute into an HSA.
- Contributions, earnings, and withdrawals for qualified medical expenses are generally free of federal income tax.
- Unused money carries over every year. An HSA is not a “use it or lose it” account.
- The account stays with you if you change employers, change health plans or retire.
What is an HSA?
The IRS defines an HSA as a tax-exempt account you set up with a qualified HSA trustee to pay or reimburse certain IRS-qualified medical expenses. Banks, credit unions, and other financial institutions offer HSAs, according to HealthCare.gov.
The account belongs to you. That is true even if you open it through your job or your employer puts money in it.
Who can open an HSA?
To contribute to an HSA, the IRS says you must meet four requirements:
- You are covered under an HSA-compatible HDHP.
- You have no other health coverage, with a few exceptions.
- You are not enrolled in Medicare.
- You cannot be claimed as a dependent on someone else’s tax return.
How does an HSA work?
- Enroll in an HSA-eligible health plan. Confirm that the plan qualifies before you sign up.
- Open the account. HealthCare.gov says you can open an HSA through a bank or credit union, and that some insurance companies partner with HSA providers. If your plan comes through work, ask your employer for more information.
- Add money. You, your employer, a family member or anyone else can contribute, up to a yearly limit set by the IRS. People age 55 and older can contribute more.
- Spend it or save it. Pay for qualified medical expenses as they come up, or leave the money in the account for later.
What are the tax benefits of an HSA?
The tax benefits of an HSA can be significant1. IRS Publication 969 lists three federal tax benefits:
- Money going in. You can deduct your own contributions, and contributions from your employer may be excluded from your income.
- Money in the account. Interest and other earnings are tax free.
- Money coming out. Withdrawals are tax free when you use them for qualified medical expenses.
The contribution limit changes from year to year. Capital Blue Cross posts the current limits on its HSA overview page. It’s important to note that many of the HSA rules come from the federal government, and a tax professional can tell you how they apply to you.
What can you use an HSA for?
HSA money can pay for qualified medical expenses for you, your spouse, and your dependents. That includes your deductible, copayments and coinsurance. It also covers many costs beyond a visit to the doctor. The full list is in IRS Publication 502. Here are some examples.
Qualified expenses for an HSA |
Not qualified for HSA spending |
|---|---|
| Dental treatment | Health club dues |
| Eyeglasses, contact lenses and eye exams | Cosmetic surgery (in most cases) |
| Prescription medicines | Vitamins and supplements for general health |
| Hearing aids | Teeth whitening |
| Psychologist and psychiatric care | Funeral expenses |
| Chiropractic care and acupuncture | Life insurance and Medigap insurance premiums |
The IRS also allows over-the-counter medicines and menstrual care products. There is a penalty if you take money from your HSA for something that is not a qualified medical expense: you will owe income tax on it, plus an additional 20% tax.
Do funds in an HSA roll over?
Yes. Funds you don’t use carry over to the next year, and there is no expiration date, according to the Centers for Medicare & Medicaid Services (CMS). The account is also portable. You can keep your HSA if you change employers or retire.
Can you invest the money in an HSA?
Some HSA administrators let you invest your balance. Investor.gov, the investor education site of the U.S. Securities and Exchange Commission (SEC), gives mutual funds and exchange-traded funds as examples. Earnings on those investments in your HSA are tax free, like interest.
You do not have to invest with funds in your HSA. FINRA notes that HSAs usually give you the option to invest your funds, or keep some or all your money in cash. Check with the financial institution or HSA administrator for more details.
What happens to an HSA when you turn 65 or enroll in Medicare?
You must stop contributing to your HSA when you enroll in any part of Medicare, according to CMS. You can still spend the money that is already there. Once you are 65, the IRS lets you use your HSA funds for Medicare premiums, though not for a Medicare supplement (Medigap) policy.
It’s also important to note that at age 65, HealthCare.gov says you can use money in your HSA to pay for anything you want. Keep in mind that money not spent on qualified medical expenses will still count as income when you file your taxes.
Is an HSA worth it?
Opening a new HSA requires an HSA-eligible health plan, so the answer depends on the health plan. Plans with higher deductibles usually have lower monthly premiums. That can save money if you do not need much care, but you will pay more out of pocket when you do use services. Capital Blue Cross explains that trade-off in How healthcare costs work.
When you compare plans, look at the premium, the deductible and how much you could put in the HSA each year. Your tax advisor can also help to evaluate your potential tax savings. For help shopping for a health plan, call Capital Blue Cross at 800.451.1181.
Capital Blue Cross HSA resources
- HSA overview: includes information on current IRS limits, who can open an HSA, and lists of qualified and nonqualified medical expenses.
- Individual members who buy a qualified high-deductible health plan (QHDHP) directly from Capital Blue Cross or Pennie receive a letter from HealthEquity2 inviting them to open an HSA. If you activate the account, there will be no HSA administration fees for as long as you remain covered under a Capital QHDHP.
- Individual and family plans: plan options in 21 counties across Central Pennsylvania and the Lehigh Valley.
FAQ
Can you use an HSA for dental care?
Yes. IRS Publication 502 includes amounts you pay for the prevention and alleviation of dental disease. Teeth whitening does not count.
Can I use my HSA for my spouse?
Yes. You can use HSA money for qualified medical expenses for yourself, your spouse, and your tax dependents.
Do HSA funds expire?
No. Unused funds carry over from year to year, and the account stays with you if you change jobs or retire.
What is the difference between an HSA and an FSA?
A flexible spending account (FSA) is generally a “use-it-or-lose-it” plan, according to the IRS. An HSA carries over from year to year and stays with you if you change employers.
This is not medical advice and is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health care provider with any questions you may have regarding a medical condition or treatment. The information provided is meant for a general audience. Capital Blue Cross and its affiliated companies believe this health education resource provides useful information but does not assume any liability associated with its use.
1Capital Blue Cross and its affiliates do not provide tax, legal or accounting advice. This material has been prepared for informational purposes only, and is not intended to provide, and should not be relied on for, tax, legal or accounting advice. Members should contact their tax professional for more information on tax implications.
2HealthEquity, Inc. is an independent company whose products and services are not Blue Cross products and services. HealthEquity is solely responsible for these financial services.