Generally, employer contributions to an employee's health savings account, or HSA, are exempt from federal income tax withholding, Social Security tax, Medicare tax, and federal unemployment tax if the employer reasonably believes the contribution is excludable when it is made. Employee contributions through a qualifying Section 125 cafeteria plan generally get the same payroll treatment. Ordinary after-tax payroll deductions leave the employee's wages subject to payroll taxes. Contributions for certain owners, including more-than-2-percent S corporation shareholders, follow different rules. IRS Publication 15, Employer's Tax Guide · IRS Publication 15-B, Employer's Tax Guide to Fringe Benefits
Identify who funded the HSA and how
A business can contribute its own funds to an eligible employee's HSA. It may make a fixed contribution, contribute in installments, or use another method permitted by its arrangement and applicable rules. When the employer reasonably believes the contribution will be excludable, that employer contribution generally stays outside federal taxable payroll wages. Keep records of the employer funding, HSA enrollment, and date the contribution was paid. IRS Publication 15, Health Savings Accounts
An employee can also elect to make HSA contributions through salary reduction under a qualifying cafeteria plan. Although the contribution comes from pay the employee elected to give up, federal reporting treats the contribution as an employer contribution for HSA purposes. Review the plan document and the employee's election. The method of payroll processing determines whether the amount is treated as a pretax salary reduction or as an after-tax deduction. IRS Publication 15-B, Health Savings Accounts · IRS instructions for Form 8889
If the employer simply withholds money from after-tax pay and sends it to the employee's HSA, the deduction generally does not reduce federal wages or employment taxes. An eligible employee may be able to claim the contribution as an HSA deduction on their individual return, subject to the HSA rules. A later income tax deduction does not change how the employer should have taxed the wages during payroll. Keep payroll codes and descriptions clear enough to distinguish the after-tax deduction from a cafeteria plan election. IRS Publication 15 · IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Check the employee's HSA eligibility and limit
An individual generally must have qualifying coverage, such as an HSA-compatible high deductible health plan, and meet the other requirements. The rules generally restrict other disqualifying coverage, Medicare enrollment, and being eligible to be claimed as someone else's dependent. Eligibility is generally determined monthly using the first day of the month. Some types of other coverage are permitted. Review the plan details, including any arrangements that could cover the employee through a spouse or another job, before assuming the contribution qualifies. 26 U.S.C. § 223 · IRS Publication 969
For 2026, the general annual HSA contribution limits are $4,400 for self-only coverage and $8,750 for family coverage. An eligible individual age 55 or older can generally contribute an additional $1,000, subject to the applicable rules. Employer funding, cafeteria plan amounts, and other ordinary contributions for the individual generally share the applicable limit. Someone who changes coverage or becomes eligible during the year may have a lower limit, unless a special rule applies. The last-month rule can allow a higher contribution based on eligibility at year end, but it has a testing period and consequences if an individual fails to remain eligible. IRS Revenue Procedure 2025-19 · IRS instructions for Form 8889
For example, suppose you contribute $1,200 of company funds for an employee in 2026 and the employee contributes $2,400 through your cafeteria plan. If the employee has qualifying self-only coverage for the full year, no catch-up amount, and no other contributions, the combined $3,600 is below the general $4,400 limit. An additional personal contribution must still be coordinated with funding from employers and other sources. If the employee tells you about a midyear change to their coverage, review the applicable limit and the facts known when you make each payment. IRS Publication 969 · IRS instructions for Form 8889
Report employer and pretax contributions with Code W
Report employer contributions, including eligible employee contributions through a cafeteria plan, in Box 12 of Form W-2 using Code W. The Code W amount identifies the HSA contributions and does not by itself indicate that the amount is taxable wages. When it was reasonable to believe the amount was excludable, the contribution generally is not included in the applicable federal taxable wage boxes. If the excludability test is not met at the time of payment, the W-2 instructions generally require taxable amounts in Boxes 1, 3, and 5, subject to the rules for each wage base. Check Form 940 treatment as well. IRS General Instructions for Forms W-2 and W-3 · IRS Publication 15
Suppose an employer funds $900 and an employee elects $1,800 of contributions through a valid cafeteria plan. Under the usual assumptions, Code W reflects $2,700. If the same employee also sends $500 to the HSA independently using after-tax funds, that personal deposit does not increase the employer's Code W figure. The employee checks total contributions on Form 8889 using the W-2 and the account records. Keep the employer's contribution report and the salary reduction election with the payroll records. IRS instructions for Form 8889 · IRS General Instructions for Forms W-2 and W-3
Use the actual deposit records to verify the amount and year the administrator applied. The W-2 instructions and HSA rules address circumstances where a contribution is paid in one calendar year and designated for another tax year. Review those rules before reassigning a deposit solely because of its payroll posting date. If the employer sends money near the annual deadline, confirm that the custodian received it and designated the intended contribution year. IRS Publication 969 · IRS instructions for Form 8889
Distinguish a payroll error from an individual excess contribution
Review the facts available when each contribution was made. If the employer reasonably believed that the contribution would be excluded at that time, its payroll reporting can differ from what the employee later reports on an individual return. The employee may discover that a contribution from another employer, a personal deposit, or retroactive Medicare enrollment reduced their room for the year. In that case, the employee should review the Form 8889 instructions and the process for addressing excess contributions. The question of what the employer could reasonably believe at payment requires its own analysis. IRS Publication 15 · IRS instructions for Form 8889, Excess Contributions
If an employer knows that the employee lacks eligible coverage or that some planned funding is not excludable, stop and determine how to handle future contributions and any amount already paid. For example, HR may learn of a midyear switch to a nonqualifying plan before payroll processes the next employer contribution. Verify the eligible months and amounts, and check when the change took effect. Document what information the employer had on each payment date. If a contribution was improperly treated as exempt, review the federal wage and employment tax correction rules. IRS General Instructions for Forms W-2 and W-3 · IRS Publication 15-B
Employers generally cannot demand that amounts already in an employee's HSA be returned whenever they discover an error. The IRS has guidance addressing certain mistaken contributions and when corrections can be made. Verify the specific facts with the HSA custodian and payroll provider. If the issue instead involves the employee's personal excess from deposits across multiple sources, the employee can ask the custodian how to request a corrective distribution and account for any earnings. Publication 969 and the Form 8889 instructions describe federal timing and potential excise taxes. IRS Notice 2008-59, HSA Questions and Answers · IRS Publication 969
Apply special treatment for owners
A sole proprietor is generally not their own employee for this purpose. A payment from business funds to the proprietor's HSA generally requires an individual contribution analysis under Section 223. The eligible owner can review a personal HSA deduction using Form 8889. For a partner, a payment by the partnership can have different treatment depending on whether it is a distribution or guaranteed payment. Notice 2005-8 explains how those arrangements affect partnership expenses, the partner's income, and in some cases self-employment earnings. IRS Notice 2005-8 · IRS Publication 969
A more-than-2-percent S corporation shareholder-employee is generally ineligible for pretax HSA salary reduction as a cafeteria plan employee. An S corporation contribution for services rendered is generally included in the shareholder's gross income and in wages for income tax withholding. According to IRS Notice 2005-8, it can be outside Social Security and Medicare wages if the statutory exclusion requirements are satisfied. The eligible shareholder then determines the individual deduction under Section 223. Review the employment tax and information reporting rules for the owner separately from the ordinary Code W treatment for employees. IRS Notice 2005-8 · IRS Publication 15-B
For example, a corporation may contribute the same dollar amount for an ordinary employee and a shareholder-employee, even though the tax reporting differs. Check each person's status, whether the owner meets the share ownership and attribution rules, and how the plan is structured. If an employee has a premium reimbursement as well as an HSA contribution, record each benefit separately. Health insurance premiums for an S corporation owner follow their own requirements and should be reconciled independently. IRS Notice 2005-8 · AE Tax Advisors guide to reporting S corporation owner health insurance
Review employer contribution design
Employer contributions outside a cafeteria plan can be subject to HSA comparability rules. Employer contributions through a cafeteria plan are generally subject to the applicable cafeteria plan nondiscrimination rules instead. Confirm the arrangement before offering different amounts to employees based on coverage or employment category. Keep the policy describing how the amount is determined and records of which workers could participate. Review exceptions and special cases with the administrator if contributions differ among groups. IRS Publication 15-B, Comparable Contributions · 26 U.S.C. § 4980G
For example, an employer may offer a contribution to employees with eligible self-only coverage and a separate contribution for eligible family coverage. Ask the provider to explain the comparability or nondiscrimination rules for that design and how to document the employee groups. If an employee has not yet opened an HSA, review the rules for notifying that employee and handling the contribution. Keep eligibility records, any plan amendment, and documentation of amounts the company offered or funded. IRS Publication 15-B
Reconcile the payroll, account, and forms
Build a contribution worksheet by employee. Include company funding, pretax salary reduction, any after-tax payroll amounts, relevant coverage dates, and the date funds reached the custodian. Check the payroll summaries, bank payments, and HSA administrator's confirmations. Confirm that the taxable wage boxes and Code W reflect the correct contribution classifications. If the payment was taxable wages, review related employment tax returns and applicable deposit rules. Verify state and local treatment separately because this federal analysis does not determine every state payroll entry. IRS Publication 15 · IRS General Instructions for Forms W-2 and W-3
Give employees enough information to identify the deposits on their individual returns, especially if a contribution was designated for a different year or a correction was made. The employee may receive Form 5498-SA from the trustee and use the applicable instructions to reconcile it with Form W-2 and contribution records. The employee should avoid deducting an excludable employer contribution separately. Keep evidence of account payments and employee notifications. Employees who also pay for insurance premiums need to distinguish those amounts from HSA deposits when reviewing their returns. IRS instructions for Form 8889 · AE Tax Advisors guide to self-employed health insurance
If a W-2 error is discovered after filing, determine whether a corrected Form W-2 is required and whether related employment tax filings need review. Preserve the facts used in the correction, the corrected wage totals, and documentation given to the employee. An administrative mismatch and an excess contribution can require different action. Verify the account records, payroll reports, and eligibility dates before deciding how to proceed. Save the adjustment and approval with the original calculation. IRS General Instructions for Forms W-2 and W-3 · IRS instructions for Form 8889
Work through a change of coverage and employer
Assume an employee starts the year with an eligible self-only plan. The employer contributes $100 each month, and the employee elects an additional $200 of monthly salary reduction through the cafeteria plan. In July, the employee joins a spouse's health coverage and informs payroll. Review the terms of the new coverage and the effective date before processing further contributions. If the new coverage is disqualifying, determine the employee's eligible months and how the contribution limit applies. Confirm which contributions were made before the employer learned of the change. IRS Publication 969 · IRS Publication 15
Now suppose the employee changes jobs later in the year and receives HSA funding from the new employer. Each employer needs to report the contributions it made, but the employee must review the total from both plans and any personal deposits. Compare each Form W-2 with account records. If the annual total is excessive, follow the individual excess contribution procedures and evaluate whether either employer had its own payroll error. Retain the dates of contributions and any information sent to the employers. IRS instructions for Form 8889 · IRS General Instructions for Forms W-2 and W-3
Test the payroll setup before the first contribution
Set up separate payroll items for direct employer funding, employee salary reduction under a qualifying cafeteria plan, and after-tax withholding. Run a test payroll or review a representative payroll report. Confirm that the system uses the intended pretax or after-tax treatment and that the annual reporting fields are correct. Verify that a company contribution does not appear as another employee withholding. Check that a payroll deduction passed on after tax does not reduce federal payroll wages. Have the person preparing the annual forms review the treatment for any owners or partners separately. IRS Publication 15 · IRS General Instructions for Forms W-2 and W-3
When finalizing the year, compare the total claimed as Code W with funds actually paid and the custodian's statements. Check for a missing or rejected deposit and document how it was resolved. If an employee elected a different amount late in the year, reconcile the old and new elections to the pay period where the change took effect. Keep any corrected file from the custodian alongside the original payroll records. Give the employee a clear summary of the amounts they need when the deposit or reporting year differs from what appears in a statement. Save the final reconciliation with the employer's filing records.
If your company changes administrators, export the prior custodian's contribution records before access ends. Retain detail by employee, payment date, and contribution type. Compare the closing file to the opening balances and deposits under the new administrator. In particular, verify payments that were sent during the transition and credited later. Record who resolved any differences so the payroll team can explain the final contribution totals at filing time.