What each box on your W2 means and why it matters

Your W2 form is a record of the wages your employer paid you and the taxes they withheld. The IRS gets a copy, and you use it to file your tax return. Each numbered box holds a specific piece of information — some you need for your return, some just for your records, and some that affect whether you owe money or get a refund.

The form has 14 main boxes plus several state and local sections. You do not need to memorize all of them. You need to know which ones go on your tax return, which ones might trigger follow-up questions, and which ones are just informational. This guide walks you through the ones that matter most and shows you where they land on your return.

Key Takeaways

  • Boxes 1, 2, and 12 are the three numbers you will enter on your tax return: wages, federal tax withheld, and certain deductions your employer made.
  • Box 5 shows Social Security tax withheld and Box 6 shows Medicare tax withheld — these are separate from federal income tax and appear on your return as well.
  • Boxes 12 and 20 can contain codes that signal special situations like retirement contributions, health insurance premiums, or student loan interest — each code means something different.
  • If your W2 shows income you did not earn or tax withheld that seems wrong, contact your employer to request a corrected form (called a Form W2-C) before you file.
  • You should receive your W2 by January 31 each year; if it arrives after that or you never receive one, the IRS has a process to track it down.

Boxes 1 and 2: Your wages and federal tax withheld

Box 1 shows your taxable wages — the total amount your employer paid you during the year, minus certain pre-tax deductions like health insurance or retirement contributions. This is the number you enter on your tax return as income. It is not your gross pay before any deductions; it is what remains after your employer removes those specific items.

Box 2 shows federal income tax your employer withheld from your paychecks throughout the year. The IRS uses this number to check whether you overpaid, underpaid, or paid about right. If Box 2 is higher than your actual tax bill, you get a refund. If it is lower, you owe the difference. This box does not include Social Security or Medicare tax — those appear separately.

If Box 1 looks wrong — for example, it includes a bonus you never received or excludes a raise you got in November — contact your employer's payroll department when ready. They can issue a corrected W2 (Form W2-C) before you file. Do not guess or adjust the number yourself on your return.

Boxes 5 and 6: Social Security and Medicare tax

Box 5 shows Social Security tax withheld. Box 6 shows Medicare tax withheld. These are separate from federal income tax. Your employer withholds both automatically, and both appear on your tax return. Most people do not think about these separately because they come out of every paycheck, but the IRS tracks them to make sure you paid the right amount.

In 2024, Social Security tax is 6.2 percent of your wages (up to a limit that changes yearly), and Medicare tax is 1.45 percent with no limit. If you earned over $200,000 as a single filer (or $250,000 married filing jointly), an extra 0.9 percent Medicare tax applies, and Box 6 will reflect that. You do not calculate these yourself — your employer does — but you should verify the amounts look reasonable.

If you worked for more than one employer in the same year, you might have overpaid Social Security tax. The limit resets each year, so if you earned $170,000 at one job and $40,000 at another, you could have paid Social Security tax on more than the annual maximum. The IRS will refund the overage when you file, but only if you report all your W2s.

Box 12: Codes that signal special situations

Box 12 can contain one or more codes followed by a dollar amount. Each code means something different — it is not a second tax withholding, but rather a record of money your employer handled in a special way. Common codes include:

  • Code D: 401(k) or similar retirement plan contributions (pre-tax money that reduces your taxable income).
  • Code DD: Health insurance coverage information — this is just informational and does not affect your taxes.
  • Code S: Salary reduction contributions to a Section 403(b) plan (similar to a 401(k) for nonprofits and schools).
  • Code E: Elective deferrals to a 457 plan (government employee retirement plan).
  • Code W: Pretax dependent care contributions (money set aside for childcare before taxes).

If Box 12 shows a code you do not recognize, look it up on the IRS website or ask your employer what it means. Some codes reduce your taxable income (like retirement contributions), while others are just records. Do not ignore Box 12 — if your employer made a retirement contribution on your behalf, it affects how much income you report.

Box 20 and state/local sections: Where your state taxes appear

Box 20 shows state income tax withheld. Below that, you will see boxes for state and local tax information — the exact layout depends on which states you worked in. If you worked in only one state, this is straightforward. If you worked in multiple states or moved during the year, you may receive multiple W2s or one W2 with information split across state sections.

Some states do not have income tax (like Texas, Florida, and Wyoming). If you worked in one of those states, Box 20 will be blank or zero. If you worked in a state with income tax and your employer withheld nothing, that is usually correct — but verify with your employer if you think you should have had withholding.

State and local tax information goes on your state return, not your federal return. If you file in multiple states because you moved or worked in more than one state during the year, you will need all your W2s to file correctly in each state. Some states offer credits to prevent double taxation, but you have to report the income first.

Boxes 3 and 4: Social Security wages and tips

Box 3 shows your Social Security wages — usually the same as Box 1, but sometimes different if you received certain types of income that are not subject to Social Security tax. Box 4 shows Social Security tax withheld, which should match Box 5 in most cases.

If you received tips during the year, Box 3 will include them. Tips are taxable income and subject to Social Security tax. If your employer did not withhold enough tax on your tips, you may owe money when you file. Some employers ask you to report tips on a form during the year so they can adjust withholding; others catch up at year-end on your W2.

For most employees, Boxes 3 and 4 are just confirmations of what you already see in Boxes 1 and 5. You do not enter them separately on your tax return. They exist because Social Security has slightly different rules than federal income tax about what counts as wages.

Boxes 7, 8, 9, 10, and 11: Less common situations

Box 7 shows tips reported to your employer (separate from tips in Box 3). Box 8 shows allocated tips if you worked at a restaurant or bar where tips are pooled. Box 9 is usually blank — it was used for a tax credit that expired. Box 10 shows dependent care benefits your employer provided. Box 11 shows distributions from a nonqualified deferred compensation plan.

Most employees will see zeros or blanks in these boxes. If one of them contains a number and you are not sure why, ask your employer. For example, if Box 10 shows a dependent care benefit, that money may reduce your taxable income, and you need to know that before you file.

Box 11 is particularly important if you see a number there. Nonqualified deferred compensation is money your employer set aside for you in a special arrangement — it is taxable income when you receive it, and you need to report it correctly on your return. If you are unsure whether the amount is right, contact your employer or a tax professional.

What to do if your W2 has an error

If you spot a mistake on your W2 — wrong name, wrong Social Security number, wrong income amount, or tax withheld that does not match your paychecks — contact your employer's payroll or HR department right away. Do not file your return with the wrong information and hope it sorts itself out. The IRS will match your return against the W2 they received, and mismatches trigger notices and delays.

Your employer can issue a corrected W2 (Form W2-C) at any time during the year. Ask them to send the corrected form to you and to the IRS. Once you have the corrected W2, you can file your return using the correct numbers. If you already filed with wrong information, you will need to file an amended return (Form 1040-X) after the corrected W2 reaches the IRS.

If your employer refuses to issue a corrected W2 or you cannot reach them, the IRS has a process to help. You can file Form 4852 (Substitute for Form W-2) with your return, but this is a last resort and requires documentation of what you earned. Contact the IRS at 1-800-829-1040 if you need guidance on this route.

Frequently Asked Questions

When should I receive my W2 and what do I do if it is late?

Your employer must send your W2 by January 31 each year. If you do not have it by mid-February, contact your employer's payroll department. If they cannot locate it or say they did not file it, you can call the IRS at 1-800-829-1040 and they can help you track it down or file without it using Form 4852.

Do I need to report my W2 income if I did not owe taxes last year?

Yes. You must report all W2 income on your tax return, even if you did not owe taxes in the past. The IRS matches your return against the W2 your employer filed, and mismatches trigger notices. Your income might be low enough that you do not owe tax, but you still have to report it.

What if I have two W2s from two employers?

Report the income from both on your tax return. Add Box 1 from each W2 together to get your total wages. Do the same for federal tax withheld (Box 2), Social Security tax (Box 5), and Medicare tax (Box 6). The IRS receives copies of both W2s, so they will expect to see both on your return.

Can I claim a deduction for taxes shown in Box 2?

No. The federal income tax withheld (Box 2) is not a deduction — it is a payment toward your tax bill. It reduces what you owe or increases your refund, but you do not deduct it separately. State and local taxes withheld (Box 20) may be deductible on your federal return under certain conditions, but that is a different calculation.

Why does Box 1 not match my gross pay?

Box 1 is not your gross pay. It is your taxable wages after certain pre-tax deductions are removed — typically health insurance premiums, retirement contributions, and dependent care contributions. Your pay stub will show gross pay, then list each deduction, then show net pay. Box 1 falls somewhere in between, depending on which deductions your employer made.