Hours, wages and pay rules · Updated 2026-12-06
Your W-2 is your employer's yearly report of what you were paid and what was withheld. Box 1 is your taxable wages for federal income tax, Box 2 is federal income tax withheld, and Boxes 3 through 6 cover Social Security and Medicare. Boxes 12 and 14 hold extras like retirement savings and benefits. The last boxes cover state and local tax.
The number that surprises people is Box 1. It is often lower than the salary you were promised, and that is usually correct.
The top: who is who
- Box a: your Social Security number.
- Box b: your employer's EIN, its tax ID.
- Box c: your employer's name and address.
- Boxes e and f: your name and address.
Check these first. A wrong digit in your Social Security number causes headaches later. If anything is wrong, ask your employer for a corrected W-2 before you file.
Wages and federal tax: Boxes 1 and 2
Box 1: wages, tips and other compensation. This is the amount of pay that counts for federal income tax. It leaves out some things that came out of your paycheck before tax, such as traditional 401(k) contributions and certain benefit premiums.
Box 2: federal income tax withheld. The total taken out through the year, based on your Form W-4. It is not your final tax bill. Your return settles up. See federal income tax withholding explained.
Social Security and Medicare: Boxes 3 to 8
| Box | What it shows |
|---|---|
| 3 | Social Security wages |
| 4 | Social Security tax withheld |
| 5 | Medicare wages and tips |
| 6 | Medicare tax withheld |
| 7 | Social Security tips |
| 8 | Allocated tips |
Box 3 stops at the Social Security wage base, $184,500 for the current year. Box 5 is not limited by that wage base, because Medicare tax applies to all wages. So a high earner may see Box 5 larger than Box 3.
Box 4 should come out near 6.2% of Box 3, and Box 6 near 1.45% of Box 5, plus the extra Medicare tax of 0.9% on wages above $200,000. If those do not roughly match, ask payroll. See Social Security tax explained for both taxes.
Boxes 7 and 8 matter mostly for tipped workers. Box 7 is tips you reported that count for Social Security. Box 8 is tips your employer allocated to you, which applies in some large restaurants.
Other pay: Boxes 10 and 11
- Box 10, dependent care benefits: what your employer paid or you set aside through a dependent care FSA. The yearly limit is $7,500.
- Box 11, nonqualified plans: distributions from certain deferred compensation plans. Most employees see nothing here.
Box 12: the codes
Box 12 lists amounts with a letter code. The IRS instructions say a W-2 can show up to four of them. These are the ones people see most:
- D: your own traditional 401(k) contributions. The yearly limit is $24,500, and $8,000 more for catch-up if you qualify. See traditional vs Roth 401(k).
- AA: Roth 401(k) contributions. These are taxed up front, so they stay in Box 1.
- BB: Roth 403(b) contributions, same idea.
- W: employer contributions to your health savings account. Your own payroll HSA contributions also appear here when made through a cafeteria plan.
- DD: the total cost of your employer-sponsored health coverage. This is information only, not extra income, and it is required on W-2s. It is not what you paid.
Codes for other items exist. If a code is unfamiliar, look it up in the IRS's General Instructions for Forms W-2 and W-3, which list them all.
Box 13: three check boxes
- Statutory employee: a special category taxed differently.
- Retirement plan: checked if you were covered by your employer's retirement plan, which can limit IRA deductions. It does not mean you contributed.
- Third-party sick pay: checked if an insurer paid sick pay.
Box 14: other information
Employers use Box 14 for items that do not fit elsewhere, such as railroad retirement taxes. The IRS says Box 14 is split into 14a and 14b on the 2026 forms, and 14b is for a Treasury tipped occupation code. If you see an amount with a label you do not know, ask payroll.
Boxes 15 to 20: state and local
These show your state and local wages and taxes. Typically you will see the state abbreviation and your employer's state ID, then state wages and state tax withheld. Boxes 18 to 20 do the same for a city or county tax and name the place. If you worked in two states you will see two lines. See local taxes on paychecks and live in one state, work in another.
Why Box 1 is lower than your salary: a worked example
Say you earn $60,000 for the year, put $6,000 into a traditional 401(k), and pay $2,400 for health insurance through a cafeteria plan. Do not read this as a tax result; it only shows how the boxes relate.
- Box 12, code D shows $6,000.
- Box 1 is lower than $60,000, because both the 401(k) and the health premiums come out of it.
- Boxes 3 and 5 are lower than $60,000 too, because the health premiums come out. The 401(k) does not reduce them. Social Security and Medicare still apply to money you put into a 401(k).
That one difference explains most W-2 questions. See Section 125, HSA and FSA for how benefit deductions work.
How to check your W-2 against your pay stub
- Open your last pay stub of the year. The year-to-date column is your reference.
- Match YTD federal tax to Box 2, YTD Social Security to Box 4 and YTD Medicare to Box 6.
- Compare YTD gross to Boxes 3 and 5. A difference equals pre-tax benefit deductions that reduce those boxes.
- Compare Box 1 to gross minus all pre-tax deductions. See how to read your pay stub.
- Confirm your state and local lines.
If any step fails, ask payroll before you file. A corrected form is easier than an amended return.
Before you file
If your W-2 has not arrived by early in the new year, ask your employer first and then contact the IRS. You can also run your numbers with our paycheck calculator before filing.