Every W-2 employee in the US receives this form each January. It’s the single most important document you need to file your federal and state tax returns, because it tells the IRS exactly how much you earned and how much tax was already withheld from your paychecks throughout the year. Whether you’re filing for the first time or you’ve done it for decades, understanding what each box on your W-2 means helps you catch errors, avoid overpaying, and make better decisions about your tax withholding going forward.

Here’s how to read every box and use it to file your taxes correctly.

What Is Form W-2?

Form W-2 (Wage and Tax Statement) is an IRS form that reports:

  • How much you earned from an employer during the year
  • How much was withheld for federal, state, and local taxes
  • Social Security and Medicare taxes paid
  • Retirement plan contributions, health insurance deductions, and other benefits

You need your W-2 to file your tax return. Your employer must send it by January 31 of the following year.

Your employer sends copies to three places: you (Copies B, C, and 2), the IRS (Copy A), and your state/local tax authority (Copy 1). When you file your federal return, the IRS cross-references the data on your return with the W-2 copy they already received from your employer — so accuracy matters. If the numbers don’t match, it can trigger a notice or delay your tax refund.

If you worked multiple jobs during the year, you’ll receive a separate W-2 from each employer. All of them need to be reported on your tax return, even if one job only lasted a few weeks.

W-2 Box-by-Box Breakdown

The W-2 form has over 20 boxes, each reporting a different piece of information. The lettered boxes (a through f) contain identification information, while the numbered boxes (1 through 20) contain your income and tax data. Here’s what every box means.

Identification Boxes (a–f)

Box Label What It Contains
a Employee’s SSN Your Social Security number
b Employer’s EIN Employer’s tax identification number
c Employer’s name/address Company’s legal name and address
d Control number Employer’s internal tracking number (optional)
e Employee’s name Your legal name
f Employee’s address Your current address

Double-check that your SSN in Box a and your name in Box e are correct. Even a minor typo — a transposed digit in your Social Security number or a misspelled last name — can cause your tax return to be rejected or delay your refund. Your name should match exactly what’s on file with the Social Security Administration. If anything is wrong, request a corrected W-2c from your employer before filing.

Income and Tax Boxes (1–20)

Box Label What It Contains
1 Wages, tips, other compensation Your total taxable income (after pre-tax deductions like 401(k) and health insurance)
2 Federal income tax withheld Total federal tax taken from paychecks
3 Social Security wages Income subject to Social Security tax (max $176,100 in 2026)
4 Social Security tax withheld 6.2% of Box 3
5 Medicare wages and tips Income subject to Medicare tax (no cap)
6 Medicare tax withheld 1.45% of Box 5 (plus 0.9% additional on income over $200K)
7 Social Security tips Tips reported and subject to SS tax
8 Allocated tips Tips allocated by employer (tipped employees)
10 Dependent care benefits Employer-provided dependent care (up to $5,000)
11 Nonqualified plan distributions Distributions from nonqualified deferred compensation plans
12 Codes Various compensation/benefits (see Code table below)
13 Checkboxes Statutory employee, retirement plan, third-party sick pay
14 Other State disability, union dues, educational assistance, etc.
15 State/Employer’s state ID State tax information
16 State wages Income subject to state income tax
17 State income tax State tax withheld
18 Local wages Income subject to local tax
19 Local income tax Local tax withheld
20 Locality name Name of local tax jurisdiction

The most important boxes for filing your federal return are Box 1 (your taxable wages — this goes on Form 1040 Line 1a) and Box 2 (your federal tax withholding — this is the credit you get against your tax liability). The relationship between these two numbers largely determines whether you get a refund or owe money. If your employer withheld more than your actual tax liability (calculated using the federal income tax brackets), you get the difference back as a refund. If they withheld too little, you owe the balance.

Boxes 3 through 6 report your FICA taxes — the Social Security and Medicare taxes that fund those programs. The Social Security wage base for 2026 is $176,100, meaning you stop paying the 6.2% Social Security tax once your earnings hit that threshold. Medicare has no wage cap, so Box 5 is often equal to or higher than Box 3. If you earn over $200,000 ($250,000 married filing jointly), you’ll also pay the 0.9% Additional Medicare Tax, which will show up as a higher-than-expected amount in Box 6.

Boxes 15–20 handle state and local taxes. If you live or work in a state with an income tax, these boxes will show your state wages and state tax withholding. Some employees have two states listed — for example, if you live in New Jersey but work in New York, you may see withholding for both states. If you work in a state with no income tax (like Florida or Texas), Boxes 15–17 may be blank.

Box 12 Codes (Most Common)

Box 12 is where your employer reports specific types of compensation and benefits using letter codes. Some are informational only; others directly affect your tax return.

Code Meaning
D 401(k) elective deferrals (traditional)
E 403(b) contributions
AA Roth 401(k) contributions
BB Roth 403(b) contributions
DD Cost of employer-sponsored health coverage (informational only — not taxable)
W HSA employer contributions
C Taxable group-term life insurance over $50,000
G 457(b) contributions
P Moving expense reimbursements (military only)
Q Nontaxable combat pay

Code D is the one most employees will see — it reports your traditional 401(k) contributions for the year. This amount has already been subtracted from Box 1, which is one of the main reasons Box 1 is lower than your gross salary. The 2026 contribution limit is $23,500 ($31,000 if you’re 50 or older with catch-up contributions). If Code D shows an amount close to these limits, you’re maximizing your retirement savings.

Code DD sometimes causes confusion — it shows the total cost of your employer-sponsored health coverage (both what you and your employer paid). This number is purely informational and is not taxable income. It was added to W-2s starting in 2012 for Affordable Care Act reporting purposes. You don’t need to do anything with it on your tax return.

Code W reports employer contributions to your Health Savings Account (HSA). These contributions are tax-free but do count toward your annual HSA contribution limit.

Why Box 1 Differs From Your Total Salary

One of the most common points of confusion with the W-2 is that Box 1 almost never matches your actual annual salary. If you earn $80,000 per year, Box 1 might show $64,000. This isn’t an error — it’s because certain pre-tax deductions reduce your taxable income before it’s reported in Box 1. Understanding which deductions reduce Box 1 (and which don’t) helps you verify your W-2 is accurate.

Deduction Reduces Box 1? Example Amount
401(k)/403(b) traditional Yes $23,500
Health insurance premiums Yes $3,000–$8,000
HSA contributions Yes $4,300 single
FSA contributions Yes $3,300
Commuter benefits Yes $3,360
Roth 401(k) No Shows in Box 12 Code AA
Roth IRA No Not on W-2 at all

Example: $80,000 salary - $10,000 (401k) - $4,000 (health) - $2,000 (HSA) = $64,000 in Box 1.

To verify your W-2, pull up your final pay stub of the year. Your year-to-date (YTD) gross pay should match your total salary, and your YTD federal taxable wages should closely match Box 1. The difference between gross pay and Box 1 should equal the total of your pre-tax deductions. If the numbers are off by more than a few dollars (small rounding differences are normal), contact your payroll department.

Note that Roth 401(k) contributions (Code AA) do not reduce Box 1 because Roth contributions are made with after-tax dollars — you pay tax on them now in exchange for tax-free withdrawals in retirement. Conversely, traditional 401(k) contributions (Code D) do reduce Box 1 because you’re deferring the tax until you withdraw the money in retirement. This distinction is at the core of the Roth vs. traditional decision.

W-2 vs. Other Tax Forms

If you have income from sources beyond a traditional W-2 job — freelancing, investments, bank interest, or retirement accounts — you’ll receive additional tax forms. Each form reports a different type of income and has different tax withholding rules. Here’s how the W-2 compares to the most common forms you might encounter. For a deeper comparison between employee and contractor income, see our 1099 vs. W-2 guide.

Form Who Gets It Purpose
W-2 Employees Wages and tax withholding
1099-NEC Independent contractors Freelance/contract income
1099-INT Account holders Bank interest income
1099-DIV Investors Dividend income
1099-B Investors Stock/investment sales
1099-R Retirees Retirement distributions
W-4 Employees Tells employer how much to withhold (not filed with taxes)

The key distinction between a W-2 and a 1099-NEC is tax withholding. As a W-2 employee, your employer withholds federal income tax, Social Security tax, and Medicare tax from every paycheck — you see the totals in Boxes 2, 4, and 6. As an independent contractor receiving a 1099, nothing is withheld. You’re responsible for paying your own self-employment tax (15.3% covering both the employee and employer portions of FICA) and making estimated quarterly tax payments throughout the year.

If you receive both a W-2 and one or more 1099s in the same year — which is increasingly common with side gigs and freelance work — you report both on your tax return. Your W-2 income goes on Line 1a of Form 1040, and your 1099 income goes on Schedule C.

Common W-2 Errors and How to Fix Them

W-2 errors are more common than you might think. Payroll systems process millions of forms, and mistakes happen — wrong Social Security numbers, incorrect income amounts, or missing state tax information. Filing with an incorrect W-2 can lead to IRS notices, delayed refunds, or even an audit. Here’s what to watch for and how to fix it.

Error What to Do
Incorrect SSN Contact employer for corrected W-2c
Wrong income amount Match against final pay stub; request W-2c if wrong
Missing state tax info Contact employer — some states don’t have income tax
Name misspelled Request W-2c (must match SSA records)
Didn’t receive W-2 Contact employer by mid-February; then call IRS at 1-800-829-1040

Your employer must issue a corrected Form W-2c for any errors. Do not file your taxes with an incorrect W-2 if you know about the error.

The most critical error to catch is an incorrect Box 1 amount. Compare it against your final pay stub’s YTD taxable wages. Common causes of discrepancies include: employer failing to properly exclude pre-tax 401(k) contributions, incorrectly treating bonuses or RSU vesting income, or miscategorizing taxable vs. non-taxable benefits. If the amount is wrong, request a W-2c — the IRS will eventually match your return against the W-2 on file, and any mismatch will generate a CP2000 notice.

If your employer went out of business or is unresponsive, you can use Form 4852 (Substitute for Form W-2) to file your return. Use your final pay stub to estimate income and withholding as accurately as possible. You should also contact the IRS at 1-800-829-1040 — they may have a copy of the W-2 your employer filed electronically.

Important Deadlines

Timing matters with W-2s. Missing your form or filing late can result in penalties and delayed refunds. Here are the dates to keep in mind.

Event Date
Employer must mail/provide W-2 January 31
Contact employer if not received Mid-February
Contact IRS if employer unresponsive Late February
File taxes with Form 4852 (W-2 substitute) As last resort
Tax filing deadline April 15

If you’re eager to file early and get your refund as quickly as possible, most employers make W-2s available electronically through their payroll provider (ADP, Gusto, Paychex, etc.) in mid-to-late January — often a week or more before the paper copy arrives in the mail. Check your employer’s payroll portal first.

For more on filing timelines and what to expect after you submit your return, see our tax refund timeline and tax deadline guide. If you need more time, you can file a tax extension, but remember — an extension gives you more time to file, not more time to pay. Any estimated tax owed is still due by April 15.

How Your W-2 Connects to Your Tax Return

Understanding how your W-2 flows into your tax return (Form 1040) helps you verify everything adds up correctly. Here’s the direct mapping.

When filing Form 1040:

W-2 Box Goes On Form 1040
Box 1 (Wages) Line 1a
Box 2 (Federal tax withheld) Line 25a
Box 17 (State tax withheld) State return + Schedule A (if itemizing)

If your Box 2 withholding exceeds your total tax liability, you get a refund. If it’s less, you owe. Use the tax bracket calculator to estimate your total liability, and see our W-4 guide to adjust withholding for next year.

Here’s how the rest of the picture comes together: Your Box 1 wages go onto Line 1a, along with wages from any other W-2s you received. Then you subtract either the standard deduction or your itemized deductions to arrive at your taxable income. The IRS applies the tax brackets to that taxable income to calculate your total tax. Finally, your Box 2 withholding (plus any tax credits you qualify for) is subtracted from that total — and the result is either a refund or an amount owed.

If you consistently get a large refund (over $1,000), it means too much is being withheld from each paycheck. While a refund feels good, it’s essentially an interest-free loan to the government. Adjusting your W-4 to reduce withholding puts that money back in your paychecks throughout the year. Conversely, if you owe a large amount at tax time, you may need to increase your withholding or risk an underpayment penalty. The IRS tax withholding estimator can help you fine-tune this.

For free and low-cost filing options, see our how to file taxes free guide and best tax software comparison.


Related: W-4 Guide | 1099 Tax Guide | Federal Income Tax Brackets | How Tax Brackets Work | Tax Refund Timeline | Standard Deduction