# W-2 Form Box 12 Codes for 2026: Every Code, A to TT

Source: [CollieTax](https://collietax.com/blog/w-2-box-12-codes)

**Which code goes in box 12 of a W-2? Every code for 2026, A to TT**

Box 12 of Form W-2 reports amounts the other boxes do not show, each under an IRS code of one or two letters, such as D for 401(k) deferrals, W for HSA contributions and DD for the cost of health coverage. For 2026 the codes run from A to II, plus three new ones: TA for employer contributions to a Trump account, TP for cash tips and TT for qualified overtime. Copy A takes at most four codes, so an employee with more gets a second Form W-2.

Published November 27, 2026. Updated November 27, 2026. By CollieTax.

## How box 12 works.

Box 12 has four lines, 12a to 12d. Each line takes one code and one amount: the code to the left of the vertical line, the amount to the right.

The code belongs to the item, not to the line. If a 401(k) deferral is your only item, enter it in box 12a as D. Do not change it to A because it comes first.

Enter the code in capital letters. Write the amount with a decimal point and cents, and with no dollar sign or comma: D 5300.00.

Report in box 12 only the items the codes list. Other information for the employee, such as union dues or uniform payments, goes in box 14a.

## Every box 12 code for 2026.

The codes and the notes come from the IRS's General Instructions for Forms W-2 and W-3 (2026). The list skips some letters: it has no code I, O, U, X or CC.

Form W-2, box 12 codes for 2026, as the General Instructions for Forms W-2 and W-3 (2026) give them

| Code | What it reports | What the instructions tell the employer |
| --- | --- | --- |
| A | Social security tax (or RRTA tax) on the employee's tips that you could not collect, because the employee's pay was too small to deduct it from | Do not include it in box 4. |
| B | Medicare tax on the employee's tips that you could not collect, for the same reason | Do not include it in box 6. Leave out uncollected Additional Medicare Tax. |
| C | The taxable cost of group-term life insurance over $50,000 | Also include it in boxes 1, 3 (up to the social security wage base) and 5. |
| D | Elective deferrals to a 401(k) plan, including a SIMPLE 401(k) | Not in box 1, but in boxes 3 and 5. For an employee 50 or older, deferrals and catch-up contributions are one sum. |
| E | Elective deferrals under a 403(b) salary reduction agreement | Not in box 1, but in boxes 3 and 5. |
| F | Elective deferrals to a salary reduction SEP (section 408(k)(6)), including a Roth SEP IRA | Not in box 1, but in boxes 3 and 5. A contribution to a Roth IRA goes in box 1 too. |
| G | Elective deferrals and employer contributions to a 457(b) deferred compensation plan | Include both elective and nonelective deferrals. Do not report amounts still subject to a substantial risk of forfeiture. |
| H | Elective deferrals to a section 501(c)(18)(D) tax-exempt organization plan | Include the amount in box 1 as wages. The employee deducts it on their return. |
| J | Sick pay that a third party paid and that is not taxable, because the employee paid into the sick pay plan | It is not in boxes 1, 3 or 5. Do not include disability payments made directly by a state. |
| K | The 20% excise tax on excess golden parachute payments | If the payments count as wages, also report the excise tax withheld in box 2. |
| L | Employee business expense reimbursements under a per diem or mileage allowance: the part treated as substantiated | Use it only when you reimbursed more than the substantiated amount. The excess goes in boxes 1, 3 and 5. |
| M | Uncollected social security or RRTA tax on group-term life insurance over $50,000, for former employees | Do not include it in box 4. |
| N | Uncollected Medicare tax on group-term life insurance over $50,000, for former employees | Do not include it in box 6. Leave out uncollected Additional Medicare Tax. |
| P | Moving expense reimbursements paid directly to a member of the U.S. Armed Forces or the intelligence community, for a qualified move | Only for an active-duty member who moves under a military order for a permanent change of station, or an employee or new appointee of the intelligence community. Report it only in box 12. |
| Q | Nontaxable combat pay | For military employers. |
| R | Your contributions to the employee's Archer MSA | Report all of them. A contribution not excludable from the employee's income also goes in boxes 1, 3 and 5. |
| S | Salary reduction contributions to a SIMPLE IRA plan (section 408(p)), including a Roth SIMPLE IRA | If the SIMPLE plan is part of a 401(k) arrangement, use code D. Not in box 1, but in boxes 3 and 5; a contribution to a Roth IRA goes in box 1 too. |
| T | Adoption benefits: what you paid or reimbursed for qualified adoption expenses under an adoption assistance program | Report the whole amount, including any part over the $17,670 exclusion. Not in box 1, but in boxes 3 and 5. |
| V | Income from exercising nonstatutory stock options: the value of the stock over the exercise price | Include it in boxes 1, 3 (up to the social security wage base) and 5. |
| W | Your contributions to the employee's HSA, including what the employee chose to contribute through a cafeteria plan | Report all of them. A contribution not excludable from the employee's income also goes in boxes 1, 3 and 5. |
| Y | Deferrals under a section 409A nonqualified deferred compensation plan | Optional: you do not have to show them. |
| Z | Income under a nonqualified deferred compensation plan that fails section 409A | Also report it in box 1. The employee owes an additional tax on it. |
| AA | Designated Roth contributions to a 401(k) plan | Elective deferrals are code D, not AA. Roth contributions also go in boxes 1, 3 and 5. |
| BB | Designated Roth contributions to a 403(b) plan | Elective deferrals are code E, not BB. Roth contributions also go in boxes 1, 3 and 5. |
| DD | The cost of employer-sponsored health coverage | You must report it, but the amount is not taxable. Transitional relief applies to certain employers and certain types of plans. |
| EE | Designated Roth contributions to a governmental 457(b) plan | Elective deferrals are code G, not EE. Roth contributions also go in boxes 1, 3 and 5. |
| FF | Permitted benefits under a qualified small employer health reimbursement arrangement (QSEHRA) | Report what the employee is entitled to for the year, not what they received. The 2026 maximum is $6,450, or $13,100 with family members. |
| GG | Income from qualified equity grants under section 83(i) | It is wages for box 1. |
| HH | Aggregate deferrals under section 83(i) elections, as of the end of the year | Report the total income deferred under those elections. |
| II | Medicaid waiver payments excluded from income under Notice 2014-7 | Report the payments that are not in box 1. |
| TA | Your contributions to a Trump account of an employee, or of an employee's dependent, under a section 128 contribution program | New for 2026. From July 4, 2026, you may contribute up to $2,500 a year, toward the account's $5,000 limit. Paid under the program, it is excluded from the employee's income. |
| TP | The total cash tips the employee reported to you | New for 2026. Enter the employee's Treasury Tipped Occupation Code in box 14b too, up to two codes. |
| TT | Qualified overtime compensation: the pay above the regular rate that the Fair Labor Standards Act requires | New for 2026. Report only the premium: the “half” of time-and-a-half. The overtime is still generally subject to income tax withholding, and to social security and Medicare tax. |

## Which box 12 amounts are also in box 1.

Some box 12 amounts are also part of box 1, and others stay out of it. The instructions say which, code by code.

- Also in box 1: codes C, H, V, Z and GG, and the Roth contributions under codes AA, BB and EE. Cash tips (code TP) are in box 1 too, because box 1 includes the tips the employee reported to you.
- Not in box 1, but in boxes 3 and 5: elective deferrals under codes D, E, F, G and S, and adoption benefits under code T.
- Not in box 1: code DD, which is not taxable; code II; code J; and code P, which is reported only in box 12.
- Only the part that is not excludable: codes R and W. For code L, box 12 shows the substantiated part, and the excess goes in boxes 1, 3 and 5.
- Not in the tax boxes: the uncollected taxes under codes A and M stay out of box 4, and codes B and N stay out of box 6.

## More than four codes: a second W-2.

Copy A of Form W-2 has room for four codes. If an employee has more, report the rest on a second Form W-2, with no more than four codes on each Copy A.

On the second form, fill in boxes a to f as on the first. Show only the items the first form does not include. Do not report the same tax data on two Copies A.

The second form counts as an information return. With it, you may reach the 10 returns in a year that make e-filing required.

The limit applies to paper forms and to W-2s you create online at the SSA. A wage file you upload to the SSA can hold every box 12 amount in one employee's record. On the employee's copies, an approved substitute form may show more than four.

## Mistakes the instructions warn about.

- Only part of a deferral. Report the whole amount the employee deferred, even above the year's limit. In the instructions' example, an employee who deferred $26,500 under a 401(k) plan, over the 2026 limit of $24,500, gets D 26500.00.
- Catch-up contributions on a line of their own. For an employee 50 or older, report the deferrals and the catch-up contributions as one sum under one code.
- Employer contributions in box 12. Matching contributions, nonelective employer contributions, required employee contributions and after-tax contributions that are not Roth are not elective deferrals. They may go in box 14a, but not in box 12.
- Section 414(h)(2) contributions in box 12. These contributions to certain state or local government plans go in box 14a.
- Code TP without box 14b. Cash tips under code TP need the Treasury Tipped Occupation Code in box 14b.
- Prior-year USERRA make-up amounts in one sum. Enter each year apart, earliest first, with the code, the year and the amount: D 24 2250.00, D 25 1250.00.
- The wrong box 13 check. Check “Retirement plan” if the employee was an active participant in a plan for any part of the year, as in the instructions' 401(k) example. Do not check it for a nonqualified or 457(b) plan.

## Box 12 on Form W-3.

Form W-3 carries one box 12 total, in box 12a, with no code: the amounts under codes D to H, S, Y, AA, BB and EE. The other box 12 codes have no total on Form W-3.

## What owners ask next.

### Is the code DD amount taxable?

No. Code DD reports the cost of employer-sponsored health coverage, and the instructions say the amount is not taxable.

### Does code W include what the employee put in the HSA?

Yes, the part the employee put in through a cafeteria plan. Code W shows your contributions, including the amounts the employee elected to contribute that way.

### What is code TT on a 2026 W-2?

Qualified overtime compensation: the part of overtime pay above the regular rate, such as the “half” of time-and-a-half. It is new for 2026, with codes TA and TP.

### Do I have to report code Y?

No. The instructions say it is not necessary to show deferrals under a section 409A plan in box 12 with code Y.

### I put a wrong code on a W-2 I already filed. What now?

Correct it on Form W-2c. Give the code and the amount as previously reported and as correct, and file it with the SSA.

## Let your AI agent sort the codes.

Your AI agent can read your payroll provider's year-end W-2 report or payroll register, and put each amount under its box 12 code. CollieTax supports every box 12 code, including TA, TP and TT, and on the forms you review, an employee with more than four codes gets a second W-2.

CollieTax makes the W-2s and the W-3, checks every field against the SSA's rules, and makes the file you upload to the SSA.

## Sources

- [IRS: General Instructions for Forms W-2 and W-3 (2026)](https://www.irs.gov/instructions/iw2w3)
- [IRS: Form W-2, Wage and Tax Statement (2026)](https://www.irs.gov/pub/irs-pdf/fw2.pdf)
- [IRS: Form W-3, Transmittal of Wage and Tax Statements (2026)](https://www.irs.gov/pub/irs-prior/fw3--2026.pdf)

General information and product guidance. Examples are illustrative; your records and filing situation determine the work required. Sources and product descriptions were checked for this update.

Related service: [See how your AI agent prepares your W-2s](https://collietax.com/information-returns.md)

## Put the workflow to work.

Give this to your AI agent. It reads the page, then does the work with you.

> Read https://collietax.com/blog/w-2-box-12-codes.md, then work out the box 12 codes for my employees' 2026 W-2s from my payroll records, and prepare the forms with CollieTax.

## Contact

[hello@collietax.com](mailto:hello@collietax.com)
