W2CodeLookup
Tax Year 2026 Reference Already in Box 1 Wages

W-2 Box 12 Code AA (2026): Roth 401(k) Contributions

Box 12 Code AA marks the part of your 401(k) deferrals you elected as Roth. The money is already inside Box 1 wages, so Code AA never changes what you owe.

W-2 Code AA
Form Location Box 12 (12a–12d)
Federal Tax Status After-Tax — Not Deductible Again
Key Cap / Form Line Already Included in Box 1 Wages

Primary IRS Source: 2026 IRS General Instructions for Forms W-2 and W-3 (IRC 402A)

What W-2 Box 12 Code AA Means

Box 12 Code AA reports your designated Roth contributions to a 401(k) plan — the part of your elective deferrals that you chose to have taxed now instead of later. The IRS assigns the letter under IRC §402A, and your payroll system prints it next to the dollar amount you contributed that way during the calendar year.

Code AA confuses people because it looks like a benefit the way DD or TA does. It is not. It is a flag on money you already earned and already paid tax on, and it tells your tax software which slice of your 401(k) deferrals should be tracked as Roth basis going forward.

Why Code AA Is Already Inside Box 1 Wages

This is the single most important point on this page. Traditional 401(k) deferrals (Code D) come out of your pay before federal income tax, which is why Box 1 wages are lower than your gross salary. Roth deferrals (Code AA) come out after federal income tax. That asymmetry has three consequences:

  1. Box 1 already includes the Code AA amount. You paid income tax on it at the time of the deferral.
  2. Box 3 and Box 5 include it too. Roth 401(k) deferrals are still subject to Social Security and Medicare tax.
  3. Box 12 does not reduce Box 1. A Code AA entry never lowers taxable wages. Its only job is to report the amount separately so it is not mistaken for a second, additional contribution.

If you add the Code AA figure to your income, you are paying tax on it twice. If you subtract it from Box 1, you are claiming a deduction you already received.

Code AA vs Code D: Two 401(k) Lines on the Same Form

Many W-2s print both letters, because many people split their deferrals between pre-tax and Roth.

Line What it reports Effect on Box 1
Code D Traditional pre-tax deferrals Reduces Box 1
Code AA Designated Roth deferrals No effect — already inside Box 1

Add the two figures and you get your total elective deferrals for the year, which is the number that has to fit within the IRS elective deferral limit for that year. Neither letter by itself is a complete picture of what you contributed. Employer matching contributions are reported separately and are generally pre-tax even when your own deferrals were Roth.

Three mistakes to avoid with Code AA

  • Do not report it as income. The figure is a subset of Box 1, not an addition to it.
  • Do not deduct it. The tax benefit was delivered at deferral, not at filing.
  • Do not confuse AA with BB. Code BB is the same Roth election made inside a 403(b) plan, which is a different retirement vehicle used by schools, hospitals and nonprofits. The letters are not interchangeable.

Do You Enter Code AA on Your Tax Return?

Yes — enter the letter and amount into the Box 12 field of your tax software so your return matches the copy your employer sent to the IRS. Software reads Code AA as an after-tax contribution and excludes it from any income calculation automatically. Nothing else is required: no form, no worksheet, no attachment.

If you are reconciling a W-2 against your final pay stub, the Code AA figure should equal the Roth column of your year-to-date deferral summary. A mismatch is worth one call to payroll before you file, because a corrected W-2 is much easier to obtain in January than in April.

Comparing other letters? See the complete 33-code Box 12 list, the Code DD guide for the health coverage figure, or the instant W-2 code decoder for any letter, Box 14 label or 3-digit Box 14b code.

Frequently Asked Questions

Does W-2 Box 12 Code AA increase my taxable income?

No. Code AA is a label, not an addition. Designated Roth contributions are withheld after tax, so they are already counted inside Box 1 wages. Adding the Code AA figure to your income counts the same dollars a second time.

What is the difference between Code D and Code AA on a W-2?

Both report 401(k) deferrals, but Code D is traditional pre-tax and Code AA is designated Roth. Code D amounts are excluded from Box 1; Code AA amounts stay inside Box 1 because you already paid income tax on them. Together the two amounts equal your total elective deferrals for the year.

Can I deduct the amount shown under Code AA?

No. You received the tax benefit when the money went in — Roth contributions are made with after-tax dollars, so there is no second deduction on the way out. Qualified withdrawals later are what make the Roth election pay off.

Why is my Code AA amount larger than the percentage I elected?

Code AA reports the total dollars designated as Roth for the entire calendar year, not a percentage. It can also include catch-up contributions if you were 50 or older during the year, which is why the figure sometimes looks higher than your payroll rate suggests.

Related 2026 W-2 Guides & Tools