Every January, millions of employees open an envelope — or log into their payroll portal — and pull out a small but important document: the W-2 form. If you’ve ever wondered what all those numbered boxes mean, why your employer sends you multiple copies, or what you’re supposed to do with it, this guide breaks it all down.
What Is a W-2 Form?
A W-2, formally called the Wage and Tax Statement, is a federal tax document that your employer is required to provide you each year. It reports how much you earned from that employer during the previous calendar year and how much was withheld in federal income tax, state income tax, Social Security tax, and Medicare tax.
The IRS also receives a copy, which is how they know what you earned even before you file your return. If your return doesn’t match what employers reported, you’ll hear about it.
Every employer who paid you $600 or more during the year — or who withheld any taxes regardless of the amount — must send you a W-2 by January 31.
Who Gets a W-2?
You receive a W-2 if you are an employee. If you work as an independent contractor or freelancer, you receive a 1099-NEC instead. The distinction matters because employees have taxes withheld automatically, while contractors are responsible for paying their own self-employment taxes.
If you worked multiple jobs during the year, you’ll receive a separate W-2 from each employer. If you worked for an employer but quit or were laid off before year-end, they still must send you a W-2 by January 31 of the following year.
W-2 Boxes Explained
The W-2 has lettered boxes (a through f) for identification information and numbered boxes (1 through 20) for financial data. Here’s what each key box means:
Box a — Employee’s SSN
Your Social Security number. Verify this is correct. An error here can cause your return to be rejected or create matching problems with the IRS.
Box b — Employer Identification Number (EIN)
Your employer’s federal tax ID number. This is needed if you file your return manually or if your employer goes out of business before you file.
Box 1 — Wages, Tips, Other Compensation
This is your total taxable wages for federal income tax purposes. It is not the same as your gross pay. Pre-tax deductions like 401(k) contributions, health insurance premiums under a Section 125 plan, and FSA contributions are subtracted from your gross pay to get this number.
Box 2 — Federal Income Tax Withheld
Total federal income tax withheld from your paychecks throughout the year. This is directly applied as a credit when you file your return. If this exceeds your tax liability, you get a refund.
Box 3 — Social Security Wages
Your wages subject to Social Security tax. This can differ from Box 1 because certain deductions (like 401(k) contributions) reduce federal taxable wages but not Social Security wages. The wage base cap for 2025 was $176,100.
Box 4 — Social Security Tax Withheld
The amount withheld for Social Security — should be exactly 6.2% of Box 3, up to the annual maximum.
Box 5 — Medicare Wages and Tips
Wages subject to Medicare tax. There is no wage base cap for Medicare, so this is typically your full gross pay minus only pre-tax benefit deductions.
Box 6 — Medicare Tax Withheld
Should equal 1.45% of Box 5. High earners making over $200,000 ($250,000 married filing jointly) also owe an Additional Medicare Tax of 0.9%, but that is calculated when you file.
Box 12 — Deferred Compensation and Benefits
Box 12 uses letter codes to report various types of compensation and benefits. Common codes include:
- Code D — Contributions to a 401(k) plan
- Code E — Contributions to a 403(b) plan
- Code W — Employer HSA contributions
- Code DD — Cost of employer-sponsored health coverage (informational only, not taxable)
- Code AA — Roth 401(k) contributions
Box 13 — Checkboxes
Three checkboxes: Statutory Employee, Retirement Plan, and Third-Party Sick Pay. The “Retirement Plan” box being checked affects whether you can deduct a traditional IRA contribution.
Boxes 15–17 — State Tax Information
Your state’s abbreviation, your employer’s state ID number, state wages, and state income tax withheld. If you worked in multiple states, you may see multiple lines here.
Why You Get Multiple Copies
Your W-2 comes in multiple copies labeled Copy B, Copy C, and Copy 2:
- Copy B — Attach to your federal tax return (if filing by mail)
- Copy C — Keep for your records
- Copy 2 — Attach to your state tax return (if your state requires it)
If you file electronically, you don’t mail anything, but you should still keep all copies for at least three years.
How to Use Your W-2 to File Taxes
When you sit down to file — whether using tax software, a professional, or paper forms — your W-2 is the primary document for your employed income. Here’s the flow:
- Enter the information from Box 1 as your wages on your federal return (Line 1a of Form 1040)
- Enter Box 2 withholding as federal tax payments
- Enter Boxes 3–6 so Social Security and Medicare wages reconcile (this also feeds Schedule SE if there’s any self-employment income)
- Report any Box 12 items your tax software asks about
- Add state income from Box 16 and state withholding from Box 17 on your state return
What If You Don’t Receive Your W-2?
If January 31 passes and you haven’t received your W-2, take these steps:
- Check your payroll portal — many employers now provide electronic W-2s
- Contact your HR or payroll department directly
- If you still can’t get it by mid-February, call the IRS at 800-829-1040 — they can contact your employer on your behalf
- As a last resort, file using Form 4852 (a substitute W-2) based on your final pay stub
W-2 vs. W-4: What’s the Difference?
The W-4 is the form you fill out when you start a new job to tell your employer how much tax to withhold. The W-2 is what you receive at year-end showing what was actually withheld. If your W-4 isn’t set up correctly, you may owe taxes or get a smaller refund than expected.
Common W-2 Errors and How to Fix Them
Mistakes happen. If you spot an error on your W-2:
- Wrong SSN or name: Contact your employer immediately — they must issue a corrected W-2 (Form W-2c)
- Wrong income or withholding: Compare against your final pay stub; if there’s a discrepancy, ask payroll to explain or issue a correction
- Missing W-2 from a former employer: The IRS can help if the employer is unresponsive
Keeping Your W-2 Safe
Keep your W-2s for at least three years from the date you filed your return (or two years from when you paid the tax, whichever is later). If you’re audited or need to amend your return, this document is essential. Store them securely — they contain your full SSN.
Frequently Asked Questions
Is my Box 1 income the same as my gross salary?
Usually not. Pre-tax deductions like 401(k) contributions and employer-sponsored health insurance premiums reduce your Box 1 wages below your gross salary.
What if I have W-2s from two jobs?
Enter each W-2 separately on your return. If both employers withheld Social Security tax and your combined wages exceeded the wage base cap, you may have overpaid — you can claim that excess as a tax credit.
Why does Box 3 show more than Box 1?
Traditional 401(k) contributions reduce Box 1 (federal taxable wages) but not Box 3 (Social Security wages). This is normal.
Do I have to file if I have a W-2?
Not automatically — it depends on your income level and filing status. But if federal taxes were withheld, filing is the only way to get a refund of that withholding.
Bottom Line
The W-2 is one of the most important documents you’ll deal with at tax time. Understanding each box helps you file accurately, catch errors early, and make sure you’re getting every dollar of refund you’re owed. Keep your copies, enter the numbers carefully, and you’re in good shape for a smooth filing season.