You can contribute to an HSA if you are enrolled in a high-deductible health plan (HDHP) and meet IRS requirements

The IRS sets the rules for who can contribute to an HSA, and the main requirement is straightforward: you must be covered by an HDHP and have no other health insurance that would disqualify you. You also cannot be claimed as a dependent on someone else's tax return, and you cannot be enrolled in Medicare. If all three conditions are true, you can contribute money to an HSA in the same tax year you are covered by the HDHP.

The amount you can contribute each year is set by the IRS and changes annually. For 2024, you can contribute up to $4,150 if you have individual coverage or $8,300 if you have family coverage. These limits explore to all your HSAs combined — if you have multiple HSAs, the total of all contributions cannot exceed the annual limit. If you turn 55 during the year, you can add an extra $1,000 catch-up contribution for that year and every year after.

Your employer can also contribute to your HSA, and that money counts toward your annual limit. If your employer contributes $2,000 and you contribute $2,000, you have reached the $4,150 individual limit. Any contributions beyond the limit are subject to a 6 percent excise tax, so tracking what goes in matters.

Key Takeaways

  • You must be enrolled in an HDHP with no other health coverage to contribute to an HSA, and you cannot be on Medicare or claimed as a dependent.
  • The IRS sets annual contribution limits — $4,150 for individual coverage and $8,300 for family coverage in 2024 — and these limits include both your contributions and your employer's.
  • You can make contributions at any point during the year you are covered by an HDHP, including up to the tax filing important date of the following year for the prior year's contributions.
  • If you lose HDHP coverage mid-year, you can only contribute a prorated amount based on the months you were covered, unless you may have access to for a special circumstance exception.

What disqualifies you from contributing

Having other health insurance alongside your HDHP is the most common reason contributions are blocked. This includes coverage through a spouse's employer, Medicaid, Medicare Part A or B, TRICARE, or the Veterans Administration. Some plans that look like they might disqualify you actually do not — vision-only and dental-only coverage do not prevent HSA contributions, and neither does coverage for specific conditions like cancer or accidents.

Being claimed as a dependent on someone else's tax return also blocks contributions, even if you have your own HDHP. This applies to adult children, elderly parents, and anyone else listed as a dependent. Once you are no longer claimed as a dependent, you can contribute starting in the next tax year.

If you are enrolled in Medicare, you cannot contribute to an HSA, even if you also have an HDHP. This is true whether you are on Medicare Part A, Part B, or both. Once you enroll in Medicare, your HSA becomes a medical savings account only — you can still spend the money on may have access to medical expenses, but you cannot add new contributions.

Contributing when your coverage changes mid-year

If you enroll in an HDHP partway through the year, your contribution limit is prorated based on the number of months you are covered. The IRS counts each month you are covered as a full month, even if you enroll on the last day. If you enroll in an HDHP in July, you are covered for seven months (July through December), so your limit is seven-twelfths of the annual maximum.

If you lose HDHP coverage before the end of the year, the same rule applies in reverse. If you switch to a plan with a lower deductible in September, you are covered for nine months (January through September), and your contribution limit is nine-twelfths of the annual maximum. Any contributions you made beyond that prorated amount must be withdrawn, and you will owe taxes plus a 6 percent penalty on the excess.

One exception exists: the testing period rule allows you to contribute as if you were covered for the full year if you enroll in an HDHP on the first day of a month and stay covered through December 31 of that year and the following year. This is rarely used but can help if you enroll early in the year and plan to stay covered.

How to make contributions

You can contribute through your employer's payroll system, which is the most common method. Your employer deducts the contribution from your paycheck before taxes are calculated, which reduces your taxable income. You set the amount when you enroll in the HDHP, usually during open enrollment, and it stays the same each pay period unless you change it.

You can also contribute directly to your HSA outside of payroll. If you have an individual HDHP or want to add money beyond what your employer deducts, you can transfer funds from your bank account to your HSA account. These contributions are made with after-tax dollars, but you can deduct them on your tax return (Form 8889) when you file. You must make these contributions by the tax filing important date of the following year — typically April 15 — to count them toward the prior year's limit.

If you receive a tax refund, you can also deposit that refund directly into your HSA instead of your bank account. Some HSA providers allow this through their website or mobile app, though not all do. Check with your HSA provider to see if this option is available.

Catch-up contributions at age 55

Once you turn 55, you can contribute an additional $1,000 per year to your HSA beyond the standard limit. This catch-up contribution is available for every year you are 55 or older and still covered by an HDHP. If you turn 55 in June, you can make the catch-up contribution for that year.

The catch-up contribution stops once you enroll in Medicare. Even if you are still working and covered by an HDHP, Medicare enrollment ends your HSA contribution may be able to access entirely. This is an important planning point if you are working past 65 — you will need to decide whether to delay Medicare enrollment to keep contributing to your HSA, or enroll in Medicare and stop contributions.

Contribution important date and tax filing

Contributions made through payroll must be deducted from your paychecks during the year you are covered by the HDHP. You cannot go back and add payroll contributions for a prior year.

Direct contributions and catch-up contributions have a later important date. You can make contributions for the prior tax year up to the tax filing important date of the current year, which is typically April 15. If you file an extension, you can contribute until October 15. These contributions must be clearly marked as being for the prior year when you submit them to your HSA provider.

When you file your taxes, you report HSA contributions on Form 8889 (Health Savings Accounts). If your employer made contributions, they will report those on your W-2 in Box 12 with code W. You do not report employer contributions on your tax return — they are already excluded from your income. You only report contributions you made yourself.

What happens if you over-contribute

If you contribute more than the annual limit, the excess amount is subject to a 6 percent excise tax each year it remains in the account. You must withdraw the excess contribution and any earnings on it, and you will owe income tax on the earnings plus the 6 percent penalty. This can happen if you have multiple HSAs and lose track of the combined total, or if your coverage changes mid-year and you do not adjust your contributions.

To fix an over-contribution, contact your HSA provider and request a withdrawal of the excess. You will need to provide documentation of the over-contribution amount. The provider will issue a Form 1099-SA showing the withdrawal, and you will report it on your tax return. It is better to catch this and fix it in the same year rather than let it carry forward, because the 6 percent penalty applies each year the excess sits in the account.

Frequently Asked Questions

Can my spouse and I both contribute to HSAs if we have family coverage?

Yes. If you have family coverage under one HDHP, both you and your spouse can each have an HSA and contribute to it. The combined family limit applies to both accounts together, so if the limit is $8,300, you could each contribute $4,150, or one could contribute $6,000 and the other $2,300. Both of you must meet the may be able to access requirements — neither can be on Medicare or claimed as a dependent.

Can I contribute to an HSA if my employer does not offer one?

Yes. You can open an individual HSA through a bank, insurance company, or financial services provider as long as you are enrolled in an HDHP. You will make contributions directly from your bank account. These contributions are made with after-tax dollars, but you can deduct them on your tax return, so the tax benefit is the same as payroll contributions.

What if I change jobs mid-year?

Your HSA stays with you — it is your account, not your employer's. If your new employer offers an HSA, you can continue contributing to your existing account or open a new one. If your new employer does not offer an HDHP, you can still contribute to your existing HSA as long as you maintain individual HDHP coverage. Your contribution limit for the year is based on the months you were covered by any HDHP, regardless of how many employers you worked for.

Can I contribute to an HSA if I am self-employed?

Yes, as long as you have an HDHP. You can open an individual HSA and contribute up to the annual limit. These contributions are deductible on your tax return (Schedule C or Schedule 1, depending on your business structure). You cannot use business payroll to make HSA contributions the way an employer can, so all contributions are made directly to your HSA account.

Do I have to contribute the maximum amount?

No. You can contribute any amount up to the annual limit. Many people contribute less than the maximum based on what they can afford or how much they expect to spend on medical expenses. There is no minimum contribution required, and you can change your contribution amount during open enrollment or if you have a may have access to life event.