Quick lookup: common W-2 Box 12 codes (2026 & 2027)
| Code | What it reports | Already in Box 1? | Where it matters on your return |
|---|---|---|---|
| TT | Qualified overtime compensation (new for 2026) | Yes (taxable until deducted) | Flows to Schedule 1-A Part III; cap $12,500 single / $25,000 joint (FICA still applies). |
| TP | Qualified tips (new for 2026; paired with Box 14b) | Yes (taxable until deducted) | Flows to Schedule 1-A; cap $25,000 per return; requires eligible Treasury occupation code. |
| D | Traditional pre-tax 401(k) elective deferrals | No (excluded from Box 1) | Counts toward the $24,500 (2026) / $25,500 (2027) cap; still taxed for FICA. |
| AA | Designated Roth 401(k) contributions | Yes (after-tax) | Shares the combined 401(k) deferral cap with Code D; tracks Roth basis. |
| E / BB | 403(b) pre-tax (E) / Roth 403(b) (BB) | E: No · BB: Yes | Shares the same employee deferral cap as 401(k) plans across all employers. |
| G | 457(b) governmental deferred compensation | No (pre-tax) or Yes (EE) | Has its own separate annual deferral limit (does not share the 401(k)/403(b) cap). |
| W | Total employer + payroll pre-tax HSA contributions | No (excluded from Box 1 & FICA) | Reported on Form 8889; verify against $4,400/$8,750 (2026) or $4,500/$9,000 (2027). |
| DD | Total cost of employer-sponsored health coverage | Informational only | Not taxable. Do not enter as a medical expense deduction. |
| C | Taxable cost of group-term life insurance over $50,000 | Yes (included in Boxes 1, 3, 5) | Already taxed as imputed income; no extra addition required. |
| V | Income from exercise of nonstatutory stock options (NSOs) | Yes (included in Box 1) | Informational check so you don't double-report option spread on Form 8949 / Schedule D. |
| S | SIMPLE IRA employee salary reduction contributions | No (excluded from Box 1) | Counts toward the SIMPLE IRA deferral cap; also counts if you switch to a 401(k) mid-year. |
What to double-check before you file
- Switched jobs mid-year? Add Codes D, E, AA, BB, and S across every W-2. Each employer only tracks what you deferred at that company. If the combined total exceeds $24,500 in 2026 ($25,500 in 2027) plus any applicable catch-up, request a corrective distribution of the excess deferral before April 15.
- Verify Code W on Form 8889—don't double-deduct it. Because payroll HSA contributions under Code W were already removed from Box 1 wages, claiming them again as a personal deduction causes an IRS mismatch notice.
- Check Code TT and Code TP against your final pay stub. Only the overtime premium required by FLSA Section 7 belongs in Code TT—not regular hourly pay or voluntary double-time. For Code TP, verify that Box 14b lists your Treasury tipped-occupation code. Estimate both deductions in our Schedule 1-A Deduction Calculator.
- Confirm Code V basis on stock sales. If you exercised NSOs and sold shares the same year, your broker's 1099-B may report only the strike price as cost basis, causing you to overpay capital gains tax unless you adjust basis using the compensation already included in Box 1 and Code V.
Why Box 1, Box 3, and Box 5 rarely match
Pre-tax 401(k) deferrals (Code D) lower federal taxable wages in Box 1, but they do not lower Social Security wages (Box 3) or Medicare wages (Box 5). By contrast, cafeteria-plan health premiums and payroll HSA contributions (Code W) reduce all three boxes. If Box 1 looks lower than your salary, add Code D plus pre-tax benefits back to reconcile your W-2 with your final December pay stub.
Frequently asked questions
What are the new W-2 Box 12 codes TT and TP for 2026?
Under the 2026 Form W-2 instructions, Code TT reports qualified overtime compensation (the FLSA Section 7 premium portion eligible for the new federal overtime deduction on Schedule 1-A), and Code TP reports qualified tips (paired with your Treasury tipped-occupation code in Box 14b).
Is W-2 Box 12 Code DD taxable income?
No. Code DD reports the combined employer and employee cost of employer-sponsored group health coverage for informational purposes only. It is not added to your taxable wages in Box 1.
Does Box 12 Code W include both my HSA contributions and my employer's?
Yes. Code W reports total employer HSA contributions plus your own pre-tax payroll HSA contributions made through a cafeteria plan. Make sure Code W does not exceed the annual IRS limit ($4,400 self / $8,750 family in 2026; $4,500 / $9,000 in 2027, plus $1,000 at age 55+).
Do Box 12 Codes D and AA share the same annual 401(k) limit?
Yes. Traditional 401(k) deferrals (Code D) and Roth 401(k) deferrals (Code AA) share one combined employee elective-deferral cap: $24,500 in 2026 and $25,500 in 2027 (plus catch-up at age 50+ or super catch-up at age 60–63).
Official sources
- IRS — General Instructions for Forms W-2 and W-3 (2026)
- IRS — Working Families Tax Cuts (Schedule 1-A guidance)
- IRS Notice 2025-67 (2026 retirement limits)
- IRS Notice 2026-66 (2027 retirement limits, PDF)
- IRS Rev. Proc. 2026-24 (2027 HSA limits, PDF)
Related tools and guides
- Schedule 1-A deduction calculator
- Schedule 1-A rules guide
- W-4 withholding & refund estimator
- 401(k) calculator (2026–2027 limits)
- Official 2026 vs 2027 limits tracker
This page is general information, not tax, legal or investment advice. Figures were copied from the official documents above on the review date.