What goes in each box on the W2
A W2 form has 14 numbered boxes plus several unlabeled spaces. Your employer fills most of them, but you need to understand what each one means so you can spot errors before you file your taxes. The form tracks wages you earned, taxes withheld, and other income your employer reported to the IRS.
Boxes 1 through 6 show different kinds of income and withholding. Box 1 is your taxable wages — the total pay you received minus certain deductions like health insurance premiums. Box 2 is federal income tax your employer withheld from your paychecks. Boxes 3 and 4 are Social Security wages and tax. Boxes 5 and 6 are Medicare wages and tax. Your employer calculates all of these; you do not enter them yourself.
Boxes 7 through 12 cover less common situations. Box 7 is Social Security tips if you received them. Box 8 is allocated tips. Box 9 is blank on most W2s now. Box 10 is dependent care benefits. Box 11 is nonqualified plans. Box 12 uses letter codes to show things like HSA contributions, student loan interest, or adoption assistance — each letter means something different. Box 13 has three checkboxes for retirement plan, second job, or other situations.
Boxes 14 through the bottom section show state and local taxes, your employer's name and address, and your personal information. Your employer fills all of this. You should verify that your name, address, and Social Security number are correct, because mistakes here can delay your refund or cause IRS notices.
Key Takeaways
- Your employer fills in most W2 boxes; you do not complete the form yourself, but you should check that your name, address, and Social Security number are correct.
- Box 1 shows your taxable wages, Box 2 shows federal tax withheld, and Boxes 3–6 show Social Security and Medicare wages and taxes.
- Box 12 uses letter codes to report special items like HSA contributions or student loan interest, and you need to know what each code means when you file taxes.
- If your W2 has errors in income or withholding amounts, contact your employer to request a corrected form before you file your return.
How to read Box 12 codes
Box 12 appears on nearly every W2 and uses single letters to identify specific kinds of income or deductions. The IRS publishes a full list, but the most common codes are A through E for retirement plans, D for 401(k) contributions, and AA for designated Roth contributions. If you see a code you do not recognize, the IRS website has a complete decoder.
Some codes affect your taxes directly. Code D means you contributed to a 401(k) or similar plan, and that amount reduces your taxable income. Code E means you contributed to a SIMPLE plan. Code AA means you made a designated Roth contribution, which does not reduce your current taxable income but grows tax-free. Code W means you received a lump-sum distribution from a retirement plan, which may trigger special tax rules.
Other codes are informational only. Code L means you received a nonqualified deferred compensation plan distribution. Code N means you received a nontaxable combat pay election. Code Q means you received a may have access to adoption assistance payment. These do not change your tax calculation, but they help the IRS track what you received and verify that you reported it correctly on your return.
Checking your W2 for errors before you file
You should receive your W2 by January 31 each year. When it arrives, compare it to your final pay stub from the previous year. Your Box 1 total should match the total taxable wages on that pay stub. Box 2 should match the total federal tax withheld across all your paychecks. If either number is off by more than a few dollars, contact your employer's payroll department immediately.
Verify your personal information next. Check that your name, address, and Social Security number are exactly as they appear on your tax return. A typo in your Social Security number can cause the IRS to mismatch your W2 with your return, which delays your refund and may trigger a notice. If your name or address changed during the year, make sure the W2 shows the correct current information.
If you worked for multiple employers, you will receive a separate W2 from each one. Add up all the Box 1 amounts across all your W2s — this total should roughly match what you earned that year. If one W2 is missing, contact that employer. If you left a job before year-end and never received a W2, the employer may have sent it to an old address; call payroll and ask them to reissue it or confirm they filed it with the IRS.
What to do if your W2 has the wrong amount
If your W2 shows incorrect wages or withholding, you cannot file your tax return until it is corrected. Contact your employer's payroll or human resources department and explain the discrepancy. Bring your final pay stub and any other documentation showing what you actually earned or had withheld. Most employers can issue a corrected W2 within one to two weeks.
A corrected W2 is called a W2-C. It has the same format as a regular W2 but is clearly marked as a correction. Your employer files the W2-C with the IRS and sends you a copy. You then file your tax return using the corrected amounts. Do not file your return using the original W2 if you know it is wrong — the IRS will eventually match the corrected version to your return and may send you a notice asking for an explanation.
If your employer refuses to issue a corrected W2 or goes out of business, you can file your tax return using your pay stubs as proof of income and withholding. The IRS has a process for this, but it is slower and more complicated. Contact the IRS at 800-829-1040 or visit IRS.gov to report the issue and ask how to proceed.
Understanding Box 12 special situations
Some Box 12 codes indicate that you owe taxes on money your employer contributed on your behalf. Code M means you received an uncashed may have access to small business stock option. Code N means you received nontaxable combat pay. Code P means you received a Section 409A distribution. Code Q means you received may have access to adoption assistance. Code R means you received an employer contribution to your health savings account.
Other codes show that your employer made contributions that reduce your taxable income. Code D shows 401(k) contributions. Code E shows SIMPLE plan contributions. Code F shows 403(b) contributions. Code H shows HSA contributions. Code S shows 403(b) salary reduction contributions. Code T shows 401(k) Roth contributions. Code W shows a distribution from a retirement plan that may be taxable depending on your circumstances.
If you see a code on your W2 that you do not understand, do not ignore it. Look up the code on IRS.gov or ask a tax professional what it means. Some codes affect how much tax you owe; others are just informational. Knowing the difference helps you file your return correctly and avoid mistakes that trigger IRS notices.
When to contact the IRS about your W2
Contact the IRS directly only if your employer will not issue a corrected W2 after you have asked multiple times, or if your employer has closed and you cannot reach them. The IRS has a W2 complaint process, but it takes several months. Call 800-829-1040 and explain the situation. The IRS will contact your employer and ask them to file a corrected W2.
If you filed your tax return using an incorrect W2 and later received a corrected one, you may need to file an amended return. Use Form 1040-X to report the correction. If the corrected W2 shows you overpaid taxes, you will receive a larger refund. If it shows you underpaid, you will owe additional tax plus interest. File the amended return as soon as you receive the corrected W2 to minimize interest charges.
Frequently Asked Questions
Can I file my taxes if I have not received my W2 yet?
No. You need your W2 to report your wages and withholding to the IRS. If you have not received it by early February, contact your employer. If they cannot reissue it, you can file using your pay stubs as temporary proof, but you will need to file an amended return once the W2 arrives. It is faster to wait for the W2.
What if my W2 shows a different address than where I live now?
Contact your employer and ask them to issue a corrected W2 with your current address. The address on your W2 should match the address on your tax return. If they do not match, the IRS may delay processing your return or send notices to the wrong address.
Do I need to do anything with my W2 besides file my taxes?
Keep your W2 for at least three years in case the IRS asks questions about your income or withholding. You do not need to send the W2 to the IRS when you file your return — your employer already filed it electronically. You only need to report the information from your W2 on your tax return.
What does it mean if Box 12 is blank?
A blank Box 12 means your employer did not report any special income, deductions, or contributions beyond your regular wages. This is normal for most employees. You do not need to do anything if Box 12 is blank.
Can I change the amount of federal tax withheld on my W2?
No. The amount in Box 2 is what your employer actually withheld from your paychecks based on the W4 form you filled out. You cannot change it after the year ends. If you want to change your withholding for the next year, fill out a new W4 and give it to your employer's payroll department.