Skip to content
PayStub Express Create a pay stub

How to fill out a W-2, box by box (2026)

A W-2 reports one employee’s pay and withholding for the year. Boxes a–f identify the employer and employee. Boxes 1–6 show wages and federal, Social Security and Medicare tax. Box 12 adds coded items such as 401(k) deferrals and, new for 2026, tips (TP) and overtime (TT). Boxes 15–20 cover state and local tax. Every figure comes from the final payroll totals for the year.

Based on the IRS General Instructions for Forms W-2 and W-3 for 2026, checked November 19, 2026.

Employer and employee boxes (a–f)

BoxWhat goes in it
aEmployee’s Social Security number, exactly as on their card
bEmployer identification number (EIN)
cEmployer’s name, address and ZIP code
dControl number (optional, for your own records)
e, fEmployee’s name as on their Social Security card, and their address

A name or SSN that doesn’t match Social Security’s records is one of the most common W-2 errors. Check them against the employee’s Form W-4 and Social Security card before you file.

Wages and federal taxes (boxes 1–11)

BoxNameWhat goes in it
1Wages, tips, other compensationPay subject to federal income tax: wages, bonuses, taxable benefits and reported tips, minus pre-tax deductions such as traditional 401(k) and cafeteria-plan health premiums
2Federal income tax withheldTotal federal income tax withheld for the year
3Social Security wagesWages subject to Social Security tax, up to $184,500 for 2026. Traditional 401(k) deferrals are included
4Social Security tax withheldThe employee’s 6.2% share, which should equal 6.2% of box 3
5Medicare wages and tipsWages subject to Medicare tax. There is no cap
6Medicare tax withheld1.45% of box 5, plus 0.9% Additional Medicare Tax on wages over $200,000
7Social Security tipsTips the employee reported to you
8Allocated tipsTips allocated to the employee (certain food and beverage businesses)
10Dependent care benefitsDependent care assistance paid or provided
11Nonqualified plansDistributions from nonqualified deferred compensation plans

Box 1 is often lower than the year-to-date gross on the final pay stub. See why the pay stub and W-2 don’t match for a worked reconciliation.

Box 12 codes, including the new 2026 codes

Box 12 holds a letter code and an amount. Up to four entries fit on a paper form; use another W-2 if you need more. These are the codes most small employers use:

CodeReports
TP newTotal cash tips the employee reported to you
TT newTotal qualified overtime compensation
TA newEmployer contributions to a Trump account for the employee or a dependent
DElective deferrals to a 401(k)
EElective deferrals to a 403(b)
AADesignated Roth contributions to a 401(k)
WEmployer contributions to a health savings account (HSA), including employee contributions through a cafeteria plan
DDCost of employer-sponsored health coverage (for information only, not taxable)
CTaxable cost of group-term life insurance over $50,000

Boxes 13 and 14

  • Box 13: three checkboxes. Check “Statutory employee” only for that special category, “Retirement plan” if the employee was an active participant in a plan such as a 401(k) during the year, and “Third-party sick pay” if it applies.
  • Box 14a, Other (what used to be box 14): optional information for the employee, such as state disability insurance, union dues or after-tax health premiums.
  • Box 14b (new for 2026): the Treasury Tipped Occupation Code for employees who receive tips.

State and local boxes (15–20)

Box 15 is the state and your state employer ID. Box 16 is state wages and box 17 state income tax withheld. Boxes 18–20 are local wages, local income tax and the locality name, for cities and counties with their own income tax. In states with no income tax, such as Florida and Texas, these boxes are usually left blank.

Box 16 often matches box 1, but not always. Pennsylvania, for example, taxes employee 401(k) contributions, so box 16 can be higher than box 1 there. See your state’s payroll rules.

Worked example

A salaried employee earned $52,000 in 2026 and put 5% of pay ($2,600) into a traditional 401(k). Federal income tax withheld is illustrative.

BoxAmountWhy
1 Wages$49,400.00$52,000 minus the $2,600 pre-tax 401(k) deferral
2 Federal tax withheld$3,900.00Illustrative; depends on the employee’s W-4
3 Social Security wages$52,000.00401(k) deferrals are still subject to Social Security
4 Social Security tax$3,224.006.2% of $52,000
5 Medicare wages$52,000.00Same as box 3 here
6 Medicare tax$754.001.45% of $52,000
12aD $2,600.00The 401(k) deferral
13Retirement plan ✓Active participant in the 401(k)

The final pay stub of the year should agree with this. Its year-to-date gross is $52,000, its YTD 401(k) is $2,600, and its YTD Social Security and Medicare match boxes 4 and 6. See how YTD totals work and a complete sample pay stub.

Before you send it: five checks

  1. Box 4 equals 6.2% of box 3, and box 3 is no more than $184,500.
  2. Box 6 equals 1.45% of box 5, plus 0.9% on wages over $200,000.
  3. Box 1 equals gross pay minus the pre-tax deductions you listed.
  4. The employee’s name and SSN match their Social Security card.
  5. The totals across all W-2s match your four quarterly Forms 941 and your W-3.

Copies go to the employee and to the Social Security Administration by the February 1, 2027 deadline. The W-2 generator lays out the employee copy from your totals and shows a watermarked preview first.

Create a W-2 employee copy

W-2 questions

Why is box 1 lower than my salary?

Pre-tax deductions such as traditional 401(k) contributions, pre-tax health premiums and HSA contributions through a cafeteria plan are left out of box 1. Box 3 and box 5 can be higher because 401(k) deferrals are still subject to Social Security and Medicare.

Why are box 1, box 3 and box 5 different?

Each box uses a different definition of wages. Box 1 is wages for income tax, box 3 is wages for Social Security (capped at $184,500 for 2026) and box 5 is wages for Medicare (no cap). Different deductions are excluded from each.

What are box 12 codes TP and TT?

New for 2026. Code TP reports the total cash tips the employee reported to you, and code TT reports the total qualified overtime compensation. Employees use them to figure the new deductions for tips and overtime on their tax return.

What changed in box 14?

For 2026, box 14 is split. Box 14a is for other information you choose to report, such as state disability insurance or union dues. Box 14b is new and holds the Treasury Tipped Occupation Code for employees who receive tips.

Where do the W-2 numbers come from?

From payroll. The year-to-date column on the final pay stub of the year usually matches boxes 1 to 6 once pre-tax deductions are accounted for. If they don’t match, find out why before you file.

Source: IRS: General Instructions for Forms W-2 and W-3 (2026). General information, not tax advice. Employers file Copy A with the SSA, typically through SSA Business Services Online.

Ready to create your pay stub?

$1 per pay stub. Watermarked preview before you pay.

Create a pay stub

$1 per pay stub

Preview first. No subscription.

Create a pay stub