401k Contributions on W-2 Form Guide

401k Contributions on W-2 Form Guide – Understanding how your 401(k) contributions appear on your W-2 form is essential for accurate tax filing, maximizing retirement savings, and avoiding IRS issues. This comprehensive guide explains exactly where to find your 401k contributions on the W-2, what the codes mean, how they affect your taxable income, and key differences between traditional and Roth 401(k) plans. Tailored for U.S. workers, it draws from official IRS resources to ensure you have the most current information for tax year 2025 W-2 forms (issued in early 2026).

What Are 401(k) Contributions and Why Do They Show Up on Your W-2?

A 401(k) is a popular employer-sponsored retirement plan that lets you defer a portion of your salary into investments on a pre-tax or after-tax (Roth) basis. Employers report these elective deferrals on your Form W-2 (Wage and Tax Statement) so the IRS can track your contributions, verify they stay within annual limits, and ensure proper tax treatment.

Your W-2 does not require you to deduct 401(k) contributions again on your Form 1040—the adjustments are already reflected in your reported wages. This reporting also triggers the “Retirement plan” indicator in Box 13, which may limit your ability to deduct traditional IRA contributions.

Where to Locate 401(k) Contributions on Your W-2 Form?

401(k) contributions appear primarily in Box 12 of your W-2. This box uses letter codes followed by dollar amounts to report various items, including retirement plan deferrals. You may see up to four entries (12a through 12d) if you have multiple types of contributions.

  • Look for codes starting with “D” or “AA” in Box 12—these directly relate to 401(k) plans.
  • Your total employee elective deferrals are not included in Box 1 (taxable wages) for traditional plans but are included for Roth plans.

Decoding W-2 Box 12 Codes for 401(k) Plans

Box 12 uses specific codes for different retirement contributions. Here are the key ones for 401(k) plans (per current IRS instructions):

  • Code D: Elective deferrals to a section 401(k) plan (including traditional pre-tax contributions and SIMPLE 401(k) plans). This is the most common code for traditional 401(k) contributions.
  • Code AA: Designated Roth contributions under a section 401(k) plan (Roth 401(k) contributions).
  • Other related codes (less common for standard 401(k)): Code E (403(b)), Code S (SIMPLE IRA), Code BB (Roth 403(b)).

Pro tip: Always check the instructions that come with your W-2 or the official IRS General Instructions for Forms W-2 and W-3 for the exact year.

Traditional 401(k) vs. Roth 401(k): How They Appear Differently on Your W-2

The tax treatment determines how each type shows up:

  • Traditional 401(k) (pre-tax): Contributions reduce your taxable wages immediately. They are excluded from Box 1 but included in Boxes 3 (Social Security wages) and 5 (Medicare wages) because they remain subject to FICA taxes. Reported in Box 12 with Code D.
  • Roth 401(k) (after-tax): Contributions are made with already-taxed dollars. They are included in Box 1, Boxes 3, and 5. Reported in Box 12 with Code AA.

Both types check the “Retirement plan” box in Box 13. Employer matches or profit-sharing contributions do not appear in Box 12—they are not employee deferrals.

How 401(k) Contributions Impact Your Taxable Income on the W-2?

Traditional 401(k) contributions lower your federal (and often state) taxable income by reducing Box 1 wages. For example:

  • Gross pay: $80,000
  • Traditional 401(k) deferral: $10,000
  • Box 1 wages: $70,000 (savings of $10,000 in taxable income)

Roth contributions do not reduce Box 1. All elective deferrals count toward your annual contribution limit regardless of type.

The Importance of the Box 13 “Retirement Plan” Checkbox

If you participated in a 401(k) at any point during the year, your employer must check Box 13. This signals to the IRS that you were an “active participant” in a retirement plan, which can phase out or eliminate your ability to deduct contributions to a traditional IRA (depending on your income and filing status).

2025 and 2026 401(k) Contribution Limits You Need to Know

Staying under the IRS limits prevents excess deferral taxes. Here are the official limits:

For tax year 2025 (reflected on W-2s issued in 2026):

  • Employee elective deferral limit: $23,500
  • Catch-up contribution (age 50+): $7,500
  • Super catch-up (ages 60–63): $11,250
  • Total combined employee + employer limit: $70,000

For tax year 2026:

  • Employee elective deferral limit: $24,500
  • Catch-up contribution (age 50+): $8,000
  • Super catch-up (ages 60–63): $11,250
  • Total combined limit: $72,000

These limits apply to the total of traditional + Roth deferrals. Your W-2 Box 12 amounts should not exceed these.

Do Employer Matching or Profit-Sharing Contributions Appear on Your W-2?

No. Only your own elective deferrals (what you choose to contribute from your paycheck) go in Box 12. Employer contributions (matches, nonelective contributions, or profit-sharing) are reported to the plan administrator but do not appear on your personal W-2. They still count toward the overall annual limit under IRS Section 415.

Common FAQs and Mistakes with 401(k) on W-2 Forms

  • My W-2 shows Code D but I contributed to Roth — Double-check: Roth uses Code AA. Contact your payroll department if incorrect.
  • Box 1 seems too low — That’s normal for traditional 401(k) contributions.
  • I have both traditional and Roth — You may see two separate Box 12 entries (D and AA).
  • After-tax (non-Roth) contributions — These are optional and may appear in Box 14 but are not required to be reported there.
  • Over-contribution — Excess amounts in Box 12 must be corrected or taxed as income (plus possible 10% penalty if under 59½).

How to Use Your W-2 401(k) Information When Filing Your Taxes?

When using tax software (TurboTax, H&R Block, etc.):

  1. Enter your W-2 exactly as shown.
  2. The software automatically pulls Box 12 Codes D and AA into the correct retirement sections.
  3. No additional deduction is needed for traditional 401(k)—it’s already handled.
  4. Roth 401(k) contributions qualify for potential Saver’s Credit (Form 8880) if you meet income requirements.

Keep your W-2 and any year-end 401(k) statements for your records.

Why Understanding 401(k) on Your W-2 Matters for Your Financial Future?

Accurately reading your 401(k) contributions on your W-2 helps you:

  • Confirm your savings goals are on track.
  • Avoid tax penalties for excess contributions.
  • Maximize credits like the Saver’s Credit.
  • Plan effectively for retirement while minimizing current taxes.

Review your W-2 as soon as you receive it (by January 31). If anything looks off, contact your employer’s HR or payroll team immediately.

For the most authoritative details, always refer to the latest IRS Publication 525 (Taxable and Nontaxable Income) and the General Instructions for Forms W-2 and W-3. Consult a tax professional for personalized advice based on your full financial situation.

This guide is current as of 2026 and based on official IRS guidance. Save it as your go-to resource for decoding 401k contributions on W-2 forms every tax season.