The basic math: what you can deduct

Your HSA deduction is the amount of money you contribute to your HSA that you can subtract from your taxable income for the year. The IRS sets a maximum contribution limit each year, and your deduction cannot exceed that limit. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage, though these numbers change annually.

The deduction works like this: if you contribute $3,000 to your HSA and your income is $50,000, you report only $47,000 as taxable income on your tax return. You do not pay income tax on that $3,000. The catch is that you can only deduct contributions you actually made during the tax year, and only if you remained enrolled in an HSA-may be able to access health plan for the entire month in which you contributed.

Your employer may have already contributed money to your HSA. That counts toward your deduction limit too. If your employer put in $2,000 and you put in $1,500, your total deduction is $3,500, and you cannot deduct another $650 that year (assuming the individual limit of $4,150).

Key Takeaways

  • Your HSA deduction cannot exceed the annual IRS limit, which is $4,150 for self-only coverage and $8,300 for family coverage in 2024, and these limits increase most years.
  • Both your contributions and your employer's contributions count toward the same deduction limit, so you must add them together.
  • You can only deduct contributions made during months when you were enrolled in an HSA-may be able to access health plan for the entire month.
  • If you contributed more than the limit allows, you must report the excess on Form 8889 and may owe a 6 percent excise tax on the overage.
  • Contributions made after December 31 but before April 15 of the following year can be deducted on the prior year's tax return if you make that choice.

Checking your enrollment status month by month

The IRS rule is strict: you must be enrolled in an HSA-may be able to access health plan on the first day of the month and remain enrolled through the last day of that month to deduct contributions made in that month. If you dropped your HSA-may be able to access plan on March 15, you cannot deduct any contributions you made in March, even if you made them before you left the plan.

This matters most when you change jobs or lose coverage mid-year. If you were on an HSA-may be able to access plan from January through June, then switched to a regular health plan in July, you can deduct contributions only for January through June. Any contributions you made in July or later that year are not deductible.

Keep a record of when your coverage started and ended. Your health insurance company sends you a form called a 1095-B that shows your coverage month by month. This is the document you use to verify which months you were enrolled.

Adding employer contributions to your own

If your employer contributes to your HSA, that amount reduces how much you can contribute yourself. The limit is shared between you and your employer combined.

Here is an example: the 2024 individual limit is $4,150. Your employer contributes $1,500 to your HSA during the year. You can contribute only $2,650 more ($4,150 minus $1,500) and still deduct the full amount. If you contribute $3,000, you have overcontributed by $350.

Your employer should tell you how much they contributed, usually on a pay stub or in a benefits statement. If you are unsure, ask your benefits department or payroll office before you make your own contributions. Some employers contribute the same amount every year; others vary it.

Handling contributions made after the tax year ends

You have until April 15 of the following year to make a contribution and still deduct it on the prior year's tax return. This is called a prior-year contribution. For example, you can contribute to your 2024 HSA as late as April 15, 2025, and deduct it on your 2024 tax return.

This window is useful if you did not have enough money to contribute during 2024 but want to catch up before filing. However, you must still have been enrolled in an HSA-may be able to access plan during the months you are claiming the deduction for. You cannot contribute for a month you were not covered.

When you make a prior-year contribution, keep a record of the date you made it. Your HSA provider will report it to the IRS, and you will need to show on your tax return that it applies to the prior year, not the current one.

What happens if you contribute too much

If your total contributions (yours plus your employer's) exceed the annual limit, you have overcontributed. The IRS charges a 6 percent excise tax on the excess amount each year it stays in the account. You also owe income tax on the earnings that excess generated.

To fix an overcontribution, you must withdraw the excess and any earnings it created before your tax return important date. This is called a corrective distribution. You report the overcontribution and the corrective distribution on Form 8889, which you file with your tax return.

Example: you contributed $4,500 to your HSA in 2024, but the limit was $4,150. You overcontributed by $350. If you do not withdraw that $350 plus any interest it earned before April 15, 2025, you owe a 6 percent tax on $350 ($21) for 2024, and another 6 percent for 2025 if it is still there, and so on.

Calculating your deduction on your tax return

You report your HSA deduction on Form 1040 (the main federal income tax form) using Schedule 1. The line is labeled "HSA deduction." You enter the total amount you are deducting—your contributions plus any employer contributions you made during the year, up to the annual limit.

If you overcontributed, you use Form 8889 to report the excess and any corrective distributions. Form 8889 also calculates whether you owe the 6 percent excise tax. Your tax software usually walks you through these forms, but you can also find them on the IRS website.

Keep copies of your HSA statements, your employer's contribution records, and your 1095-B form. These documents prove how much you contributed and when you were enrolled. The IRS may ask to see them if your return is audited.

Understanding the limits that change each year

The IRS adjusts the HSA contribution limits annually based on inflation. In recent years, the individual limit has been $3,850, $4,000, and $4,150. The family limit has been $7,750, $8,000, and $8,300. These numbers usually increase by $50 to $150 per year, but not every year.

The IRS announces the new limits in the spring, so you know them before tax season. If you are planning your contributions for the coming year, check the IRS website or your HSA provider's website in March or April to see the updated limits.

If you are self-employed or own a business, you may also be able to deduct HSA contributions as a business expense on Schedule C, in addition to the personal deduction. This is a separate calculation and requires different forms. A tax professional can help you determine whether you may have access to.

Frequently Asked Questions

Can I deduct contributions I made in January if I left my HSA-may be able to access plan in February?

Yes, you can deduct the January contributions because you were enrolled for the entire month of January. You cannot deduct anything for February or later because you were not enrolled for the full month of February. The rule requires full-month enrollment, not just enrollment on the day you contributed.

What if my employer and I both contributed and we went over the limit?

You must withdraw the excess amount and any earnings it created before your tax return important date. Your employer cannot withdraw their contribution; only you can request a withdrawal from your HSA. Report the overcontribution on Form 8889 and include the corrective distribution amount.

Do I report my HSA deduction on my tax return even if I do not itemize deductions?

Yes. The HSA deduction is an "above-the-line" deduction, meaning you can claim it whether you take the standard deduction or itemize. You report it on Schedule 1 of Form 1040, separate from the standard deduction calculation.

If I made a contribution after December 31 but before April 15, which year do I deduct it on?

You choose. You can deduct it on the year you made the contribution, or you can deduct it on the prior year's tax return if you make that choice clear when you file. Most people deduct it on the prior year to catch up if they did not contribute enough during that year.

What if I was only enrolled in an HSA-may be able to access plan for part of the year?

You can deduct contributions only for the months you were enrolled for the entire month. If you were enrolled January through June, you can deduct contributions made in those six months only. You cannot deduct contributions for July through December, even if you made them.