
How the account was funded changes the treatment. Payroll deductions, employer deposits and direct after-tax deposits each follow a different path. Form 8889 must be completed using the instructions for the right tax year.
This guide covers the reporting path, the documents you need, the deduction rules and the mistakes that trip people up. Form 1040 is a US federal return. It is not interchangeable with Australian tax forms, and HSA treatment has no Australian equivalent in the ATO system.
Key Takeaways
- Form 8889 is the central form for HSA contributions and distributions.
- Payroll and employer contributions appear on Form W-2 (box 12, code W) and are not deducted again.
- Eligible direct contributions can produce an above-the-line deduction, up to the annual limit.
- Check line numbers, limits and deadlines against the current IRS forms before filing.
Where HSA Contributions Appear on Form 1040
The short answer: Form 8889 first
You don't type your full HSA contribution into Form 1040. Form 8889 works out the reportable contribution and the allowable deduction. Only the deduction travels onward.
For the 2025 tax year, the path is:
- Form 8889, line 13: the HSA deduction.
- Schedule 1, Part II, line 13: the same amount, included in total adjustments on line 26.
- Form 1040, line 10: receives Schedule 1, line 26.
The 2024 forms use the same line numbers. The amount reaching Form 1040 is the allowable deduction, not every dollar deposited. Official forms and instructions are on the IRS website: Form 1040, Schedule 1, Form 8889 and the Form 8889 instructions.
Form 1040 versus Form 8889
Form 8889 holds the detail: coverage type, contributions, eligibility, the limit calculation and distributions. Form 1040 shows only the end result, and even then indirectly. You won't find a line labelled "HSA contribution". It sits inside the Schedule 1 adjustments total.
A hypothetical example (not tax advice): Sam has self-only coverage for all of 2025 and deposits $3,000 directly, with no employer contributions. Form 8889 line 2 shows $3,000. The limit is $4,300, so line 13 shows $3,000. That figure goes to Schedule 1, line 13, then into line 26, then Form 1040, line 10.
Separately, taxable HSA income (for example, from non-qualified withdrawals) follows a different route. It goes from Form 8889 to Schedule 1, line 8f, then to line 10 and Form 1040, line 8.

Avoid outdated line numbers
Form 1040 and Schedule 1 numbering changes between years. Always confirm which tax year you're filing and check each line against that year's forms. Draft forms for a later year are not for filing. Older blog posts often cite former layouts, so treat them with caution.
How to Complete Form 8889 for HSA Contributions
Part I: Contributions and the deduction
Part I calculates what you can deduct. The key 2025 lines:
- Line 1: self-only or family HDHP coverage.
- Line 2: personal contributions designated for 2025, made by the unextended filing deadline. Exclude employer and cafeteria-plan amounts.
- Line 3: the limit: $4,300 self-only or $8,550 family for someone eligible all year and under 55. Otherwise, use the worksheet.
- Line 7: catch-up contributions for the married, age-55-plus situation described in the instructions.
- Line 9: employer contributions, including W-2 box 12 code W amounts and cafeteria-plan salary reductions.
- Line 10: qualified HSA funding distributions (IRA transfers).
- Line 12: remaining capacity after lines 9 and 10.
- Line 13: the deduction, generally the smaller of lines 2 and 12.
The distinction matters. A transfer you made from your own bank account is a direct contribution (line 2). Money taken from your pay through an employer's cafeteria plan counts as an employer contribution (line 9), even though you never wrote a cheque.
The Form 8889 instructions include a limit worksheet. It tests eligibility and coverage on the first day of each month, totals the amounts and divides by 12.

Part II: Distributions are separate
Part II covers money taken out, not money put in. Total distributions (line 14a) generally come from Form 1099-SA, box 1.
You then subtract unreimbursed qualified medical expenses incurred after the HSA was established (line 15). Whatever is left (line 16) is taxable.
Non-qualified withdrawals generally attract an additional 20% tax (lines 17a-17b). Exceptions apply for distributions after death, disability or age 65. Turning 65 doesn't make non-qualified withdrawals tax-free; it only removes the additional tax.
Keep receipts and records. You don't attach them to the return, but you need them if the IRS asks.
Part III: Rollovers and additional taxes
An IRA-to-HSA transfer is a qualified HSA funding distribution. It's not an ordinary annual contribution and it isn't deductible. It does use up contribution capacity, and it's generally allowed once in a lifetime.
Part III also applies the last-month rule and the 10% additional tax when eligibility lapses. In Publication 969's example, a 53-year-old who becomes eligible on 1 December 2025 and contributes $8,550 must stay eligible through 31 December 2026.
If eligibility ends mid-2026, only the amount attributable to the last-month rule ($7,837.50 in the example) becomes income, not the whole balance.

Medicare enrolment, losing HDHP coverage or a mid-year change can all alter the calculation.
Which HSA Contributions Are Tax-Deductible?
Direct after-tax contributions
Contributions you make yourself, outside payroll, can be deducted even if you don't itemise on Schedule A. The deduction depends on eligibility, the annual limit and any employer contributions.
Reconcile your deposits with the HSA administrator's records. Watch for deposits made between 1 January and 15 April that belong to the prior year. The trustee needs your designation of the contribution year.
Payroll and employer contributions
Salary reductions through a cafeteria plan are treated as employer contributions. They're excluded from taxable wages, so the benefit is already built in. Look at Form W-2, box 12, code W, and compare it with payroll records and your HSA statements.
For example, Priya has self-only coverage and $2,000 deducted from her pay into her HSA (code W), with no direct deposits. Form 8889 line 9 shows $2,000, line 2 is zero and no deduction arises. Her remaining capacity is $2,300. If she added a $1,500 direct deposit, the deduction would be $1,500.
Contributions that may not be deductible
- Contributions made when you weren't eligible.
- Amounts above the annual limit.
- Contributions already excluded through payroll.
- Deposits designated for a different tax year.
Employer contributions count toward your limit even though you can't deduct them. Excess contributions face a 6% tax each year they remain (Form 5329). A corrective withdrawal of the excess plus earnings by the return due date, including extensions, avoids it. The earnings are taxed in the year withdrawn.
How much is deductible?
The figure is not your account balance, your withdrawals or every deposit made in the year. It is your eligible direct contributions, measured against the limit after employer and payroll amounts, coverage type and catch-up eligibility. Use Form 8889 rather than estimating from Form 5498-SA.
Recent limits for reference:
| Year | Self-only | Family | Catch-up (55+) |
|---|---|---|---|
| 2025 | $4,300 | $8,550 | $1,000 |
| 2026 | $4,400 | $8,750 | $1,000 |
| 2027 | $4,500 | $9,000 | $1,000 |

Documents, Deadlines and Common Filing Errors
Documents to gather
- Form W-2 (box 12, code W).
- HSA administrator statements and direct-deposit confirmations.
- Form 1099-SA, if you took distributions.
- Form 5498-SA, for reconciliation only.
- Payroll records.
- Receipts for medical expenses.
Form 5498-SA is informational and isn't attached to your return. Box 2 covers contributions made during the year (including those for the prior year), while box 3 covers contributions made in the following year for this one.
Box 2 alone doesn't equal your deduction. The 1099-SA and 5498-SA instructions explain each box. The 2025 form is due to the IRS and participants by 1 June 2026.
Common mistakes
- Deducting payroll or employer contributions a second time.
- Entering distributions as contributions.
- Leaving out Form 8889 when you only contributed through payroll.
- Using the wrong year's form.
- Ignoring excess contributions or Medicare enrolment.
- Misdesignating the contribution year on early-year deposits.
Before filing, compare Form 8889 against your W-2 and your HSA administrator's records.
Deadlines and tax-year treatment
Contributions for 2025 can generally be made until 15 April 2026, without regard to filing extensions. Limits and deadlines change each year, so confirm them in current IRS guidance.
Special Situations and When to Get Help
Situations that need extra review
- Married couples: Family coverage for either spouse means both share the family limit (split equally unless you agree otherwise). Catch-ups stay in each spouse's own HSA; separate Forms 8889 may apply. IRS example: $8,550 + two $1,000 catch-ups = $10,550.
- Job changes: Publication 969 confirms the HSA stays with its owner. You may need to combine information from several employers and custodians.
- Medicare: the limit drops to zero from the first enrolled month. Retroactive coverage can create excess contributions.
- Nonresident filers: Form 1040-NR also refers HSA deductions to Schedule 1, line 13. Eligibility for nonresident aliens isn't straightforward, so get advice.
- State tax: treatment can differ. California, for example, doesn't conform to the federal HSA rules.

When professional help pays off
Consider a qualified tax professional if your return includes:
- Excess contributions or rollovers
- Multiple employers or business income
- Amended returns, nonresident issues or unclear eligibility
VJM Global's US-trained tax professionals prepare Form 1040 and 1040-NR returns. They can help when HSA reporting sits within a broader cross-border or business tax situation.
This article is general education, not advice for your circumstances. Current IRS instructions control.
Frequently Asked Questions
Where do HSA deductions go on 1040?
The deduction is calculated on Form 8889, carried to Schedule 1, then to Form 1040 (line 10 for 2025). Confirm line numbers for your tax year.
How much of my HSA is tax-deductible?
Eligible direct contributions, up to your annual limit. Payroll and employer contributions are already excluded from income and count toward the limit. Form 8889 does the calculation.
What is the smartest way to use an HSA?
Spend on qualified medical expenses, keep records and avoid non-qualified withdrawals. Balances roll over and earnings are tax-free, so whether to save or invest depends on your own circumstances.
Do employer HSA contributions need to be deducted again?
No. They're reported through payroll and Form W-2, count toward the annual limit and shouldn't be claimed as a personal deduction.
Do I need to file Form 8889 if I only contributed through payroll?
Yes. Filing is required when anyone contributes, and cafeteria-plan amounts count as employer contributions. Follow the current IRS instructions.