Source: https://worklogs44.com/blog/w2-box-12-codes/

WorkLogs44 is a free payroll calculator app for iOS and Android: run one paycheck or a full multi-employee payroll with federal, state and FICA taxes plus employer SUTA and FUTA for all 50 states and DC.

Get the WorkLogs44 app: [App Store](https://apps.apple.com/us/app/payroll-calculator-worklogs44/id6762570878?pt=120576754&ct=worklogs44.md&mt=8) · [Google Play](https://play.google.com/store/apps/details?id=com.ehmtech.payroll&referrer=utm_source%3Dworklogs44.md)

# W-2 Box 12 Codes Explained, Code by Code

Published December 4, 2026

Every W-2 Box 12 code, what it reports, and whether it already reduced Box 1, plus the four-slot rule and the codes new for tax year 2026.

This article is for general information, not tax or legal advice. IRS form instructions and contribution limits change. Verify current requirements with the IRS, or talk to a payroll professional, before you file.

An employee opens a W-2 in February, finds a letter in Box 12 they have never seen, and wants to know one thing: does this change my refund? The bookkeeper who filed that form had the reverse problem a month earlier, working out which payroll deductions earn a letter at all.

![Comparison of the three W-2 Box 12 groups: D, E, G, W and pre-tax F and S came out of Box 1; codes such as C, V, AA, BB, TP and TT are already inside it; DD, FF and TA touch no wage box.](https://worklogs44.com/blog/w2-box-12-codes/three-box-12-groups-wide.webp)

Pre-tax retirement codes reduce Box 1 only. Boxes 3 and 5 still include them. [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Both answers are below. Every active code is listed with what it reports and, more usefully, whether the amount was already taken out of Box 1, already sitting inside Box 1, or just along for the ride.

## What Box 12 is, and how the four slots work

Box 12 is the itemization strip of the W-2. The wage boxes give you totals; Box 12 explains the pieces of compensation those totals cannot describe on their own, using single or double letter codes the IRS assigns.

There are four slots on the form: 12a, 12b, 12c, and 12d. **The letters a, b, c, and d are slot positions, not codes.** “Box 12a” by itself means nothing. The meaning lives in the letter you write next to it, so a 401(k) deferral is “code D” whether it lands in 12a or 12d.

Four slots is a real constraint on paper. An employer with more than four coded items for one employee issues an additional Form W-2 for the overflow, and that extra form counts toward the employer’s information-return total for the year. Electronic filers have it easier: every Box 12 amount goes into the single employee wage record, no second form needed. If you get two W-2s from the same employer for this reason, the wage boxes are not doubled, so do not add them twice.

There are 33 active codes. The alphabet has gaps: **I, O, U, and X were never assigned**, and **CC was retired** after its HIRE Act purpose expired. A missing letter is not an error on your form.

## The only question that matters: did this amount already come out of Box 1?

Nearly every Box 12 question is really this question. Sort the codes three ways and the rest gets easy.

**Group 1: already excluded from Box 1.** The money came out of taxable wages when it was withheld. Codes D, E, F, G, S, and W. Two of those letters do double duty: codes F and S also carry Roth SEP and Roth SIMPLE deferrals, which are after-tax and stay in Box 1. The retirement codes reduce Box 1 only, not Boxes 3 and 5, because elective deferrals are still subject to Social Security and Medicare tax. HSA contributions run through a cafeteria plan come out of all three.

**Group 2: already included in Box 1.** The code itemizes something the wage figure already contains. Codes C, H, V, Z, AA, BB, EE, GG, TP, and TT. Reporting it separately lets the employee (or the IRS) see what is inside the number.

**Group 3: informational only.** Reported for tracking, touching no wage box (code T is the exception: adoption benefits are excluded from Box 1 but still counted in Boxes 3 and 5). Codes DD, FF, HH, II, J, L, P, Q, R, T, TA, Y, and the uncollected-tax codes A, B, K, M, and N.

The sorting does real work on a return. A code W amount cannot be claimed again as a personal HSA deduction on Form 8889, because it was never in your taxable wages to begin with. And a code DD amount is not income and never was, so it changes nothing on the return, no matter how large the number looks.

### The complete Box 12 code list

| Code | What it reports | Box 1 effect |
| - | - | - |
| A | Uncollected Social Security or RRTA tax on tips | Informational |
| B | Uncollected Medicare tax on tips | Informational |
| C | Taxable cost of group-term life insurance over $50,000 | Already in Box 1 |
| D | Elective deferrals to a 401(k) | Already out of Box 1 |
| E | Elective deferrals to a 403(b) | Already out of Box 1 |
| F | Elective deferrals to a salary reduction SEP | Out of Box 1 (in Box 1 if Roth) |
| G | Elective deferrals and employer contributions to a 457(b) | Already out of Box 1 |
| H | Elective deferrals to a 501(c)(18)(D) plan | Already in Box 1 |
| J | Nontaxable sick pay | Informational |
| K | 20% excise tax on excess golden parachute payments | Informational |
| L | Substantiated employee business expense reimbursements | Informational |
| M | Uncollected Social Security or RRTA tax on group-term life, former employees | Informational |
| N | Uncollected Medicare tax on group-term life, former employees | Informational |
| P | Excludable moving expense reimbursements, Armed Forces and intelligence community | Informational |
| Q | Nontaxable combat pay | Informational |
| R | Employer contributions to an Archer MSA | Informational |
| S | Salary reduction contributions to a SIMPLE plan | Out of Box 1 (in Box 1 if Roth) |
| T | Adoption benefits | Informational |
| V | Income from exercising nonstatutory stock options | Already in Box 1 |
| W | Employer and cafeteria plan contributions to an HSA | Already out of Box 1 |
| Y | Deferrals under a section 409A nonqualified plan | Informational |
| Z | Income under a section 409A plan that fails section 409A | Already in Box 1 |
| AA | Designated Roth contributions under a 401(k) | Already in Box 1 |
| BB | Designated Roth contributions under a 403(b) | Already in Box 1 |
| DD | Cost of employer-sponsored health coverage | Informational |
| EE | Designated Roth contributions under a governmental 457(b) | Already in Box 1 |
| FF | Permitted benefits under a QSEHRA | Informational |
| GG | Income from qualified equity grants under section 83(i) | Already in Box 1 |
| HH | Aggregate deferrals under section 83(i) elections at year end | Informational |
| II | Medicaid waiver payments excluded from gross income | Informational |
| TA | Employer contributions to a section 128 Trump account | Informational |
| TP | Total cash tips reported to the employer | Already in Box 1 |
| TT | Total qualified overtime compensation | Already in Box 1 |

If you want to test the framework against your own form, the [W-2 wage calculator](https://worklogs44.com/tools/w2-wage-calculator/) rebuilds Boxes 1, 3, and 5 from year-to-date pay so you can see which deductions moved which box.

## Retirement and deferred compensation codes

These are the codes most employees actually have, and they come in traditional and Roth pairs. Sitting them side by side shows exactly where the Box 1 line falls.

| Traditional (reduces Box 1) | Roth (does not) | Plan type |
| - | - | - |
| D | AA | 401(k) |
| E | BB | 403(b) |
| G | EE | 457(b) |

Codes F and S round out the pre-tax side: a salary reduction SEP and a SIMPLE plan. Pre-tax deferrals under either behave like D and E, reducing Box 1 while leaving Social Security and Medicare wages alone. Watch one wrinkle here: a Roth SEP or Roth SIMPLE deferral carries the same code F or S, and that money is after-tax, so it stays inside Boxes 1, 3, and 5. Code H, for deferrals to a 501(c)(18)(D) tax-exempt organization plan, is the odd one out: that amount stays in Box 1 and the employee takes the deduction on their own return.

For 2026, the elective deferral limit across 401(k), 403(b), and 457(b) plans is **$24,500**. The age 50 and over catch-up is **$8,000**, and employees aged 60 through 63 can contribute a larger catch-up of **$11,250**. Beginning in 2026, catch-up contributions must be made on an after-tax Roth basis for any employee who earned more than **$150,000**, which pushes those dollars out of code D and into code AA.

Codes Y, Z, GG, and HH cover nonqualified and equity compensation. Y reports deferrals under a section 409A plan, Z reports income from a 409A plan that failed its requirements (taxable, and already in Box 1), while GG and HH handle income and deferrals under section 83(i) equity grant elections.

### Which payroll deduction produces which code

Employers work in the opposite direction from the form. You have a deduction line in your payroll system and need the letter that goes with it.

| Payroll deduction | Box 12 code |
| - | - |
| Traditional 401(k) | D |
| Traditional 403(b) | E |
| Traditional 457(b) | G |
| SIMPLE IRA | S |
| Roth 401(k) | AA |
| Roth 403(b) | BB |
| Roth 457(b) | EE |
| HSA | W |
| Health care FSA | None (reduces Boxes 1, 3 and 5) |
| Dependent care FSA | None (Box 10) |

That pre-tax versus post-tax split is the same distinction the Box 12 groups encode, which is why [WorkLogs44](https://worklogs44.com/) models it per deduction, per employee, rather than applying one blanket rule to a whole pay run. To see what a change to a deferral does to a single paycheck before you commit to it, use the [401(k) paycheck impact calculator](https://worklogs44.com/tools/401k-paycheck-impact-calculator/) or read our guide to the [401(k) effect on take-home pay](https://worklogs44.com/blog/401k-impact-on-take-home-pay/).

## Health, benefit, and fringe codes

Two codes account for most of the questions employees ask in February.

**Code W: HSA contributions.** This is the combined total of what your employer put into your health savings account plus what you contributed through a cafeteria plan. For 2026 the HSA contribution limit is **$4,400** for individual coverage and **$8,750** for family coverage, with an extra **$1,000** catch-up available from age 55. Because the whole amount was excluded from your wages up front, it cannot be deducted a second time on Form 8889.

**Code DD: cost of employer-sponsored health coverage.** This one is always informational. It reports the combined employer and employee cost of your group health plan and changes nothing on your return.

Employers required to file **fewer than 250 Forms W-2** for the preceding calendar year are not required to report code DD at all, which is why plenty of small-employer W-2s show no DD figure. The DD amount also excludes HSA and Archer MSA contributions, a health FSA funded solely by salary reductions, multi-employer plan coverage, workers’ compensation, and long-term care.

**Code C: group-term life insurance over $50,000.** Employer-paid group-term life is tax-free up to **$50,000** of coverage. Above that, the IRS value of the excess coverage is imputed income: taxable, already inside Boxes 1, 3, and 5, and reported separately in Box 12 so you can see where it came from. Our [imputed income calculator](https://worklogs44.com/tools/imputed-income-calculator/) shows how that figure is built.

The rest of this group is quick. **FF** reports permitted benefits under a QSEHRA, the small-employer reimbursement arrangement. **R** reports employer contributions to an Archer MSA. **T** is adoption benefits, excluded from Box 1 but still counted in Boxes 3 and 5. **L** covers substantiated business expense reimbursements, **J** nontaxable sick pay, **P** excludable military moving expense reimbursements, **Q** nontaxable combat pay, and **II** Medicaid waiver payments excluded from gross income. **V** is the only one here that adds to your taxable wages: income from exercising nonstatutory stock options, already in Box 1 and broken out so you can reconcile it against your broker statement.

## What is not in Box 12

Half the “my W-2 is wrong” emails are about something that was never supposed to be in Box 12 in the first place.

**Health care FSA salary reductions get no code.** None. Your FSA contributions quietly reduced Boxes 1, 3, and 5 across the year and left no trace in Box 12, so an employee who put aside real money and finds nothing on the form has not been shortchanged. Compare your final pay stub’s year-to-date figures instead, which our guide to [reading a pay stub](https://worklogs44.com/blog/how-to-read-your-pay-stub/) walks through.

**Dependent care benefits go in Box 10.** Different box entirely. The 2026 exclusion is **$7,500** (**$3,750** if married filing separately), and anything above it gets added back into taxable wages.

**Reported tips still live in Boxes 7 and 8.** Box 7 is Social Security tips, Box 8 is allocated tips, and neither moved. Code TP sits alongside them on its own line.

**Employer-side taxes never appear on a W-2 at all.** Your employer’s SUTA, FUTA, and the [employer FICA match](https://worklogs44.com/blog/employer-fica-match-explained/) are business expenses, not employee compensation, and they show up on Forms 940 and 941 rather than anywhere on your W-2. State and local items belong in Boxes 15 through 20, or in Box 14 where a state requires a specific disclosure.

![Simplified W-2: FSA salary reductions lower Boxes 1, 3 and 5 with no code, tips stay in Boxes 7 and 8, dependent care goes in Box 10, and Box 12a to 12d holds coded items only.](https://worklogs44.com/blog/w2-box-12-codes/where-it-goes-instead-wide.webp)

Employer SUTA, FUTA and the FICA match appear on no W-2 at all. [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## What is new on the tax year 2026 W-2

Three codes were added for tax year 2026, all of them a consequence of the One Big Beautiful Bill.

- **TP** reports the total cash tips the employee reported to the employer during the year, including charged tips and tip pool distributions. Mandatory service charges are excluded.
- **TT** reports total qualified overtime compensation, meaning the FLSA-required premium portion only, not the full overtime paycheck.
- **TA** reports employer contributions to a section 128 Trump account, capped at **$2,500** per year.

Box 14 was split at the same time. The old free-form “Other” field is now **Box 14a**, and the new **Box 14b** exists solely to carry the Treasury Tipped Occupation Code, which must accompany any code TP amount.

None of the three new codes reduce Box 1, Box 3, or Box 5. The TP and TT amounts are already inside those boxes and the codes simply flag them, so the employee can claim the matching deduction on their 1040. Withholding, Social Security, and Medicare are unaffected, and so is the employer match. Code TA works differently: a section 128 employer contribution is excluded from the employee’s gross income in the first place, so it never enters Box 1 and there is no matching deduction to claim. It is reported for tracking only. All three are mandatory starting with tax year 2026, and 2026 W-2s are due **February 1, 2027**.

The filing mechanics behind those codes run deeper than one section can carry: how to isolate the FLSA premium, which state-required overtime does not qualify, which occupation codes exist, and how to backfill a year of untracked data. All of it is covered in [W-2 reporting for qualified tips and overtime](https://worklogs44.com/blog/w2-tips-overtime-reporting-2026/). If the question is the employee-side deduction rather than the reporting, start with [no tax on tips, explained](https://worklogs44.com/blog/no-tax-on-tips-explained/).

## Reading Box 12 without second-guessing it

Work the letter, not the slot. Find the code in the table above, note which of the three groups it falls into, and you have your answer: excluded from Box 1, included in Box 1, or informational as far as the wage boxes go.

For employers, the same table runs backward. Every pre-tax retirement deduction you withhold needs a letter, every Roth deduction needs a different letter, and the FSA lines need none at all. Get those assignments right during the year and January’s W-2 run turns into a printing job instead of a reconstruction.

## Frequently Asked Questions

### What does Box 12 on a W-2 mean?

Box 12 carries IRS letter codes that itemize amounts the wage boxes cannot describe on their own: retirement deferrals, the cost of health coverage, uncollected taxes, and certain fringe benefits. Some of those amounts already reduced Box 1, some are already inside Box 1, and some are purely informational.

### Is 12a a code?

No. 12a, 12b, 12c, and 12d are the four slot positions on the form. The code is the letter you write in the slot. Box 12a, code D just means the 401(k) deferral happens to sit in the first slot. The letter a carries no meaning of its own.

### Does an amount in Box 12 reduce the wages in Box 1?

It depends on the code. Traditional deferrals (D, E, F, G), pre-tax SIMPLE contributions (S), and HSA contributions (W) were already excluded from Box 1 when they were withheld, so they cannot be deducted again. Roth SEP and Roth SIMPLE deferrals use those same codes F and S but stay in Box 1. Roth contributions (AA, BB, EE), group-term life (C), stock option income (V), code H, and the new TP and TT amounts are already included in Box 1 and change nothing. DD, FF, TA, and most of the rest are informational and affect no box.

### What if I have more than four Box 12 entries?

The paper Form W-2 has only four slots. An employer reporting more than four coded items on paper issues an additional Form W-2, and that extra form counts toward the employer's information-return total. Electronic filers put every Box 12 amount in the one employee wage record. If you receive two W-2s from the same employer for this reason, do not double-count the wage boxes.

### Why is there no code I, O, U, or X?

Those letters were never assigned to a Box 12 code. Code CC existed briefly for the HIRE Act and has been retired. A gap in the alphabet is not a mistake on your form.

### My W-2 has no code DD. Did my employer make a mistake?

Probably not. Employers required to file fewer than 250 Forms W-2 for the preceding calendar year are not required to report the cost of employer-sponsored health coverage, so most small employers leave code DD off. The DD figure also excludes HSA and Archer MSA contributions and a health FSA funded only by salary reductions.

### Where is my health FSA or dependent care FSA on the W-2?

A health care FSA funded by salary reductions gets no Box 12 code at all. It only reduces Boxes 1, 3, and 5. Dependent care benefits go in Box 10, not Box 12.

### What codes are new on the 2026 W-2?

Three: TP for total cash tips reported to the employer, TT for total qualified overtime compensation, and TA for employer contributions to a section 128 Trump account. Box 14 was also split into 14a (free form) and 14b (Treasury Tipped Occupation Code). None of them change Box 1, 3, or 5.

## Keep reading

- [Year-End Payroll Checklist for Employers](https://worklogs44.com/blog/year-end-payroll-checklist/): The 2026 year-end payroll close in order: verify, capture, reconcile, file. New W-2 Box 12 codes TP/TT/TA, and every deadline dated to February 1, 2027.
- [Common Payroll Mistakes for Small Business (2026 Guide)](https://worklogs44.com/blog/common-payroll-mistakes-small-business/): The most common small business payroll mistakes in 2026, the exact IRS and DOL penalties they trigger, and how to check your own math before you cut the check.
- [W-2 Doesn't Match Your Final Pay Stub? Here's Why](https://worklogs44.com/blog/w2-vs-final-pay-stub/): Your W-2 Box 1 is almost never your final pay stub's YTD gross. Here is the math behind the gap, plus how to tell a normal difference from a real error.

[← All posts](https://worklogs44.com/blog/)
