Health Savings
Accounts
An HSA gives you a deduction for what you put in, tax-free growth, and tax-free withdrawals for medical costs. The catch is eligibility: you need a high-deductible health plan, and contributions have to stop once Medicare starts.
Last reviewed
This page covers your own HSA. If you inherited one, see inherited HSAs and 529 plans.
Who can contribute
- The basic test, month by month. You’re eligible for a month if, on the first day of that month, you’re covered by a high-deductible health plan, have no other health coverage except the kinds allowed, and aren’t enrolled in Medicare. You also can’t be claimed as someone else’s dependent for the year (IRC 223(b)(6), (b)(7), (c)(1); IRS Pub. 969).
- Your spouse’s plan. A spouse’s regular health plan doesn’t disqualify you, as long as it doesn’t cover you (IRS Pub. 969).
- Health FSAs and HRAs. A general-purpose health FSA or HRA that pays your medical costs disqualifies you. Limited-purpose arrangements, such as dental and vision only, and post-deductible arrangements don’t (IRS Pub. 969).
- Allowed extra coverage. Dental, vision, accident, disability, long-term care, and telehealth coverage are allowed alongside the high-deductible plan (IRC 223(c)(1)(B); IRS Pub. 969).
- No income test. There’s no income limit, and you don’t need earned income to contribute (IRS Pub. 15-B).
Changes from the 2025 tax law
- Bronze and catastrophic marketplace plans. Starting in 2026, bronze and catastrophic plans offered as individual coverage on the Health Insurance Marketplace count as high-deductible plans for HSA purposes, even if they don’t meet the usual deductible and out-of-pocket rules. You don’t have to buy the plan through the Marketplace itself (IRC 223(c)(2)(H); IRS Notice 2026-5).
- Direct primary care. Starting in 2026, a direct primary care arrangement, meaning primary care only for a fixed periodic fee, doesn’t disqualify you if the total fees for all such arrangements are no more than $150 a month, or $300 if one covers more than one person. The fees can be paid from your HSA (IRC 223(c)(1)(E), (d)(2)(C)(v); Rev. Proc. 2026-24).
- Telehealth. For plan years beginning after 2024, a plan can cover telehealth before the deductible and still count as a high-deductible plan (IRC 223(c)(2)(E); IRS Pub. 969).
Contribution limits and plan requirements
| Item | 2027 | 2026 |
|---|---|---|
| Contribution limit, self-only coverage | $4,500 | $4,400 |
| Contribution limit, family coverage | $9,000 | $8,750 |
| Extra contribution at 55 or older | $1,000 | $1,000 |
| Plan’s minimum deductible, self-only / family | $1,750 / $3,500 | $1,700 / $3,400 |
| Plan’s out-of-pocket maximum, self-only / family | $8,700 / $17,400 | $8,500 / $17,000 |
| Employer contributions, including what you put in through payroll, count toward the limit. The limit is reduced for months you aren’t eligible, unless the last-month rule applies. Starting in 2026, bronze and catastrophic Marketplace plans qualify even if they don’t meet the deductible and out-of-pocket rows. | ||
How much you can put in
- Part-year eligibility. If you’re eligible for only part of the year, the limit is generally prorated by month (IRC 223(b)(1), (2); IRS Pub. 969).
- The last-month rule. If you’re eligible on December 1, you can contribute the full year’s amount for the coverage you have that day. But you then have to stay eligible through December 31 of the following year. If you don’t, for a reason other than death or disability, the extra amount becomes income in the year you stop being eligible, plus a 10% additional tax (IRC 223(b)(8); IRS Pub. 969).
- Married couples. If both spouses are eligible and either has family coverage, both are treated as having family coverage and share one family limit, split equally unless you agree otherwise. These rules don’t apply if only one spouse is eligible, for example because the other is on Medicare. Each eligible spouse 55 or older can add $1,000, but only to their own HSA (IRS Pub. 969; Form 8889 instructions).
- The deadline. Contributions for a year can be made until April 15 of the next year, even if you get an extension to file (IRS Pub. 969; Form 8889 instructions).
- The deduction. Contributions you make yourself are deductible whether or not you itemize. Contributions through an employer’s cafeteria plan are excluded from your pay instead, and they also skip Social Security and Medicare taxes (IRS Pub. 969; IRS Pub. 15-B).
- Excess contributions. Anything over the limit is subject to a 6% excise tax for each year it stays in the account, unless you withdraw it and its earnings by your return’s due date, including extensions. The earnings you withdraw are taxable (IRS Pub. 969).
- A one-time IRA transfer. You can generally move money directly from an IRA trustee to your HSA trustee once in your life, up to the year’s contribution limit, but not from an ongoing SEP or SIMPLE IRA. It counts toward that limit, and you have to stay eligible through the 12th month after the transfer. If you don’t, for a reason other than death or disability, the amount becomes income in that year, plus a 10% additional tax (IRC 408(d)(9); IRS Pub. 969).
Medicare
- Contributions stop when Medicare starts. Your limit is zero beginning with the first month you’re enrolled in Medicare. In the year you enroll, the limit is prorated for the months before (IRC 223(b)(7); IRS Pub. 969).
- Watch for retroactive coverage. Medicare Part A can be backdated up to six months when you sign up, and contributions made during backdated months are excess contributions. Medicare.gov advises stopping HSA contributions, yours and your employer’s, six months before you retire or apply for Social Security benefits (IRS Pub. 969; Medicare.gov).
- You can still spend it. After Medicare starts, you can keep using the HSA tax-free for qualified medical expenses. Once you’re 65, that includes Medicare premiums other than Medigap (IRC 223(d)(2)(C)(iv); IRS Pub. 969).
Taking money out
- Tax-free for medical costs. Withdrawals for qualified medical expenses of you, your spouse, or your dependents are tax-free, if the expense was incurred after the HSA was set up. You don’t have to take withdrawals every year, and the balance carries over (IRS Pub. 969).
- Insurance premiums usually don’t count. The exceptions are long-term care insurance (up to age-based limits), COBRA, coverage while you receive unemployment, Medicare and other coverage once you’re 65 (but not Medigap), and, starting in 2026, direct primary care fees (IRC 223(d)(2)(C); IRS Pub. 969).
- Other withdrawals. Money used for anything else is taxable, plus a 20% additional tax unless you’re 65 or older, disabled, or the withdrawal is after your death (IRC 223(f)(4); IRS Pub. 969).
- No double benefit. Medical expenses paid tax-free from the HSA can’t also be deducted as itemized deductions (IRS Pub. 969).
- Keep the receipts. You need records showing each withdrawal paid a qualified medical expense that wasn’t reimbursed some other way or deducted. They aren’t sent with your return (IRS Pub. 969).
- Reporting. Contributions and withdrawals go on Form 8889 with your Form 1040. Your HSA trustee sends Form 5498-SA for contributions and Form 1099-SA for withdrawals (IRS Pub. 969).
- State tax. Not every state follows the federal HSA rules. Check the rules where you live.
When you die
- A spouse named as beneficiary simply takes over the HSA as their own (IRC 223(f)(8)(A); IRS Pub. 969).
- Anyone else. The account stops being an HSA, and its value is taxable to the beneficiary in the year of death, reduced by medical expenses you incurred before death that the beneficiary pays within a year after. If your estate is the beneficiary, the value goes on your final return (IRC 223(f)(8)(B); IRS Pub. 969). See inherited HSAs.
What we handle
- Checking eligibility month by month, including Medicare timing
- Figuring your contribution limit and fixing excess contributions
- Form 8889 and reporting withdrawals
- Planning around the last-month rule and its testing period
- HSAs at death, for you and your beneficiaries
Frequently Asked Questions
Can I keep contributing to my HSA after 65?
Only if you aren’t enrolled in Medicare. Your limit drops to zero starting with the first month of Medicare, and Part A can be backdated up to six months when you sign up, so Medicare.gov advises stopping contributions six months before you retire or apply for Social Security benefits. You can keep spending the money tax-free on qualified medical expenses, including Medicare premiums other than Medigap.
What happens if I use my HSA for something other than medical expenses?
The withdrawal is taxable income, and you also owe a 20% additional tax unless you’re 65 or older or disabled. After 65, a nonmedical withdrawal is taxed much like a traditional IRA withdrawal, with no extra tax.
Can I have an HSA with a marketplace health plan?
Starting in 2026, yes, if it’s a bronze or catastrophic plan offered as individual coverage on the Health Insurance Marketplace, because those plans now count as high-deductible plans for HSA purposes. You don’t have to buy the plan through the Marketplace itself. Other marketplace plans qualify only if they meet the minimum deductible and out-of-pocket limits for a high-deductible plan. You also can’t have other disqualifying coverage or be enrolled in Medicare.