HSA contributions are tax-deductible when you make them through your employer or as a self-employed person
Money you put into a Health Savings Account lowers your taxable income for the year you contribute it. If your employer deducts contributions directly from your paycheck, those dollars never show up as wages on your W-2 form — they reduce your income before federal and state income taxes are calculated. If you contribute on your own as a self-employed person or after-tax employee contribution, you deduct the amount on your tax return using Form 1040 and Schedule 1.
The tax deduction applies only to contributions you make during the tax year, not to the interest or investment gains your HSA earns. Those earnings grow tax-free and stay tax-free when you spend them on may have access to medical expenses, but the deduction itself is a one-time benefit tied to the contribution.
Key Takeaways
- Employer payroll deductions for HSA contributions reduce your taxable wages automatically and appear on your tax return as pre-tax income.
- Self-employed people and employees who contribute after-tax dollars can deduct HSA contributions on Form 1040 Schedule 1 when they file their return.
- The annual contribution limit varies by coverage type (self-only, family, or other coverage) and changes each year; exceeding it triggers a tax penalty.
- You must have a high-deductible health plan to contribute to an HSA, and contributions are only deductible for months you held that coverage.
- Rollovers from another HSA or from a Health Reimbursement Arrangement do not count toward your annual contribution limit and do not create a separate deduction.
How employer payroll deductions work
When your employer offers an HSA and you enroll, you choose how much to contribute each pay period. Your employer deducts that amount from your gross pay before calculating income tax withholding. This means the contribution never appears as taxable wages on your W-2 form, and you receive the tax deduction automatically without filing anything extra on your tax return.
You also avoid Social Security and Medicare taxes (FICA) on employer-deducted HSA contributions. This is different from a traditional 401(k), where you still owe Medicare tax. The payroll deduction route is the simplest way to get the tax benefit because the deduction happens at the source.
Self-employed and after-tax employee contributions
If you are self-employed or your employer does not offer an HSA, you can open one on your own and contribute money directly. You deduct these contributions on your federal tax return using Form 1040 and Schedule 1 (Adjustments to Income). The deduction reduces your adjusted gross income, which can lower your tax bill and may affect other deductions or credits that depend on income thresholds.
Self-employed people should note that HSA contributions are deductible for income tax purposes but do not reduce your self-employment tax. You still owe Social Security and Medicare tax on your net self-employment income, even though the HSA contribution lowers your income tax.
Annual contribution limits and what happens if you exceed them
The IRS sets a maximum contribution limit each year, and it varies depending on whether your high-deductible health plan covers only you or your family. For 2024, the limit is $4,150 for self-only coverage and $8,300 for family coverage; these amounts change annually. If you contribute more than the limit, the excess amount is taxable income, and you owe a 6 percent excise tax on the overage each year it remains in the account.
The limit applies to all your HSAs combined — if you have more than one account, you must track total contributions across all of them. Contributions made through payroll and contributions you make on your own both count toward the same annual limit. If you change jobs mid-year or lose coverage partway through the year, you may be able to contribute only a portion of the annual limit; the IRS uses a month-by-month calculation for this situation.
Coverage requirements for the deduction
You can only deduct HSA contributions for months when you were covered by a high-deductible health plan and had no other health insurance that would disqualify you from HSA may be able to access. If you drop your high-deductible plan in June, you can deduct contributions only for January through June, not for the full year. Similarly, if you enroll in a high-deductible plan in September, you can deduct contributions only for September through December.
Certain types of coverage, such as Medicare, Medicaid, or a spouse's health plan that is not a high-deductible plan, can make you ineligible to contribute to an HSA. If you become ineligible partway through the year, any contributions made after you lost may be able to access are not deductible and may trigger the 6 percent excise tax.
Rollovers and transfers do not create a new deduction
If you move money from one HSA to another HSA or roll over funds from a Health Reimbursement Arrangement (HRA) into an HSA, that transfer is not a contribution and does not count toward your annual contribution limit. You do not receive a tax deduction for a rollover because the money was already deducted when it was originally set aside.
Rollovers are a way to consolidate accounts or move funds when you change jobs, but they do not give you an additional tax benefit. Only new money you contribute out of your own pocket or that your employer contributes on your behalf counts as a deductible contribution.
Reporting the deduction on your tax return
If your employer deducted HSA contributions from your paycheck, you do not need to do anything on your tax return — the deduction is already reflected in your W-2 wages. Your employer reports the contributions separately, and the IRS knows the amount was pre-tax.
If you made contributions on your own, you report them on Form 1040 Schedule 1 as an adjustment to income. You will also receive a Form 5498-SA from your HSA provider showing the total contributions made to your account during the year. Keep this form with your tax records, but do not send it to the IRS unless you are asked; it is for your records and to help you complete your return accurately.
Frequently Asked Questions
Can I deduct HSA contributions if I contribute after my paycheck is already taxed?
Yes. If you contribute money that was already included in your taxable wages, you can deduct the contribution on Form 1040 Schedule 1 when you file your return. This reduces your taxable income for that year, though you will not recover the taxes already withheld from that paycheck.
What if I contributed too much to my HSA during the year?
You owe a 6 percent excise tax on the excess amount for each year it stays in the account. You must file Form 5329 with your tax return to report the overage. The excess is also taxable income. You can withdraw the excess and any earnings on it before the tax filing important date to avoid the penalty, but you will owe income tax on the earnings portion.
Do HSA contributions reduce my self-employment tax?
No. HSA contributions reduce your income tax but not your self-employment tax. Self-employed people still owe Social Security and Medicare tax on their net self-employment income, even though the HSA contribution lowers the income subject to income tax.
Can I deduct an HSA contribution for a month when I was not covered by a high-deductible plan?
No. You can only deduct contributions for months when you held a high-deductible health plan and were not covered by disqualifying insurance. If you enroll mid-year or drop coverage mid-year, your deduction is limited to the months you were actually covered.
Is a rollover from another HSA considered a deductible contribution?
No. Rollovers between HSAs and transfers from HRAs do not count as contributions and do not create a tax deduction. The money was already deducted when it was originally set aside, so moving it does not give you an additional tax benefit.