Taxstra Logo
Form Guide

W-2 Form Explained: What Boxes 1 to 20 Mean

What each W-2 box means: why Box 1, 3 and 5 differ, the Box 12 codes, Box 14 items, and the errors worth fixing before you file for 2026.

★ 5.0 on Google113 reviews1,000+ clientsAll 50 states, fully remote

Quick answer

Form W-2 reports your annual wages and the tax withheld from them, to you, the SSA, and the IRS. Box 1 is federal taxable wages after pre-tax deductions; Box 2 is federal tax withheld; Boxes 3 and 5 are Social Security and Medicare wages under their own rules (Social Security capped at $184,500 for 2026); Box 12 codes detail retirement, health, and equity items; Boxes 15 to 20 cover state and local amounts.

Three different definitions of "wages" on one form

The most confusing thing about a W-2 is that Boxes 1, 3, and 5 are all "wages" and rarely match. Each box applies different rules to the same paychecks: Box 1 subtracts pre-tax retirement and cafeteria-plan benefits, Box 3 ignores retirement deferrals but caps at the Social Security wage base, and Box 5 ignores the cap entirely.

Read correctly, the differences are a free audit of your own payroll year: they reveal exactly what you deferred, what benefits cost, and whether anything was misreported. Read carelessly, they cause real errors, like typing Box 3 into a Box 1 field and overstating income.

This guide walks the form box by box, shows the reconciliation with a worked example, and flags what to verify before filing. For individual Box 12 and Box 14 codes, our dedicated code pages carry the full lists.

Box 1 is the number your tax return actually uses

Only Box 1 flows to Form 1040 as wages. Gross salary, Box 3, and Box 5 are context. The fastest W-2 sanity check: gross annual pay, minus pre-tax 401(k) (Box 12 code D), minus pre-tax health and FSA, plus taxable extras like group-term life over $50,000 and vested RSUs, should land on Box 1 within rounding.

Box-by-box reference

What each field reports

Boxes 7 through 11 cover narrower situations: tip income, dependent care benefits, and distributions from nonqualified deferred compensation plans. If Box 11 has an amount, the return needs care, because nonqualified plan distributions follow their own reporting path.

Form W-2 boxes at a glance
BoxWhat it showsWhat to check
1Federal taxable wages after pre-tax 401(k), health premiums, FSA/HSA payroll items; includes taxable fringes, RSU vesting, NSO exercise incomeReconciles to gross pay minus pre-tax items plus taxable additions
2Federal income tax withheldMatches final pay stub year-to-date
3 / 4Social Security wages (capped at $184,500 for 2026) / 6.2% tax withheldBox 4 is 6.2% of Box 3; retirement deferrals are included in Box 3
5 / 6Medicare wages, no cap / Medicare tax withheldBox 6 is 1.45% of Box 5 plus 0.9% on wages over $200,000
10Dependent care benefitsAmounts over the exclusion limit add to Box 1
12Coded items: retirement deferrals, HSA, health coverage cost, equity incomeSee the code table below and our full Box 12 guide
13Checkboxes: statutory employee, retirement plan participant, third-party sick payThe retirement-plan box changes IRA deduction phase-outs
14Employer catch-all: state disability, union dues, S-corp 2% shareholder health, RSU detailNo fixed IRS list; summary below the table
15-20State and local wages and withholdingMulti-state workers: one W-2 can carry several state lines; verify allocations

Per the IRS General Instructions for Forms W-2 and W-3. Employers must furnish W-2s by January 31.

Box 14 is the employer’s own catch-all: items like state disability insurance, union dues, and health insurance premiums, labeled however the employer chooses, with no IRS code list behind the labels. On 2026 W-2s it splits into Box 14a for that information and Box 14b for Treasury tipped occupation codes; the W-2 Box 14 codes list decodes the common entries and flags the ones that change a state return.

Worked example: why Boxes 1, 3, and 5 differ

One salary, three wage numbers

Take a $200,000 salary with a maxed 2026 401(k) deferral of $24,500 and $6,000 of pre-tax health premiums. Each wage box applies its own rules.

The reconciliation habit pays off beyond error-catching. Box 1 versus Box 5 measures your pre-tax income deferrals; Box 3 hitting exactly $184,500 confirms you maxed the Social Security base; Box 2 divided by Box 1 is your average federal withholding rate, a one-line sanity check against the liability a projection expects. Five minutes with these ratios each January tells you whether the coming filing season holds surprises.

Worked example

$200,000 salary, 2026 W-2

Gross pay
$200,000
Box 1 (minus 401(k) and health premiums)
$169,500
Social Security wages before cap (minus health only)
$194,000
Box 3 (capped at the $184,500 wage base)
$184,500
Box 5 (minus health only, no cap)
$194,000
Box 12: D $24,500; DD (health cost, informational)
listed

Illustrative. The 401(k) deferral reduces income tax wages but not FICA wages; cafeteria-plan health premiums reduce both. That asymmetry explains nearly every Box 1 vs. Box 3/5 gap. Results vary with benefits.

Box 12 codes: the summary view

Where the details live

Box 12 compresses the interesting payroll items into letter codes. The ones high earners see most: D (pre-tax 401(k) deferrals), AA (Roth 401(k)), W (HSA contributions through the employer, both employer money and your payroll deferrals), DD (total cost of employer health coverage, informational only, not taxable), C (taxable group-term life insurance over $50,000), and V (income from exercising nonqualified stock options, also already inside Boxes 1, 3, and 5).

Two habits prevent the common errors. Confirm code W matches what you think went into your HSA before filing Form 8889, and never deduct code DD anywhere; it is disclosure, not income or deduction. Our Box 12 codes guide covers the full alphabet, including the rare ones.

Retirement codes also deserve a year-end check against the limits: code D plus code AA across all employers should not exceed the $24,500 elective deferral limit for 2026 ($32,500 with the 50+ catch-up). Excess deferrals happen most often after a mid-year job change, when neither payroll knows about the other, and they must be distributed by the following April 15 to avoid double taxation.

Common W-2 errors and how corrections work

When to ask for a W-2c

Check the basics first: name and SSN exactly as on your Social Security card, all employers accounted for, and withholding that matches final pay stubs. Then check the equity items if you have them: RSU vest income should appear in Box 1 (often detailed in Box 14), and sell-to-cover share sales will also generate a 1099-B whose basis frequently needs adjustment so the same income is not taxed twice.

If a W-2 is wrong, the employer must fix it by issuing Form W-2c; you cannot correct it yourself on the return with different numbers and no paper trail. If the form is late or the employer unresponsive, the IRS can be asked to intervene, and Form 4852 serves as a substitute W-2 built from your pay stubs.

Multi-state workers should scrutinize Boxes 15 to 20. Employers allocate wages among states based on their records of where you worked; locum physicians and remote employees routinely find allocations that do not match reality, and the state lines drive state filing obligations.

S-corp owners have one W-2 item of their own: health insurance premiums paid for a more-than-2% shareholder belong in Box 1 wages (not Boxes 3 and 5) and are typically noted in Box 14. Missing that entry is common with new payroll providers, and it breaks the owner’s self-employed health insurance deduction downstream, which keys off the W-2 reporting.

Timing errors are their own category. Wages are reported in the year paid, not earned, so a December bonus paid in January belongs on next year’s W-2, and a final paycheck after a year-end departure can land a year later than expected. Repayments run the other direction: sign-on bonus clawbacks repaid in a later year cannot simply reduce that year’s W-2; they follow the claim-of-right rules on your return instead. When a W-2 looks wrong by exactly one payment, check the pay date before requesting a correction; more often than not, the form is right and the calendar is the explanation.

Watch Out

Wait for the W-2c before filing

Filing with known-wrong W-2 numbers, or with a promised correction not yet issued, invites an IRS matching notice, since the agency compares your return against the employer’s filed copy. If you already filed and the W-2c changes the numbers, an amended return is usually required.

Reading a W-2 with equity compensation

The vest, the withholding, and the double-tax trap

Equity compensation is where W-2 reading earns its keep. When RSUs vest, the fair market value of the shares lands in Boxes 1, 3 (up to the wage base), and 5 as ordinary wages, with the withholding, typically the flat 22% supplemental rate, folded into Box 2. Many employers itemize the vest amount in Box 14, which is informational but invaluable for reconciliation.

Walk one vest: $50,000 of RSUs vest in June. Box 1 includes the $50,000; Box 2 includes roughly $11,000 of federal withholding on it at 22%. The company sells or withholds shares to cover, and the broker later issues a 1099-B for any sale. Here is the trap: the broker frequently reports the basis of those shares as zero or omits it, because the basis was established through payroll, not through the brokerage. Without an adjustment, the $50,000 appears again as capital gain.

The fix is mechanical: adjust the basis on Form 8949 to the vest-date value already taxed through the W-2, so only the price movement between vest and sale is gain or loss. The Box 14 detail, the vest confirmations, and the final pay stub are the documents that prove the adjustment. Nonqualified stock option exercises follow the same pattern, flagged with code V in Box 12.

For a high earner, this one reconciliation is routinely worth more than everything else on the form: the double-tax error on a six-figure vest is a five-figure overpayment, silent unless someone matches the W-2 to the 1099-B.

What to check before you act

A practical review sequence for the return, books, or planning file.

Verify name and SSN match your Social Security card exactly.

Reconcile Box 1 to your final pay stub: gross minus pre-tax items plus taxable additions.

Confirm Box 4 is 6.2% of Box 3 and Box 3 does not exceed $184,500 for 2026.

Match Box 12 code W to your HSA records and code D to your 401(k) election.

Review state allocations in Boxes 15 to 20, especially after multi-state work.

Request a W-2c promptly for any error, and keep the final pay stub until it arrives.

“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Google Reviewer · Read on Google

Published client feedback. Individual experiences vary.

Common mistakes

The shortcuts most likely to produce a confident but wrong answer.

01

Using Box 1 as total compensation, or gross pay as taxable income

Box 1 already excludes pre-tax deferrals and benefits; gross pay includes them. Mixing the two misprices raises, savings rates, and any calculation that needs "income," in either direction.

02

Deducting Box 12 code DD as if it were an expense

DD is the informational cost of employer health coverage. It is not income, not deductible, and entering it anywhere on the return creates errors.

03

Double-taxing RSU income at the broker

Vest-date income is already in Box 1, and the broker 1099-B often shows zero basis for the same shares. Without a basis adjustment on Form 8949, the vest value gets taxed twice; the Box 14 RSU detail is the clue to catch it.

04

Ignoring the retirement-plan checkbox in Box 13

That checkbox triggers the traditional IRA deduction phase-out ($81,000 to $91,000 of MAGI for covered single filers in 2026). Deducting an IRA contribution while covered and over the band creates an IRS mismatch.

05

Tossing the final pay stub once the W-2 arrives

The stub is the only document that itemizes what the W-2 summarizes. When a box looks wrong, the stub is how you prove it, and how a preparer reconstructs Box 1 in minutes.

Frequently Asked Questions

Which W-2 box shows my taxable wages?

Box 1. It is your gross pay minus pre-tax items (traditional 401(k), cafeteria-plan health premiums, FSA and payroll HSA contributions) plus taxable additions like RSU vest income, NSO exercise income, and group-term life over $50,000. Box 1 is the number that flows to your Form 1040 wage line; Boxes 3 and 5 exist for Social Security and Medicare, not income tax.

Why is Box 1 lower than Box 3 or Box 5 on my W-2?

Because pre-tax retirement deferrals reduce income tax wages but not FICA wages. Your 401(k) contribution (Box 12 code D) is subtracted from Box 1 yet stays inside Boxes 3 and 5. Cafeteria-plan health premiums come out of all three. If you deferred $24,500 in 2026, Box 5 should exceed Box 1 by about that amount.

Why is Box 3 capped when Box 5 is not?

Social Security tax stops at the annual wage base, $184,500 for 2026, so Box 3 can never exceed that figure and Box 4 tops out at $11,439. Medicare has no cap, so Box 5 shows full FICA wages and Box 6 includes the extra 0.9% withheld on wages above $200,000.

What are the codes in Box 12 of my W-2?

Letter codes itemizing specific payroll amounts. The common ones: D is pre-tax 401(k) deferrals, AA is Roth 401(k), W is HSA contributions through the employer, DD is the informational cost of employer health coverage, C is taxable group-term life over $50,000, and V is nonqualified stock option exercise income already included in your wages. Each code has its own tax meaning; see our full Box 12 guide.

What should I do if my W-2 is wrong?

Ask the employer’s payroll department to issue a corrected Form W-2c; only the employer can fix its filed copy. Keep your final pay stub as evidence. If the employer will not act, the IRS can be asked to contact them, and Form 4852 lets you file using pay-stub figures as a substitute. If a W-2c arrives after you filed, you generally amend.

When are W-2s sent out?

Employers must furnish W-2s to employees and file them with the Social Security Administration by January 31 each year. If yours has not arrived by mid-February, check your payroll portal and mailing address, then contact the employer; the IRS can intervene after that, and Form 4852 is the fallback for filing.

Do I need to attach my W-2 to my tax return?

Only on paper-filed returns. E-filed returns transmit the W-2 data electronically, and the IRS matches it against the employer’s SSA filing. That matching is exactly why typing the boxes accurately matters: transposed digits between Box 1 and Box 2 are a classic source of automated notices.

I have multiple W-2s. How do they combine on my return?

Add each box across all W-2s: total Box 1 wages, total Box 2 withholding, and so on; every W-2 must be reported. Watch two seams: combined Social Security withholding above the $11,439 2026 maximum becomes a credit on your return, and combined 401(k) deferrals above the $24,500 limit are excess deferrals that must be distributed by April 15. Two payrolls also usually means combined underwithholding worth checking.

What box on my W-2 shows gross income?

No single box shows gross pay. Box 1 shows taxable wages after pre-tax deductions. Box 5, Medicare wages, comes closest because your 401(k) deferral (Box 12 code D) stays inside it, though pre-tax health premiums are still removed. Add your 401(k) deferral to Box 1, then add back pre-tax health and FSA amounts from your last pay stub.

Next Steps

Filing it yourself is fine. Optimizing it is where the money is.

Getting the form right keeps you out of trouble. The strategies below are what actually lower the bill.

Interested in working with Taxstra?

Book your free 30-minute tax fit call with our team. Tell us what you need, learn how Taxstra can help, and explore whether our services are a good fit. Tax advice, document reviews, and analysis require a paid engagement.

Tax planning slots are limited before year-end.

Related Taxstra resources

Continue with the services, planning tools, and explainers most relevant to this topic.