Your health savings account does not appear on Form 1040 directly. HSA activity is calculated on Form 8889 and then reaches Form 1040 through two schedules: the deduction for your contributions travels through Schedule 1 (Form 1040), Part II, Line 13, and any taxable distributions travel through Schedule 1, Part I, Line 8z. From there, the numbers combine with everything else on Schedule 1 and post to Form 1040 to set your adjusted gross income and total tax.1Internal Revenue Service. 2025 Instructions for Form 8889
If you had any HSA contributions or distributions during the year, Form 8889 must be attached to your return.2Internal Revenue Service. Instructions for Form 8889 (2025) Nothing about your HSA gets entered on the 1040 itself as a standalone line item.
Form 8889 Feeds Everything Else
Form 8889 is where the actual HSA math happens, and each of its three parts sends its result to a different destination.
Part I handles contributions. Line 2 is for contributions you made with after-tax dollars out of your own pocket. Employer contributions and pre-tax payroll deductions belong on Line 9, not Line 2, because you never paid tax on them in the first place.1Internal Revenue Service. 2025 Instructions for Form 8889 The form compares your total contributions against your annual limit and produces a deduction on Line 13.
Part II handles distributions. Line 14a captures total distributions from your Form 1099-SA. Line 15 captures the portion you spent on qualified medical expenses that insurance did not reimburse. Subtracting Line 15 from Line 14a gives the taxable amount on Line 16, and Line 17b applies a 20 percent additional tax on that amount if you owe one.1Internal Revenue Service. 2025 Instructions for Form 8889
Part III comes into play only if you used the last-month rule or a qualified HSA funding distribution from an IRA and then failed the required testing period. It calculates contributions to add back to income and a 10 percent additional tax on that amount, and those figures split between Schedule 1 and Schedule 2.2Internal Revenue Service. Instructions for Form 8889 (2025)
Where the HSA Deduction Lands
The deduction on Form 8889, Line 13, moves to Schedule 1 (Form 1040), Part II, Line 13.1Internal Revenue Service. 2025 Instructions for Form 8889 This is an above-the-line adjustment, so you get it whether or not you itemize.
Schedule 1, Part II sums all your adjustments on Line 26. That total transfers to Form 1040, Line 10, and is subtracted from your total income to produce your adjusted gross income.2Internal Revenue Service. Instructions for Form 8889 (2025) Because a lower AGI can also unlock other credits and deductions that phase out at higher income, this line is worth more than the deduction on its face.
One caution on the amount you enter. If you had HDHP coverage for only part of the year and are not using the last-month rule, your annual limit is prorated: one-twelfth of the annual cap for each month you were eligible.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The smaller of your actual contributions or that prorated limit is what becomes your deduction.
Where Taxable HSA Distributions Land
If every dollar you took out went to qualified medical expenses, nothing about distributions reaches your 1040. Line 16 of Form 8889 is zero and there is nothing to carry over.
When distributions exceed your qualified expenses, the taxable portion from Form 8889, Line 16, goes on Schedule 1, Part I, Line 8z as other income.1Internal Revenue Service. 2025 Instructions for Form 8889 Schedule 1 then flows to Form 1040 and increases your total income.
The 20 percent additional tax from Form 8889, Line 17b, does not travel with the income. It is reported separately on Schedule 2, Part II, Line 17c, and the Schedule 2 total moves to Form 1040, Line 23, where it adds to your overall tax bill.1Internal Revenue Service. 2025 Instructions for Form 8889
The 20 percent tax does not apply in three situations: you have reached age 65, you are disabled, or the distribution is made after the account holder’s death.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans In those cases the money is still ordinary income if you did not spend it on medical care, but the extra 20 percent falls away.
Where Excess Contributions Show Up
Contribute more than the annual limit and the excess draws a 6 percent excise tax every year it sits in the account.1Internal Revenue Service. 2025 Instructions for Form 8889 You can stop that clock by withdrawing the excess and any earnings on it before your return due date, including extensions; the earnings you pull out get reported as other income for the year of the withdrawal.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
If you miss that window, the 6 percent excise tax is reported on Form 5329, Line 49. That amount then flows to Schedule 2, Line 8, and joins the rest of your total tax on Form 1040.4Internal Revenue Service. Form 5329 – Additional Taxes on Qualified Plans (Including IRAs) and Other Tax-Favored Accounts
Where Testing-Period Failures Show Up
If Part III of Form 8889 applies, its two outputs split. The contribution amount added back to income posts to Schedule 1, and the 10 percent additional tax posts to Schedule 2.1Internal Revenue Service. 2025 Instructions for Form 8889 Both eventually reach Form 1040 through the totals on those schedules.
Documents to Pull Before You Fill Out the Forms
The numbers you enter on Form 8889 come from three documents, and having them in hand before you start prevents mismatches with what the IRS already has:
- Form 1099-SA from your HSA custodian reports your total distributions for the year, with a distribution code in Box 3. Code 1 is a normal distribution; codes 2 through 6 flag things like excess contributions, disability, or death.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026) – Specific Instructions for Form 1099-SA
- Form 5498-SA reports total contributions, including any deposited between January 1 and the April filing deadline that apply to the prior year. Box 2 shows contributions made during the calendar year; Box 3 shows contributions made in the following year that apply to the prior tax year.6Internal Revenue Service. Form 5498-SA, HSA, Archer MSA, or Medicare Advantage MSA Information
- Form W-2, Box 12, Code W shows the combined total of employer contributions and any pre-tax payroll deductions you made through a cafeteria plan. This is the figure that belongs on Form 8889, Line 9, not Line 2.7Internal Revenue Service. Form W-2 Reporting of Employer-Sponsored Health Coverage
Once those numbers are entered correctly on Form 8889, the routing to Schedule 1, Schedule 2, and Form 1040 follows automatically. Miss the classification between Line 2 and Line 9, and you can end up either overstating your deduction or paying tax on money that should have been sheltered.