Form 8889 is short, but it pulls numbers from documents that use different labels and different timing rules. A payroll deduction that appears in your pay stub as an employee contribution is reported as an employer contribution on the W-2. A deposit you make in April 2026 for tax year 2025 shows up on a different line of the trustee’s statement than one you make in December 2025. None of this is hard once you see the map. It does catch people off guard when the numbers will not tie.
This guide walks through the reconciliation line by line, with illustrative scenarios and a table that matches every document to a line on the form. It uses the 2025 Form 8889 instructions and IRS Publication 969, checked November 12, 2026. The examples are illustrations, not filing advice, and your own facts can change the answer.
What matters most before you fill in Form 8889
- Employer money goes on line 9, not line 2. The instructions say line 2 excludes employer contributions, and that cafeteria-plan payroll contributions count as employer contributions.
- Line 9 comes from W-2 box 12, code W. Adjust it with the worksheet if some amounts relate to a different year.
- Your limit is shared. Employer and personal contributions together count against one annual limit ($4,300 self-only or $8,550 family for 2025; $4,400 and $8,750 for 2026).
- Form 1099-SA box 1 is gross. It includes everything that left the account, including returned excess contributions and rollovers. You subtract those on line 14b.
- Only unreimbursed qualified medical expenses reduce the taxable amount. You also cannot deduct the same expenses on Schedule A.
- Excess contributions have a deadline. You can avoid the 6% excise tax by withdrawing the excess and its earnings by the return due date, including extensions.
The documents you need and where each number lands
Start by gathering paper. The trustee reports on Form 1099-SA (distributions) and Form 5498-SA (contributions). Your employer reports on the W-2. Your own records fill in the rest: payment confirmations for contributions you made directly and receipts or explanation-of-benefits statements for medical expenses.
| Source document | Box or item | Feeds Form 8889 | What it tells you |
|---|---|---|---|
| W-2 | Box 12, code W | Line 9 | Employer contributions, including payroll deductions made through a cafeteria plan |
| Form 5498-SA | Box 2 | Cross-check for line 2 and line 9 totals | Total HSA contributions made during the calendar year, including prior-year amounts paid in that year and IRA-to-HSA transfers |
| Form 5498-SA | Box 3 | Cross-check, next tax year | Contributions made in the following year but designated for this calendar year |
| Form 5498-SA | Box 4 | Not a contribution on line 2 | Rollover contributions received |
| Form 5498-SA | Box 5 | Not a Form 8889 line | Fair market value of the account on December 31 |
| Form 1099-SA | Box 1 | Line 14a | Gross distribution for the calendar year |
| Form 1099-SA | Box 2 | Part of line 14b if you withdrew excess | Earnings on excess contributions returned |
| Form 1099-SA | Box 3 (code) | Tells you the nature of the payout | Normal, excess return, disability, death, prohibited transaction |
| Your records | Receipts and statements | Line 15 | Unreimbursed qualified medical expenses |
| Your records | Coverage dates and plan type | Lines 1 and 3 | Self-only or family, and months of eligibility |
Sources: IRS Instructions for Form 8889; Instructions for Forms 1099-SA and 5498-SA. Checked November 12, 2026.
What the 1099-SA distribution codes mean
Box 3 of Form 1099-SA carries a code that explains why money left the account. Code 1 is a normal distribution, including a direct payment to a medical provider. Code 2 is an excess contribution returned to you. Code 3 covers distributions after disability. Code 4 is a death distribution to an estate. Code 5 is a prohibited transaction, and code 6 is a death distribution after the year of death to a nonspouse beneficiary other than an estate.
| Code | Meaning (per IRS instructions) | What you usually do |
|---|---|---|
| 1 | Normal distribution, including direct payments to a provider | Report on line 14a; subtract qualified expenses on line 15 |
| 2 | Excess contributions returned | Report on line 14a and 14b; include the earnings as income |
| 3 | Distribution after disability | Report on 14a; the 20% additional tax does not apply after disability |
| 4 | Death distribution to an estate | Reporting differs by the recipient; ask a tax professional |
| 5 | Prohibited transaction | Treat with caution; see the Form 8889 instructions |
| 6 | Death distribution after the year of death to a nonspouse beneficiary | Beneficiary rules apply; the 20% tax does not apply on death |
Source: IRS Instructions for Forms 1099-SA and 5498-SA. Checked November 12, 2026.

Part I: reconciling contributions
Part I decides how much you can deduct and whether anything is excessive. It has four moving pieces: your coverage type, your personal contributions (line 2), your limit (line 3 and related lines), and employer contributions (line 9). The deductible amount (line 13) is the smaller of line 2 and line 12, where line 12 is your limit minus employer contributions and funding distributions.
Two facts here cause most mismatches. First, line 2 includes only your own contributions for the tax year, including those made by the filing deadline for that year. The 2025 instructions say contributions for 2025 can be made through April 15, 2026. Second, a payroll deduction through a cafeteria plan is an employer contribution, so it belongs on line 9 and never on line 2.
| Contribution source | Where it goes | Counts toward the annual limit? | Deductible on Form 8889? |
|---|---|---|---|
| Payroll deduction through an employer cafeteria plan | Line 9 (W-2 code W) | Yes | Excluded from income at the W-2 level; not on line 13 |
| Employer’s own deposit | Line 9 (W-2 code W) | Yes | Excluded from income at the W-2 level; not on line 13 |
| Your own deposit from a bank account | Line 2 | Yes | Yes, up to the limit (line 13) |
| Deposit made in the next year for this tax year | Line 2 if made by the filing deadline | Yes | Yes, if within the limit |
| Qualified HSA funding distribution from an IRA | Line 10 | Yes (reduces your limit) | No; excluded from income instead |
| Rollover from another HSA | Not on line 2 | No | No |
Sources: IRS Instructions for Form 8889; IRS Publication 969. Checked November 12, 2026.
The contribution limits by year
| Item | 2025 | 2026 |
|---|---|---|
| Self-only HDHP maximum contribution | $4,300 | $4,400 |
| Family HDHP maximum contribution | $8,550 | $8,750 |
| Catch-up contribution (age 55 or older) | $1,000 | $1,000 (a fixed statutory amount; confirm on IRS.gov) |
| Minimum HDHP deductible (self-only / family) | $1,650 / $3,300 | $1,700 / $3,400 |
| Maximum out-of-pocket (self-only / family) | $8,300 / $16,600 | $8,500 / $17,000 |
Sources: IRS Instructions for Form 8889 (2025) and IRS Publication 969. Checked November 12, 2026. Figures are indexed each year.
Worked scenarios: employer plus direct contributions
All five scenarios below are illustrations, not real people or current quotes. They use the 2025 limits from the IRS instructions. Each shows what goes on line 2, line 9, line 12 and line 13, and what happens to any excess.
Scenario A: employer money plus your own deposits, over the limit
A worker has self-only HDHP coverage all year. Her W-2 shows $2,500 in box 12, code W, which includes her payroll deferrals plus a small employer match. She also deposits $2,300 from her checking account. Her limit is $4,300. Line 2 is $2,300 (her own deposits only). Line 9 is $2,500. Line 12 is $4,300 minus $2,500, which equals $1,800. Line 13 is the smaller of line 2 and line 12, so she deducts $1,800. Her total contributions are $4,800, which is $500 over the limit.
That $500 is an excess contribution. If she leaves it in the account, it is subject to a 6% excise tax for each year it remains, which is $30 for the first year. To avoid it, she can withdraw the $500 plus its earnings by the due date of her return, including extensions, and report the earnings as income. The withdrawn amount and earnings go on line 14a and 14b, and the trustee reports the return of excess on Form 1099-SA with distribution code 2.
| Line | Item | Amount (illustrative) | Source of the number |
|---|---|---|---|
| 1 | Coverage | Self-only | Your plan records |
| 2 | Your own contributions | $2,300 | Your payment records; Form 5498-SA |
| 3 | Annual limit | $4,300 | IRS instructions (2025) |
| 9 | Employer contributions | $2,500 | W-2 box 12, code W |
| 12 | Limit minus employer money | $1,800 | $4,300 − $2,500 |
| 13 | Deductible amount | $1,800 | Smaller of lines 2 and 12 |
| Excess | Contributions over the limit | $500 | $2,300 + $2,500 − $4,300 |
| Form 5329 | 6% excise tax if left in | $30 per year | $500 × 6% |
Illustrative numbers. Not tax advice.
Scenario B: family coverage with room to spare
A couple has family HDHP coverage for all of 2025. His W-2 shows $3,000 in code W. She makes $4,000 of direct deposits into her own HSA. Both spouses are treated as having family coverage, and the family limit of $8,550 is shared. Total contributions are $7,000, which is $1,550 under the limit. The line 12 limit works out to $5,550 and the deduction is the full $4,000. No excess arises, but the couple must still split the limit properly if each has an HSA, since the IRS instructions allocate it equally unless you agree otherwise.
Scenario C: the last-month rule and the testing period
A person enrolls in a self-only HDHP on October 1, 2025 and is covered on December 1. Under the last-month rule, she is treated as eligible for the full year, so her limit is $4,300 rather than the $1,075 that three months would give (3 divided by 12 times $4,300). The extra $3,225 is allowed only if she remains eligible through the testing period, which Pub. 969 describes as running from December 1 through December 31 of the following year.
If she switches to a non-HDHP plan during the testing period, other than because of death or disability, the $3,225 is added to her income and a 10% additional tax applies, or $322.50. This goes on Part III of Form 8889 (line 18). The takeaway: contributing the full year’s amount for a partial year is not free money. Her coverage choices for the next year matter.
Scenario D: starting Medicare midyear
Medicare enrollment ends your ability to contribute. Your limit drops to zero starting with the first month you are enrolled. Suppose a 66-year-old with self-only coverage enrolls in Medicare Part A effective July 1, 2025. For six eligible months, her limit would be $4,300 times 6 divided by 12, or $2,150, plus a prorated catch-up of $1,000 times 6 divided by 12, or $500, for a total of $2,650. If Medicare coverage is later backdated, contributions made during the retroactive months are treated as excess, according to Pub. 969.
Scenario E: IRA-to-HSA funding distribution
Line 10 covers a qualified HSA funding distribution, a direct trustee-to-trustee transfer from a traditional or Roth IRA. The instructions say it is excluded from income, not deductible, and reduces your contribution limit. You get one per lifetime, it cannot come from an ongoing SEP or SIMPLE IRA, and a 12-month testing period applies. People often forget it shows up in box 2 of Form 5498-SA, so box 2 can exceed what you personally deposited.
| Scenario | Line 2 | Line 9 | Line 12 | Line 13 | Result |
|---|---|---|---|---|---|
| A: single, over the limit | $2,300 | $2,500 | $1,800 | $1,800 | $500 excess; 6% tax unless withdrawn |
| B: family, under the limit | $4,000 | $3,000 | $5,550 | $4,000 | No excess |
| C: last-month rule | Up to $4,300 | varies | varies | varies | $3,225 added to income plus 10% ($322.50) if eligibility ends in testing period |
| D: Medicare July 1 | Up to $2,650 | varies | varies | varies | Limit prorated to six months |
| E: IRA funding distribution | Excluded from line 2 | varies | Limit reduced | varies | Not deductible; excluded from income |
Illustrative scenarios using 2025 limits from IRS instructions. Not personalized advice.
Scenario C and D numbers use the monthly method from the instructions. The actual line 3 worksheet has additional steps, so use it rather than this shortcut for your own return. If a payroll code W figure looks wrong, our guide to missing payroll and direct deposit problems explains how to start the conversation with an employer. If you also made the deposits from a bank, your checking account statements are the best evidence of dates and amounts.

The reconciliation table: employer and direct contributions
This is the table to build before you open the tax software. List every source in a column, tie each to a document, and compare the total to your limit. If your total exceeds the limit, you have an excess to fix before the deadline.
| Step | Question | Where the number comes from | If it does not tie |
|---|---|---|---|
| 1 | What coverage did I have each month? | Insurance cards, plan documents, HDHP status | Use the monthly worksheet; do not assume full year |
| 2 | What did my employer contribute, including payroll deferrals? | W-2 box 12, code W | Ask payroll; do not add it to line 2 |
| 3 | What did I deposit myself? | Bank statements; Form 5498-SA | Check dates; a deposit after year-end may be for the prior year |
| 4 | Did any come from an IRA? | Form 5498-SA box 2; custodian statement | Line 10 treatment applies |
| 5 | What did the trustee report as total contributions? | Form 5498-SA box 2 plus box 3 | Compare with steps 2 through 4 |
| 6 | What is my limit? | IRS instructions and the line 3 chart | Adjust for age 55, spouse, and Medicare |
| 7 | Is the total over the limit? | Add steps 2 through 4; subtract the limit | Plan withdrawal of the excess and earnings |
Original reconciliation worksheet; each step maps to a Form 8889 line. Checked against IRS instructions November 12, 2026.
| Contributor | Amount (illustrative) | Document | Form 8889 line | Counts toward limit |
|---|---|---|---|---|
| Employer match | $1,000 | W-2 box 12, code W | Line 9 | Yes |
| Payroll deferral (cafeteria plan) | $1,500 | W-2 box 12, code W | Line 9 | Yes |
| Direct deposit from bank | $1,800 | Bank statement; 5498-SA | Line 2 | Yes |
| Deposit in 2026 for 2025 | $0 here | 5498-SA box 3 | Line 2 if designated for 2025 | Yes |
| Total | $4,300 | Limit $4,300 self-only (2025) |
Illustrative example of a person at exactly the self-only 2025 limit.
Part II: reconciling Form 1099-SA to your medical expenses
Part II answers one question: how much of what you took out was not spent on unreimbursed qualified medical expenses? Line 14a is the gross distribution from Form 1099-SA box 1. Line 14b subtracts rollovers and any excess contributions (plus earnings) you withdrew by the return due date. Line 15 enters the distributions used for qualified medical expenses that insurance or others did not reimburse and that you incurred after the HSA was established. The remainder is taxable.
Expenses can cover you, your spouse, your dependents and certain other qualifying persons. You cannot also claim the same expenses on Schedule A, so check your itemized deductions if you itemize. You generally do not send receipts with your return, but you should keep records that show each expense was qualified, unreimbursed, and incurred after the account was opened.
Scenario F: withdrawals above your expenses
Say your Form 1099-SA shows $3,200 in box 1 with code 1. Your records show $2,700 of unreimbursed qualified medical expenses paid in that year. Line 14a is $3,200, line 15 is $2,700, and the taxable amount is $500. If you are under 65, not disabled and the exception does not apply, a 20% additional tax applies to the $500, which is $100. At an assumed 22% ordinary tax rate, the $500 adds $110 of income tax. The total federal cost of the shortfall is about $210. State tax, if any, is extra.
Scenario G: a returned excess contribution mixed into box 1
Return to Scenario A, where $500 of excess was withdrawn along with $12 of illustrative earnings. Combined with $3,200 of ordinary distributions, box 1 shows $3,712, with $12 in box 2 and code 2 on the returned excess. Line 14a is $3,712. Line 14b is $512 (the excess plus earnings). That leaves $3,200 to compare with line 15. If the full $2,700 is unreimbursed qualified expenses, the taxable amount is $500, the same as Scenario F. The $12 of earnings is separate: report it as other income, as Pub. 969 describes.
| Step | Scenario F | Scenario G |
|---|---|---|
| 1099-SA box 1 (line 14a) | $3,200 | $3,712 |
| Less rollover or returned excess (line 14b) | $0 | $512 |
| Distributions to test (line 14c) | $3,200 | $3,200 |
| Unreimbursed qualified expenses (line 15) | $2,700 | $2,700 |
| Taxable amount | $500 | $500 |
| 20% additional tax (if no exception) | $100 | $100 |
| Assumed 22% income tax | $110 | $110 |
| Extra income for earnings on excess | $0 | $12 (box 2) |
Illustrative numbers. The 22% bracket is an assumption, not a current rate quote.
Exceptions to the 20% additional tax
The 20% additional tax applies to taxable distributions unless an exception applies. The IRS instructions list death, disability and reaching age 65. Pub. 969 says the same. The exceptions do not remove ordinary income tax on a nonqualified distribution; they only remove the additional 20%.
| Situation | 20% additional tax? | Income tax on non-medical use? | Where decided |
|---|---|---|---|
| Under 65, no disability, not for medical expenses | Yes | Yes | Federal tax code and Form 8889 instructions |
| Age 65 or older | No | Yes, if not for medical expenses | Same |
| Disabled | No | Yes, if not for medical expenses | Same |
| Account holder died; spouse is beneficiary | Spouse treats HSA as own | Depends on use | IRS instructions |
| Account holder died; other beneficiary | Account ends; FMV reported by the beneficiary; 20% does not apply | Yes, with a reduction for medical expenses paid within a year | IRS instructions |
| Prohibited transaction or loan security | Generally yes | Yes | IRS instructions |
Sources: IRS Instructions for Form 8889; IRS Publication 969. Checked November 12, 2026.
If your spouse or you are the beneficiary after a death, the rules differ by relationship. Our guide on bank accounts after death explains the general access problems, but HSAs have their own tax rules, so rely on the Form 8889 instructions for the tax result.
If you filed on time without withdrawing an excess HSA contribution, the IRS still lets you withdraw it up to six months after the due date of your return (excluding extensions). You file an amended return and write “Filed pursuant to section 301.9100-2” at the top. That relief is spelled out in the Form 5329 instructions, not in the Form 8889 ones.
When the numbers do not match: troubleshooting
| Mismatch | Likely cause | How to check | Fix |
|---|---|---|---|
| 5498-SA box 2 is higher than my deposits | Includes employer, payroll and IRA transfers | Add W-2 code W and any IRA transfer | Use the split on the correct lines |
| Total exceeds the limit | Employer money plus your own deposits | Complete the reconciliation table | Withdraw excess plus earnings by the deadline |
| 1099-SA box 1 is larger than I remember | Includes returned excess, rollovers or direct provider payments | Check box 3 code and statements | Subtract on line 14b |
| Box 3 on 5498-SA shows an amount | Contributions made in the next year designated for this year | Compare dates | Include on line 2 if made by the deadline |
| Employer amount differs from the W-2 | W-2 includes payroll deferrals | Request a payroll summary | Use W-2 for line 9 |
| Contribution after Medicare start | Limit is zero from the first month enrolled | Check Medicare effective date | Withdraw the excess |
| Expense receipts are missing | Poor record-keeping | Request explanation of benefits and provider statements | Use only expenses you can document |
Illustrative troubleshooting based on IRS form instructions.
If a payment appears to have been deposited into the wrong account or in the wrong amount, our overview of money deposited by mistake explains how banks usually handle it. For HSA trustees, the Form 1099-SA instructions say a mistaken distribution can be repaid and excluded from income by the due date of the return for the year after you knew or should have known of the mistake.
Documents to keep and how long
| Document | Why it matters | Where to get it | Suggested retention |
|---|---|---|---|
| W-2 (box 12 code W) | Employer contributions | Employer or payroll portal | With tax records |
| Form 5498-SA | Trustee’s contribution report | HSA custodian | With tax records |
| Form 1099-SA | Distributions | HSA custodian | With tax records |
| Receipts and explanation of benefits | Prove qualified, unreimbursed expenses | Provider and insurer | As long as the HSA funds could be used for them |
| Coverage documents and dates | Support limit and last-month rule | Insurer or employer | Through the testing period |
| Form 8889 and any Form 5329 | Your filed return | Your tax software | Per your tax preparer |
Retention periods are not set in the IRS pages cited here; ask your tax professional. Fees on your account can also matter, see our overview of bank account fees.

A decision framework for a mismatch
- Total your contributions by source. Employer (code W), your deposits, IRA transfers.
- Compare to your limit. Adjust for coverage months, age 55, spouse allocation and Medicare.
- If over the limit, check the deadline. Withdrawing the excess plus earnings by the return due date (including extensions) avoids the 6% excise tax.
- Total your distributions. Start with 1099-SA box 1, then subtract rollovers and returned excess.
- Match distributions to unreimbursed qualified expenses. The gap is taxable and may carry the 20% additional tax.
- Check Part III. If you lost HDHP eligibility during a testing period, add the extra amounts back and compute the 10%.
| Option | Best when | Upside | Downside | What to verify |
|---|---|---|---|---|
| Withdraw the excess before the due date | You are over the limit | Avoids the 6% excise tax | Earnings taxed as income; paperwork with trustee | Trustee’s excess-removal form |
| Leave a small excess in | Next year’s limit will absorb it | Avoids paperwork | 6% tax for each year it remains (Form 5329) | Next year’s eligibility |
| Amend a filed return to withdraw | You filed without correcting | Still allowed up to six months after the due date (excluding extensions) | Requires an amended return with the special statement | Form 5329 instructions |
| Pay taxes on a nonqualified withdrawal | You had no qualified expenses | Cash in hand | Income tax plus 20% if under 65 | Exceptions |
| Repay a mistaken distribution | Trustee error or your mistake | Excluded from income | Deadline tied to the following year’s return | Trustee’s process |
Illustrative decision matrix; not individualized advice.

Questions to ask before you file
| Ask this person | Question | Why it matters |
|---|---|---|
| Payroll or HR | Does code W include my payroll deferrals and employer match? | Determines line 9 |
| Payroll or HR | Were any amounts for a different year? | The worksheet adjusts line 9 |
| HSA trustee | Does the 5498-SA split contributions made in the year from those made later for the year? | Affects line 2 timing |
| HSA trustee | How do I return an excess contribution and its earnings? | Deadline tied to your return |
| HSA trustee | Will the 1099-SA show code 2 for the returned excess? | Reporting accuracy |
| Insurer or plan | Was my plan an HDHP every month? | Affects the limit |
| Tax preparer | Do I have Medicare or a spouse’s coverage that changes my limit? | Prorating and family rules |
| Tax preparer | Do my receipts support unreimbursed qualified expenses? | Line 15 |
Glossary of HSA reconciliation terms
| Term | Plain-English meaning | Why it matters | Common confusion |
|---|---|---|---|
| HDHP | High deductible health plan that meets IRS thresholds | You must be covered to contribute | Not every high deductible plan qualifies |
| Code W | W-2 box 12 code for employer HSA contributions | Feeds line 9 | Includes payroll deferrals |
| Excess contribution | Amount above your annual limit | 6% excise tax per year if left in | Employer money counts |
| Last-month rule | Treats you as eligible all year if eligible December 1 | Allows the full limit | Triggers a testing period |
| Testing period | Period after using the last-month rule | Loss of eligibility adds income plus 10% | Different from a calendar year |
| Qualified medical expenses | Unreimbursed medical costs incurred after HSA opening | Make a distribution tax-free | Cannot also be on Schedule A |
| Rollover | Move from one HSA to another | Reported on line 14b | Not a contribution on line 2 |
Frequently asked questions
What is HSA form 8889 reconciliation?
It is the process of matching the numbers on your W-2, Form 5498-SA and Form 1099-SA to the lines on Form 8889 before you file. Part I reconciles contributions: your own deposits go on line 2, employer money from W-2 box 12 code W goes on line 9, and the combined total must stay within your annual limit. Part II reconciles distributions: Form 1099-SA box 1 goes on line 14a, and unreimbursed qualified medical expenses go on line 15. Any difference becomes taxable, and an unexplained excess can cost a 6% excise tax. Doing the match first prevents most of the notices people receive.
Where do employer contributions go on Form 8889?
Employer contributions go on line 9, using the amount in box 12 of your W-2 with code W. The Form 8889 instructions say line 2 excludes employer contributions, and that payroll contributions made through a cafeteria plan count as employer contributions. That means money you chose to have deducted from your paycheck is still treated as employer money for this form. If some of the W-2 amount relates to a different year, the instructions provide a worksheet to adjust line 9. Do not list the same dollars on both lines, because that would overstate your contributions and could produce a phantom excess.
How do I know if I over-contributed to my HSA?
Add your own contributions, employer contributions (code W), and any qualified HSA funding distribution from an IRA, then compare the total to your limit. For 2025 the limits are $4,300 for self-only and $8,550 for family coverage, plus $1,000 if you are 55 or older; for 2026 they are $4,400 and $8,750. Adjust for months of eligibility, a spouse’s coverage, and Medicare enrollment. If your total exceeds the limit, the excess is not deductible and is subject to a 6% excise tax each year it stays in the account. Form 5329 reports that tax if you do not withdraw it in time.
How do I remove an excess HSA contribution?
Ask your HSA trustee for its excess-removal process. You withdraw the excess plus the earnings on it by the due date of your return, including extensions, and you report the earnings as income. The excess and earnings appear on Form 1099-SA with code 2 and go on lines 14a and 14b of Form 8889. If you filed on time without withdrawing it, the Form 5329 instructions allow withdrawal up to six months after the due date, excluding extensions, using an amended return that has the statement “Filed pursuant to section 301.9100-2” at the top. Trustees differ in forms and cutoffs, so start early.
Why is my Form 5498-SA total different from what I deposited?
Box 2 of Form 5498-SA reports total contributions made during the calendar year. That includes your deposits, employer contributions, contributions for the prior year made in the calendar year, and qualified HSA funding distributions from an IRA. Box 3 reports contributions made in the following year for the calendar year. Rollovers appear in box 4 and are not counted in box 2. Because of these rules, the trustee’s total can be higher than your own deposits or can include amounts that belong to a different tax year. Reconcile it with your W-2 and bank statements.
What is the 20% additional tax on HSA withdrawals?
A 20% additional tax applies to the taxable part of a distribution, meaning the amount not used for unreimbursed qualified medical expenses, unless an exception applies. The exceptions in the IRS instructions are death, disability and reaching age 65. Even when an exception applies, the taxable amount is still included in ordinary income. For example, a $500 nonqualified withdrawal at age 40 would add $100 of additional tax plus ordinary income tax. At age 66, the $100 would not apply, but the $500 would still be taxable. Form 8889 line 17a and 17b report this.
Can I deduct HSA contributions made through my employer?
Employer contributions, including payroll deductions under a cafeteria plan, are excluded from your wages, so you do not deduct them on Form 8889. They count toward your annual limit and appear on line 9. The deductible amount on line 13 covers your own contributions made outside payroll, up to the smaller of line 2 or line 12. If you contributed both through payroll and directly, the combination must stay within your limit. A common pattern is someone who maxes out payroll deferrals and then makes an extra direct deposit, which creates an excess.
How does the last-month rule affect my return?
If you are an eligible individual on December 1, you are treated as eligible for the whole year, which can raise your limit beyond what the months you were covered would allow. The cost is the testing period, which runs from December 1 through December 31 of the following year in Pub. 969. If you lose eligibility during it, other than through death or disability, the extra contributions are added to your income and a 10% additional tax applies. That is reported in Part III. If you are not sure you will stay in an HDHP next year, contribute prorated amounts instead.
What happens to my HSA if I enroll in Medicare?
Your contribution limit drops to zero starting with the first month you are enrolled in Medicare. You can still spend the HSA on qualified medical expenses. If Medicare coverage is backdated, contributions you made for the retroactive months are treated as excess. If you are working past 65, ask your HR team how your enrollment date will be set, and prorate your contributions for the months before it. The account itself remains yours, and distributions for qualified medical expenses stay tax-free.
Do I need to keep receipts if I never file them?
Yes. Form 8889 line 15 is based on your own claim that distributions covered qualified, unreimbursed medical expenses incurred after the HSA was established. You do not send receipts with your return, but you need records that support the claim if the IRS asks. Keep explanation of benefits statements, provider bills, proof of payment, and notes showing you did not claim the same expense on Schedule A. Also keep the Form 1099-SA, Form 5498-SA, W-2 and the reconciliation table you built. The IRS pages cited here do not set a single retention period, so ask your tax preparer how long to keep them.
Bottom Line
HSA form 8889 reconciliation comes down to two tests. In Part I, your own deposits and your employer’s contributions together must stay within your annual limit, and the employer’s share comes from W-2 box 12, code W, on line 9. In Part II, the gross distribution on Form 1099-SA must be matched against unreimbursed qualified medical expenses, and whatever is left over is taxable and often carries a 20% additional tax.
Most mismatches trace to payroll deferrals counted as personal deposits, a deposit made after year-end, or a returned excess that sits inside box 1. Build the reconciliation table first, then fix any excess before the return due date, including extensions. Keep your receipts and your trustee forms with your return. If your facts include Medicare, a spouse’s coverage or an IRA transfer, have a tax professional review the limit before you file.
Sources
- IRS: Instructions for Form 8889 (2025)
- IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
- IRS: Instructions for Forms 1099-SA and 5498-SA
- IRS: Instructions for Form 5329
- IRS: About Form 8889, Health Savings Accounts
- IRS: General Instructions for Forms W-2 and W-3
Facts checked November 12, 2026
By the Banktimer Editorial Team · Published
Banktimer is an independent U.S. consumer-finance publication. Our editors draw on primary and official sources first, such as the CFPB, FDIC, Federal Reserve, and FTC, along with statutes, regulations, and providers’ own agreements and fee schedules. Then we add worked examples and decision tools. Our goal is the most useful, best-supported explanation the sources available to us at the time of writing allow.
This article is general information, not legal, tax, investment, insurance, or financial advice, and reading it does not create a professional relationship with Banktimer. Rates, fees, limits, and rules change, and they vary by state, provider, and contract, so confirm current terms with your bank, lender, insurer, or the agency named in the article before you act. Examples are illustrative unless labeled otherwise. Banktimer is not a bank, lender, insurer, or financial advisor, and we are not responsible for decisions or losses that result from relying on this content. For advice about your own situation, talk to a licensed professional.
Related: Medicare Enrollment While Still Working: HSA and Employer Coverage Questions
