How to fill out a W-2, box by box
A W-2 reports one employee's pay for the year and the taxes withheld from it. Most boxes come straight from your payroll totals. Social Security and Medicare follow from the wages at the 2026 rates: 6.2% up to $184,500, and 1.45% on all of them.
Updated , from the IRS pages listed at the end.
- Social Security
- 6.2%
- of wages up to $184,500
- Medicare
- 1.45%
- plus 0.9% over $200,000
- Due
- Feb 1
- 2027, employee and SSA
- E-file from
- 10
- information returns
Before you start
- Your employer identification number (EIN), business name and address.
- The employee's name, address and Social Security number.
- The year's totals from payroll: wages, tips, pre-tax deferrals, and the federal, state and local tax withheld. The year's last pay stub shows them as year-to-date totals.
Box by box
| Box | What it is | How to fill it in |
|---|---|---|
| a | Employee's Social Security number | The employee's nine-digit Social Security number. |
| b | Employer identification number (EIN) | Your nine-digit employer identification number, written 00-0000000. |
| c | Employer's name, address and ZIP code | Your business name and address. |
| e, f | Employee's name, address and ZIP code | The employee's name and address. |
| 1 | Wages, tips, other compensation (federal taxable wages) | All taxable pay for the year: wages, tips, bonuses and other compensation. Leave out elective deferrals such as 401(k) contributions. |
| 2 | Federal income tax withheld | The federal income tax you withheld over the year. |
| 3 | Social Security wages | Wages subject to Social Security tax, 401(k) deferrals included. Boxes 3 and 7 together stop at $184,500. |
| 4 | Social Security tax withheld | The Social Security tax withheld: 6.2% of boxes 3 and 7. |
| 5 | Medicare wages and tips | Wages and tips subject to Medicare tax: the same as Social Security's, with no wage base. |
| 6 | Medicare tax withheld | The Medicare tax withheld: 1.45% of box 5, plus the 0.9% Additional Medicare Tax on wages over $200,000. |
| 7 | Social Security tips | Tips the employee reported to you. |
| 8 | Allocated tips | Tips you allocated to the employee, if you allocate tips. |
| 10 | Dependent care benefits | Dependent care benefits you provided. |
| 11 | Nonqualified plans | Distributions from a nonqualified deferred compensation plan. |
| 12a–d | Codes for other pay and benefits | Up to 4 codes with their amounts: the box 12 codes guide. |
| 13 | Statutory employee, retirement plan, third-party sick pay | Check what applies: statutory employee, retirement plan (an active participant in your plan during the year) or third-party sick pay. |
| 14 | Other | Other information for the employee, each item labelled: the instructions' examples include state disability insurance taxes withheld and union dues. 14b holds the tipped occupation codes when box 12 has code TP. |
| 15–17 | State, employer's state ID, state wages and state income tax | Your state, your state ID number, the state wages and the state income tax withheld. |
| 18–20 | Local wages, local income tax and locality name | The same for a local income tax, where one applies. |
Two worked examples
The same boxes for two employees in 2026, worked out at the 2026 rates. Box 2 is whatever federal tax you withheld over the year.
| Box | $60,000 salary, $3,000 to a 401(k) | $210,000 salary, no deferrals |
|---|---|---|
| 1 | $57,000.00 | $210,000.00 |
| 3 | $60,000.00 | $184,500.00 |
| 4 | $3,720.00 | $11,439.00 |
| 5 | $60,000.00 | $210,000.00 |
| 6 | $870.00 | $3,135.00 |
| 12a | D 3000.00 | Empty |
In the first, the 401(k) deferral comes out of box 1 but not boxes 3 and 5, and goes in box 12 as code D. In the second, Social Security stops at the $184,500 wage base:
“The total of boxes 3 and 7 cannot exceed $184,500 (2026 maximum social security wage base).”
Medicare doesn't stop, and the $10,000 over $200,000 adds 0.9% of Additional Medicare Tax to box 6.
After you fill it in
- Give the employee Copies B, C and 2 by February 1, 2027. Keep Copy D.
- Send Copy A to the SSA with Form W-3 by February 1, 2027: on the official red-ink form, or filed electronically through SSA Business Services Online. With 10 or more information returns, you must file electronically.
Making a W-2 here
The W-2 generator fills boxes a to f, 1 to 6, 12 to 14 and the state line (15 to 17). Enter the wages and the tax withheld, and boxes 3 to 6 fill in from box 1 at the 2026 rates; change them where they differ, as with a 401(k) deferral. Answer “Yes, add it” for up to 4 box 12 codes, the box 13 checks and labelled box 14 lines; in a state with a disability or paid leave programme, box 14 starts with its 2026 amounts on box 5's wages, to keep or remove. You get Copies B, C, 2 and D as one PDF; see pricing.
Fill in the figures once and check the live preview before you pay. You pay per form, with no subscription.
More guides
W-2 vs 1099: employee or contractor?
Who counts as an employee, who withholds what, and which form each worker gets.W-2 box 12 codes, explained
Every code in one table, grouped by what it reports, with the new 2026 codes.When are 1099s due? The 2027 dates for tax year 2026
Every 2027 date for the 1099-NEC and 1099-MISC, and why each falls where it does.The 1099 threshold for 2026: $2,000
$2,000 for contractors paid in 2026, the 1099-MISC amounts, and what you never report.1099-NEC vs 1099-MISC: which form do you need?
What each form reports, side by side, and where attorney payments go.
Sources, checked Nov 30, 2026