To claim an HSA on your taxes, file Form 8889 with your Form 1040 for any year you contributed to or took distributions from the account. Part I of the form calculates your deduction for after-tax contributions, and Part II reconciles your withdrawals against qualified medical expenses. The results flow to Schedule 1, where the deduction reduces your adjusted gross income and any taxable distributions get added back. For 2026, you can contribute up to $4,400 with self-only HDHP coverage or $8,750 with family coverage, plus a $1,000 catch-up if you’re 55 or older.1Internal Revenue Service. IRS Notice 2026-5 – Expanded Availability of Health Savings Accounts
Before you start, confirm you were an eligible individual. That means being covered by a qualifying HDHP on the first day of each month you’re claiming, with no disqualifying coverage, no Medicare enrollment, and no one else claiming you as a dependent.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts For 2026, an HDHP has a deductible of at least $1,700 (self-only) or $3,400 (family), with out-of-pocket maximums no higher than $8,500 or $17,000.1Internal Revenue Service. IRS Notice 2026-5 – Expanded Availability of Health Savings Accounts Separate dental, vision, disability, and long-term care coverage don’t disqualify you.
Documents You Need Before You File
Three documents supply every number you’ll enter on Form 8889.
Form 1099-SA comes from your HSA trustee and reports every distribution you took during the year. Box 1 shows the total; Box 3 uses a code to identify the type. The form doesn’t say whether you spent the money on medical care, which is what Form 8889 exists to establish.3Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026)
Form 5498-SA reports your total contributions, including any you made between January 1 and April 15 of the following year and designated for the prior tax year.4Internal Revenue Service. Form 5498-SA (Rev. December 2026) – HSA, Archer MSA, or Medicare Advantage MSA Information This one arrives late. Trustees have until the end of May to send it because it needs to capture prior-year deposits made up through April 15.3Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026) If you’re filing before then, use your own bank records.
Form W-2, Box 12, Code W shows the combined total your employer contributed and what you contributed through payroll deduction under a cafeteria plan.5Internal Revenue Service. Form W-2 Reporting of Employer-Sponsored Health Coverage That combined figure is critical because payroll contributions were never taxed to begin with. You do not deduct them again on Form 8889.
Contributions you made outside of payroll with after-tax dollars are what you deduct. Keep those separate in your records. Confusing them with the Code W amount is the single most common error on this form, and it produces either a doubled deduction or a missed one.
Filling Out Part I: Your Deduction
Line 2 takes only the contributions you made with after-tax dollars, from your own bank account, outside of any payroll arrangement. Employer contributions and salary-reduction amounts from a cafeteria plan do not go here. Those belong on line 9, pulled straight from your W-2.6Internal Revenue Service. 2025 Instructions for Form 8889
The form then walks you through the annual limit. For 2026 that’s $4,400 (self-only) or $8,750 (family), with a $1,000 catch-up on line 7 if you were 55 or older during the year and not yet on Medicare.7Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The ceiling covers everything combined: your after-tax deposits, your payroll deductions, and your employer’s contributions. Exceeding it triggers a 6% excise tax each year the excess stays in the account.8Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities
You have until April 15 of the following year to top up. A deposit made by April 15, 2027 can be designated for the 2026 tax year.6Internal Revenue Service. 2025 Instructions for Form 8889
A note on partial-year coverage: if you weren’t covered by an HDHP for the full year, the limit is normally prorated by the months you were eligible. A “last-month rule” lets you contribute the full annual amount if you were eligible on December 1, but it locks you into a testing period through the end of the next calendar year. Losing HDHP coverage during that window triggers taxable income plus a 10% additional tax on Form 8889, Part III.7Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If a job or plan change is possible, the prorated limit is the safer route.
Filling Out Part II: Your Distributions
Line 14a takes the total distributions from Box 1 of your 1099-SA. Line 15 takes the portion you spent on qualified medical expenses that weren’t reimbursed by insurance.6Internal Revenue Service. 2025 Instructions for Form 8889
If those two numbers match, you owe nothing. If line 14a is larger, the difference is taxable income and the IRS adds a 20% additional tax on top.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts That 20% stacks with your ordinary income tax rate. A non-medical withdrawal taxed in the 22% bracket effectively costs 42% of the amount.
The 20% penalty does not apply to distributions taken after you turn 65, after you become disabled, or after the account holder’s death.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts The withdrawal is still taxable as income in those cases, but the extra tax drops away. Qualified medical withdrawals remain tax-free at any age.
What Counts as a Qualified Medical Expense
Doctor visits, hospital bills, prescriptions, and lab work are the clear ones. Since the CARES Act, over-the-counter medications and menstrual care products qualify without a prescription.9Internal Revenue Service. IRS Outlines Changes to Health Care Spending Available Under CARES Act Dental care, vision expenses, and certain long-term care premiums qualify too. Cosmetic procedures and general wellness supplements generally do not. IRS Publication 502 has the full list.
Fixing an Excess Contribution Before You File
Going over the annual limit happens most often when an employer and an individual both deposit into the same HSA without coordinating. The 6% excise tax hits every year the excess remains, so leaving it alone compounds the cost.8Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities
Withdraw the excess and its attributable earnings before your filing deadline, including extensions. Contact your HSA trustee and ask for a “return of excess contributions.” The trustee calculates the earnings portion, and your 1099-SA will show the withdrawal with a code 2 in Box 3.3Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026) The earnings are taxable in the year the excess was contributed, but the 6% tax disappears if you act in time.
Moving the Numbers to Your 1040
After Form 8889 is complete, two totals flow to Schedule 1. Your HSA deduction from Part I goes on Schedule 1, line 13, under adjustments to income.10Internal Revenue Service. Schedule 1 (Form 1040) 2025 This is an above-the-line deduction, so it reduces your AGI whether you itemize or not. A lower AGI can pull you back under phase-out thresholds for other credits and deductions.
Any taxable income from Part II or Part III, whether from non-qualified distributions, the 20% additional tax, or a failed testing period, goes on Schedule 1, line 8f under additional income.10Internal Revenue Service. Schedule 1 (Form 1040) 2025 Both lines then feed into Form 1040. Tax software handles the transfer automatically. On paper, verify the figures agree across all three forms before signing.
Keep Your Receipts
Filing Form 8889 is required for any year your HSA had contributions or distributions, whether you file electronically or on paper.6Internal Revenue Service. 2025 Instructions for Form 8889 The form itself isn’t proof. You need the receipts, explanation-of-benefits statements, and pharmacy records that show each distribution went to a qualified medical expense.
The IRS generally has three years from your filing date to audit, so that’s the minimum retention period. If income is substantially underreported, the window stretches to six years. Scanned receipts in a dated folder cost nothing to keep, and they’re what you’ll want if a question ever arrives in the mail.