How to fill out a W-2, step by step

Filling out a W-2 is mostly copying year-end payroll totals into the right boxes. The care is in the few boxes that don't equal gross pay, and in getting the employee's name and SSN exactly right.

Before you start

  • Your EIN, legal name and address as on Form 941 or 944, and your state employer ID.
  • Each employee's name and SSN from their Social Security card, and current address.
  • Year-to-date totals from the last payroll of the year: gross pay, each pre-tax deduction, federal, Social Security, Medicare, state and local tax withheld.

Step by step

  1. Boxes a–f: the employee's SSN, your EIN, your name and address, and the employee's name and address.
  2. Box 1: gross pay minus pre-tax deductions such as 401(k) deferrals and cafeteria-plan health premiums. Add taxable fringe benefits.
  3. Box 2: federal income tax withheld for the year.
  4. Boxes 3–6: Social Security wages (up to the wage base) and 6.2% tax; Medicare wages (all) and tax including Additional Medicare Tax.
  5. Boxes 7–8: reported and allocated tips, if any.
  6. Box 10: dependent care benefits.
  7. Box 12: coded amounts — D for 401(k) deferrals, DD for health coverage cost, W for HSA, and the new TP/TT for tips and overtime.
  8. Box 13: tick retirement plan if the employee was an active participant.
  9. Box 14: anything else you report to the employee; box 14b for tipped occupations.
  10. Boxes 15–20: state and local wages and tax, one line per state.

Check before you send

  • Boxes 3 and 5 are at least as large as box 1 for most employees with 401(k) deferrals.
  • Box 4 is 6.2% of box 3; box 6 is 1.45% of box 5 (plus 0.9% over $200,000).
  • The totals across all W-2s match your four 941s for the year.
  • The name matches the Social Security card.

Deadline

Employee copies and Copy A for the SSA are due February 1, 2027.

Tax year 2026 · Updated November 16, 2026. General information, not tax or legal advice.

Sources

Tax forms must report payments that were actually made. Creating a W-2 or 1099 with false income, or with another person's identifying information without authority, is prohibited by our Terms of Service and may be a crime.

Questions

Where do I get the numbers for a W-2?

From your payroll records — the year-to-date totals on the last pay stub of the year are the starting point, adjusted for the boxes that exclude pre-tax deductions.