How to Read Your W-2: Boxes, Codes and What to Check Before Filing
Your W-2 looks dense, but most of it is simple once you know the layout. This guide explains Boxes 1 through 20, the Box 12 codes, and checks to run before you.
By Galactic News Editorial · Published 2026-11-19T16:30:38+00:00 · Updated 2026-11-19T16:30:38+00:00
How to Read Your W-2: Boxes, Codes and What to Check Before Filing
Your W-2 is the record of what you earned and what your employer withheld last year. It looks dense, but most of it is simple once you know the layout. Box 1 is your federal taxable wages. Box 2 is the federal tax already withheld. Boxes 3 through 6 cover Social Security and Medicare. Box 12 holds coded benefits. This guide walks through every section and the checks to run before you file.
This article is educational only. It is not tax advice. Tax rules change, and your situation may differ. When in doubt, check the IRS instructions or ask a qualified tax professional.
How to Read Your W-2: The Identity Boxes First
The top of the form holds identifying information in boxes labeled a through f. Check these first, because an error here can delay your refund for months.
- Box a: your Social Security number. Verify it matches your Social Security card exactly.
- Box b: your employer's EIN, its nine-digit federal tax ID.
- Box c: your employer's legal name and address.
- Box d: a control number your employer uses to track the form. It is optional.
- Box e: your legal name. It must match Social Security records.
- Box f: your address and ZIP code.
If your name or Social Security number is wrong, contact your employer at once. The employer issues a corrected form, called a W-2c. Do not file with a wrong Social Security number. The Social Security Administration may reject the earnings from your record.
Employers must furnish your W-2 by January 31 following the tax year. If yours has not arrived by then, contact your employer first. The IRS can help at 800-829-1040 if your employer will not send one.
Boxes 1 and 2: Federal Wages and Tax Withheld
Box 1 shows wages, tips, and other compensation subject to federal income tax. This is the number that starts your federal return. It is not your gross pay. Pre-tax deductions reduce it.
Traditional 401(k) contributions lower Box 1. So do pre-tax health insurance premiums, health savings account contributions through payroll, and flexible spending account contributions. A bonus, by contrast, is included in Box 1.
Box 2 shows the total federal income tax withheld from your paychecks during the year. This amount counts as tax you already paid. It is credited against your tax bill when you file. If withholding was more than the tax you owe, the difference comes back as a refund.
Compare Box 1 with your last pay stub of the year. The year-to-date wages on that stub should explain the difference between your gross pay and Box 1. If the numbers do not line up, ask your payroll department before you file.
Boxes 3 Through 6: Social Security and Medicare
Boxes 3 through 6 report the payroll taxes that fund Social Security and Medicare. They often differ from Box 1, and that is usually not a mistake.
| Box | What it shows | Rate |
|---|---|---|
| 1 | Federal taxable wages | Your income tax rate |
| 2 | Federal income tax withheld | Based on your W-4 |
| 3 | Social Security wages | Taxed at 6.2% |
| 4 | Social Security tax withheld | Usually 6.2% of Box 3 |
| 5 | Medicare wages and tips | Taxed at 1.45% |
| 6 | Medicare tax withheld | Usually 1.45% of Box 5 |
Box 3 is often higher than Box 1. Traditional 401(k) contributions reduce federal taxable wages, but they do not reduce Social Security wages. Social Security tax still applies to that money.
Social Security tax applies only up to an annual wage base. For the 2025 tax year, that cap was $176,100. Pay above the cap shows in Boxes 1 and 5, but not in Box 3. The cap is adjusted for inflation each year.
Medicare has no cap. Box 5 usually runs higher than Box 1 for the same reason Box 3 does. High earners also pay an additional 0.9 percent Medicare tax on wages above $200,000.
Check the math. Box 4 should equal about 6.2 percent of Box 3. Box 6 should equal about 1.45 percent of Box 5. If the numbers are far off, ask payroll to explain.
Box 12: The Letter Codes That Explain Your Benefits
Box 12 holds up to four entries. Each entry pairs a letter code with a dollar amount. These codes explain benefits and retirement savings that affect your return.
- Code D: traditional 401(k) contributions. These reduced Box 1, but not Boxes 3 and 5.
- Code AA: Roth 401(k) contributions. These did not reduce Box 1, because Roth contributions are after-tax. The code is informational.
- Code E: 403(b) contributions, common for teachers and nonprofit workers.
- Code W: employer and employee contributions to a health savings account through payroll. These reduce Boxes 1, 3, and 5. Report them on Form 8889.
- Code DD: the total cost of your employer-sponsored health coverage. This is informational only. It is not taxed, and it does not change your return.
- Code C: taxable cost of group-term life insurance over $50,000. This amount is already included in Boxes 1, 3, and 5.
New codes appear from time to time. For 2026 forms, codes TT and TP report qualified overtime compensation and cash tips that may feed a deduction. The IRS General Instructions for Forms W-2 and W-3 define every code. If a code on your form is unfamiliar, look it up there before you file.
Boxes 10, 13, 14, and 15 Through 20
Box 10 shows dependent care benefits paid through your employer. Box 13 has three checkboxes: statutory employee, retirement plan participant, and third-party sick pay. The retirement plan checkbox matters because it can limit whether you can deduct a traditional IRA contribution.
Box 14 is a catch-all. Employers use it for items such as state disability insurance, union dues, or after-tax retirement contributions. The label should explain what the amount is.
Boxes 15 through 20 cover state and local tax. Box 15 shows the state and the employer's state ID number. Box 16 shows state wages, which may differ from Box 1. Box 17 shows state income tax withheld. Boxes 18 through 20 cover local wages and local tax, if your area has one.
If you worked in more than one state, you may see several lines in this section. Use Box 16 for your state return, not Box 1.
What to Check Before You File
Run this checklist against your W-2 before you send your return.
- Identity: name and Social Security number match your card. Employer name and EIN look right.
- Box 1 vs. pay stub: the gap between gross pay and Box 1 equals your pre-tax deductions.
- Box 2: the withheld amount matches your final pay stub year-to-date.
- Boxes 4 and 6: roughly 6.2 percent of Box 3 and 1.45 percent of Box 5.
- Box 12 codes: every code is one you recognize, and the amounts match your records.
- State boxes: Box 16 and Box 17 match the state where you worked.
- Every employer: you have a W-2 from each job you held during the year.
If something is wrong, contact your employer first. The employer can issue a corrected W-2c. File with the corrected form, not the wrong one. If the employer will not correct it, the IRS explains how to file with a substitute form, but that takes extra steps.
Bottom Line
Reading a W-2 comes down to a few numbers. Box 1 is your taxable wages, Box 2 is tax already paid, and Boxes 3 through 6 are the payroll-tax side. Box 12 codes explain your retirement and health benefits. Check your name, your Social Security number, and the math on Boxes 4 and 6 before you file. A ten-minute check now can save months of delay later.