Understanding Your W-2: Every Box Explained (2026)

A box-by-box guide to Form W-2: wages, withholding, Social Security and Medicare, Box 12 codes, state boxes, and what to do if your W-2 is wrong.

Understanding Your W-2: Every Box Explained (2026)

Form W-2, the Wage and Tax Statement, is the one-page summary your employer files with the IRS and the Social Security Administration each year. It shows what you earned, what was withheld, and a handful of benefits that affect your return. Nearly every number on it ends up somewhere on your Form 1040, so understanding your W-2 box by box is the fastest way to file accurately and spot a mistake before the IRS does.

Key dates: employers must send W-2s to employees (and file them with the SSA) by January 31. If yours has not arrived by mid-February, ask your employer first. You need one W-2 from every employer you worked for during the year, even briefly.

Boxes a–f: who the form is about

The lettered boxes on the left identify you and your employer:

  • Box a: your Social Security number. Check every digit; a wrong SSN means your wages may not be credited to your Social Security record.
  • Box b: your employer's identification number (EIN).
  • Box c: employer's name and address.
  • Box d: a control number your payroll provider may use internally. It is often blank, and tax software sometimes asks for it only for matching.
  • Boxes e and f: your name and address. Your name should match your Social Security card. If you changed your name, update it with the SSA so the records match.

Boxes 1–6: wages and withholding

These six boxes do most of the work on your return.

BoxWhat it showsWhere it goes
1Wages, tips and other compensation subject to federal income taxForm 1040, line 1a
2Federal income tax withheldForm 1040, line 25a
3Social Security wages (capped at $184,500 for 2026)Used for your Social Security record; checks for excess withholding
4Social Security tax withheld (6.2% of Box 3)Not on the 1040 unless you overpaid across jobs
5Medicare wages (no cap)Form 8959 if you owe Additional Medicare Tax
6Medicare tax withheld (1.45%, plus 0.9% on wages over $200,000)Form 8959 if applicable

Why Boxes 1, 3 and 5 are different

The three wage boxes measure different things. Traditional 401(k), 403(b) and 457(b) deferrals reduce Box 1 but not Boxes 3 and 5, because they are still subject to Social Security and Medicare tax. Pre-tax health, dental and vision premiums, HSA contributions made through a cafeteria plan, and pre-tax commuter benefits reduce all three. Here is how that works for an employee earning $70,000:

ItemBox 1Boxes 3 & 5
Salary$70,000$70,000
6% traditional 401(k) deferral−$4,200no change
Pre-tax health premiums (Section 125)−$2,400−$2,400
HSA contributions through payroll−$1,000−$1,000
Amount reported$62,400$66,600

Box 4 would show $4,129.20 (6.2% of $66,600) and Box 6 would show $965.70 (1.45%). If you earn above the Social Security wage base, Box 3 stops at $184,500 while Box 5 keeps going, so Box 5 can be much larger than Box 3.

Worked for two or more employers? Each employer withholds Social Security separately. If your combined Box 4 amounts exceed $11,439.00 for 2026 (6.2% of $184,500), you get the excess back as a credit on Schedule 3. The tax refund calculator shows how withholding in Box 2 compares with your actual tax.

Boxes 7–11: tips, benefits and deferred pay

  • Box 7, Social Security tips: tips you reported to your employer. They are already included in Box 1.
  • Box 8, allocated tips: tips your employer assigned to you because reported tips fell short of the required share. These are not in Box 1; you add them as wages and figure Social Security and Medicare on them with Form 4137.
  • Box 9: no longer used and should be blank.
  • Box 10, dependent care benefits: amounts paid through a dependent care FSA or provided by your employer. For 2026 the tax-free limit rises to $7,500 per household ($3,750 married filing separately) under OBBBA, up from $5,000. You complete Form 2441 to claim the exclusion; any excess is taxable.
  • Box 11, nonqualified plans: distributions from, or vested amounts in, a nonqualified deferred compensation plan. It is informational, since the amount is already included in Box 1, but it helps the SSA apply earnings to the right year.

Box 12 codes explained

Box 12 holds up to four coded amounts (employers issue an extra W-2 if you have more). Some codes are taxable income already included in Box 1; most are informational. The full list:

CodeMeaning
A / BUncollected Social Security or RRTA tax (A) and Medicare tax (B) on tips; you pay it with your return
CTaxable cost of group-term life insurance over $50,000 (already in Boxes 1, 3, 5)
DTraditional 401(k) elective deferrals
E403(b) elective deferrals
FSalary reduction SEP (SARSEP) deferrals
G457(b) deferrals and employer contributions
H501(c)(18)(D) plan deferrals (deductible on Schedule 1)
JNontaxable sick pay
K20% excise tax on excess golden parachute payments
LSubstantiated employee business expense reimbursements (nontaxable)
M / NUncollected Social Security/RRTA (M) and Medicare (N) on group-term life for former employees
PExcludable moving expense reimbursements (Armed Forces only)
QNontaxable combat pay
REmployer contributions to an Archer MSA
SSIMPLE IRA salary reduction contributions
TEmployer-provided adoption benefits (Form 8839)
VIncome from exercising nonstatutory stock options (already in Box 1)
WEmployer and pre-tax payroll contributions to your HSA (report on Form 8889)
Y / ZDeferrals under a Section 409A plan (Y); income from a 409A plan that failed the rules (Z)
AA / BB / EERoth contributions to a 401(k) (AA), 403(b) (BB) or governmental 457(b) (EE)
DDTotal cost of employer-sponsored health coverage. Informational only, not taxable
FFBenefits under a qualified small employer HRA (QSEHRA)
GG / HHIncome from qualified equity grants under Section 83(i) (GG); aggregate deferrals under 83(i) elections (HH)
IIMedicaid waiver payments excluded from income
TAEmployer contributions to a "Trump account" for a child (new for 2026)
TPTotal qualified tips for the new tips deduction (new for 2026)
TTTotal qualified overtime compensation for the new overtime deduction (new for 2026)

The most common codes you will see are D (or AA for Roth), W and DD. Code D matters if you also contribute to a Solo 401(k) on the side, because the employee deferral limit of $24,500 for 2026 is shared across all of your 401(k) and 403(b) plans.

New for 2026: qualified tips and overtime on your W-2

OBBBA created two temporary deductions for 2025 through 2028: up to $25,000 of qualified tips, and up to $12,500 ($25,000 married filing jointly) of qualified overtime compensation, meaning the premium part of overtime pay required by the Fair Labor Standards Act (the "half" in time-and-a-half). Both deductions phase out above $150,000 of modified AGI ($300,000 joint), are available whether or not you itemize, and are not available if you are married filing separately.

For 2025, employers were not required to report these amounts separately, so many workers had to use paystubs or a separate employer statement. Starting with 2026 W-2s (issued in early 2027), the form has dedicated places for them: Box 12 code TP for qualified tips, code TT for qualified overtime, and a split Box 14, where Box 14b holds the Treasury tipped occupation code that shows your job is one where tipping is customary. The tips and overtime remain in Box 1 (they are still wages); the deduction is taken separately on your return, which reduces income tax but not Social Security or Medicare tax. The federal income tax calculator includes both deductions.

Boxes 13 and 14

Box 13 has three checkboxes:

  • Statutory employee: certain drivers, salespeople and home workers whose income is reported on Schedule C, while the employer still withholds Social Security and Medicare.
  • Retirement plan: you were an active participant in a workplace plan. This can limit whether your traditional IRA contribution is deductible.
  • Third-party sick pay: sick pay from an insurer or other third party.

Box 14 ("Other") is free-form. Employers use it for items such as state disability insurance withholding (for example CA SDI or NY SDI/PFL), union dues, after-tax contributions, non-cash fringe benefits, or the value of a personal-use company car. Some of these matter: state disability withholding can count as state income tax if you itemize, for example. If a Box 14 label is unclear, ask payroll what it means.

Boxes 15–20: state and local taxes

  • Box 15: the state and your employer's state ID number
  • Box 16: state wages (may differ from Box 1 because states treat some benefits differently)
  • Box 17: state income tax withheld
  • Boxes 18–20: local wages, local income tax withheld, and the locality name

If you moved or worked in more than one state, you may see two lines here. Each state return uses its own line. Boxes 17 and 19 are also what you would claim as state and local income taxes if you itemize, subject to the $40,400 SALT cap for 2026 (which phases down for higher incomes).

W-2 vs. your final paystub

Your last paystub's year-to-date gross pay rarely matches Box 1, and that is normal. Common reasons:

  • Pre-tax deductions (401(k), health premiums, HSA, FSA, commuter benefits) are subtracted from Box 1 but included in YTD gross.
  • Taxable fringe benefits (group-term life over $50,000, personal use of a company car, some gift cards) are added to Box 1 but never paid in cash.
  • Pay dates, not work dates: a paycheck for the last week of December paid on January 2 belongs to next year's W-2.
  • Year-end adjustments or reimbursements processed after your last stub.

To reconcile: start with YTD gross, subtract pre-tax items, and add taxable fringe benefits. You should land on Box 1. YTD Social Security and Medicare withholding on the paystub should match Boxes 4 and 6 exactly. The paycheck calculator breaks down a single check the same way.

If your W-2 is wrong or missing

  1. Ask your employer for a corrected W-2 (Form W-2c). Employers correct errors in names, SSNs, wages or withholding by issuing a W-2c to you and filing it with the SSA.
  2. Still missing by the end of February? Contact the IRS. It will contact the employer on your behalf. Have your dates of employment and an estimate of your wages and withholding (your final paystub works).
  3. Filing deadline approaching? File on time using Form 4852, a substitute W-2 based on your best figures, or request an extension.
  4. Already filed? If a W-2c changes your tax, file an amended return on Form 1040-X.

You can also download a wage and income transcript from your IRS Online Account, which shows the W-2 data employers reported to the IRS.

Using your W-2 to plan next year

Box 2 tells you how much federal tax you have already paid. Compare it with your projected total tax: a big refund means you are over-withholding, and a balance due means you should increase withholding on Form W-4. Run your W-2 numbers through the tax refund calculator to see where you stand, and if you also have freelance income, read Got a 1099? Here's what to do next, since extra W-2 withholding is one of the easiest ways to cover tax on side income.

Frequently asked questions

Why is Box 1 on my W-2 lower than my salary?

Box 1 shows wages subject to federal income tax. Traditional 401(k) and 403(b) deferrals, pre-tax health premiums, HSA contributions through payroll and other pre-tax benefits are subtracted, so Box 1 is usually lower than your gross salary. Taxable fringe benefits can push it the other way.

What does code DD in Box 12 mean? Is it taxable?

Code DD reports the total cost of your employer-sponsored health coverage, including both your share and your employer's. It is informational only and is not taxable income. You do not enter it anywhere that affects your tax.

When should I receive my W-2?

Employers must furnish W-2s by January 31. If the form has not arrived by mid-February, ask your employer. If it is still missing by the end of February, contact the IRS, and if needed file using Form 4852 as a substitute.

What is the maximum Social Security tax on a W-2 for 2026?

For 2026 the Social Security wage base is $184,500, so the most one employer should withhold is $11,439 (6.2%). If you had several employers and the total in Box 4 is higher, claim the excess as a credit on Schedule 3 of your return.

Where do I find my qualified tips and overtime for the new deductions?

On 2026 W-2s, qualified tips appear in Box 12 with code TP and qualified overtime compensation with code TT, and tipped workers will see an occupation code in Box 14b. For 2025, employers were not required to report these separately, so you may need your paystubs or a statement from your employer.

What is a W-2c?

Form W-2c is a corrected W-2. Your employer issues it to fix errors in names, Social Security numbers, wages or withholding. If you already filed using the incorrect W-2 and the correction changes your tax, file Form 1040-X.

Helpful for tax season

Affiliate picks

As an Amazon Associate, CPA Calculator earns from qualifying purchases, at no extra cost to you. We don’t accept payment for recommendations, and they never affect calculator results.