What is a W-2?

A W-2 is the form your employer sends you every January to report how much you earned and how much tax was withheld from your paycheck during the previous year. It's the most important document for most employed people filing a U.S. tax return.

Your employer sends copies to both you and the IRS — so the IRS already knows what you earned before you file. If you report different numbers than what's on your W-2, the IRS will notice.

✅ When your W-2 arrives: do these three things first
  • Check your name and SSN — even a small error can delay your refund or cause IRS notices
  • Compare Box 1 to your last pay stub — they may differ (see below why), but you should understand why
  • Check Box 2 — federal tax withheld — this is what you've already paid; if it exceeds your tax liability, you get the difference back

The W-2 box-by-box guide

A W-2 has many boxes, but most people only need to focus on a few. Here's what each one means — click any box for more detail.

Form W-2
Wage and Tax Statement
Tax Year 2025
Box
1
Wages, tips, other compensationCritical
+
Box
2
Federal income tax withheldCritical
+
Box
3
Social Security wagesImportant
+
Box
4
Social Security tax withheldImportant
+
Box
5
Medicare wages and tipsStandard
+
Box
6
Medicare tax withheldStandard
+
Box
10
Dependent care benefitsIf applicable
+
Box
12
Codes (see Box 12 guide below)Important
+
Box
13
Checkboxes (Statutory employee, Retirement plan, 3rd-party sick pay)Check it
+
Box
14
OtherInformational
+
Box
15–17
State tax informationFor state return
+

Click any row to see a detailed explanation.

Why Box 1 may be less than your actual salary

This confuses many first-time W-2 readers. Box 1 shows your taxable wages — not your total compensation. Several common benefits reduce Box 1 before the number is calculated:

BenefitReduces Box 1?Where it appears
Pre-tax 401(k) contributions✅ YesBox 12, Code D
Pre-tax health insurance premiums✅ YesNot separately shown on W-2
Health FSA contributions✅ YesNot separately shown on W-2
Dependent Care FSA✅ YesBox 10
Commuter benefits (pre-tax transit/parking)✅ YesBox 14 (sometimes)
Roth 401(k) contributions❌ No — already taxedBox 12, Code AA
After-tax health insurance premiums❌ NoNot on W-2
ℹ️ Example: why your W-2 might show less than your salary

You earn $80,000. You contribute $10,000 to your 401(k) and pay $3,000 in pre-tax health insurance premiums. Box 1 on your W-2 will show $67,000 — not $80,000. That's correct. You're only taxed on $67,000, which is the whole point of pre-tax benefits.

Box 12 codes: the most common ones explained

Box 12 can have up to four entries, each with a letter code. Most people see only one or two. Here are the most common:

CodeWhat it meansTaxable?Note
DPre-tax 401(k) contributionsNot taxable (reduces Box 1)Most common code you'll see
E403(b) contributions (for teachers, non-profits)Not taxable (reduces Box 1)Similar to 401(k) but for different employers
WEmployer contributions to your HSANot taxableEnter on Form 8889
DDCost of employer-sponsored health coverageNot taxable — informational onlyDo nothing with this number
AARoth 401(k) contributionsAlready taxed (does NOT reduce Box 1)After-tax contributions to retirement
CTaxable cost of group-term life insurance over $50,000Taxable (already included in Box 1)Informational
VIncome from stock option exercisesAlready included in Box 1Common at tech companies
💡 Don't panic about Box 12

If you're using tax software, just enter the code and amount exactly as shown. The software knows what to do with each code. You don't need to memorize what every code means — just enter it accurately.

What to do if something looks wrong

  • Wrong name or SSN — Contact HR immediately. This must be corrected before you file. An incorrect SSN can prevent your return from being processed.
  • Box 1 seems too high — Check if pre-tax benefits were properly excluded. Compare to your final pay stub. If the discrepancy is unexplained, contact payroll.
  • Box 2 is zero or very low — You may have claimed too many allowances on your W-4. This isn't wrong, but means you may owe taxes when you file instead of getting a refund.
  • Missing W-2 by mid-February — Contact HR first. If you still can't get it, call the IRS at 1-800-829-1040 — they can contact your employer on your behalf. As a last resort, file Form 4852 (substitute W-2) using your pay stubs.