Form W-2 reference

W-2 Box 12 codes explained for 2026 & 2027 (including TT, TP, DD, W)

Look up every common Form W-2 Box 12 code for 2026 and 2027 — including new Schedule 1-A codes TT (qualified overtime) and TP (qualified tips), plus 401(k), Roth, HSA, and health coverage codes.

  • Official sources only
  • Reviewed 2026-12-03

By the SmartRates USA editorial team · Last reviewed · How we check figures

Quick answer: Form W-2 Box 12 reports specific tax-favored deferrals, employer benefits, and—starting on 2026 W-2s—new Schedule 1-A deduction figures: Code TT (qualified overtime) and Code TP (qualified tips). Most Box 12 codes are either already excluded from Box 1 wages (like Codes D and W) or purely informational (like Code DD), so knowing which ones flow onto your return prevents double-counting and missed deductions.

Quick lookup: common W-2 Box 12 codes (2026 & 2027)

CodeWhat it reportsAlready in Box 1?Where it matters on your return
TTQualified 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).
TPQualified 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.
DTraditional pre-tax 401(k) elective deferralsNo (excluded from Box 1)Counts toward the $24,500 (2026) / $25,500 (2027) cap; still taxed for FICA.
AADesignated Roth 401(k) contributionsYes (after-tax)Shares the combined 401(k) deferral cap with Code D; tracks Roth basis.
E / BB403(b) pre-tax (E) / Roth 403(b) (BB)E: No · BB: YesShares the same employee deferral cap as 401(k) plans across all employers.
G457(b) governmental deferred compensationNo (pre-tax) or Yes (EE)Has its own separate annual deferral limit (does not share the 401(k)/403(b) cap).
WTotal employer + payroll pre-tax HSA contributionsNo (excluded from Box 1 & FICA)Reported on Form 8889; verify against $4,400/$8,750 (2026) or $4,500/$9,000 (2027).
DDTotal cost of employer-sponsored health coverageInformational onlyNot taxable. Do not enter as a medical expense deduction.
CTaxable cost of group-term life insurance over $50,000Yes (included in Boxes 1, 3, 5)Already taxed as imputed income; no extra addition required.
VIncome 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.
SSIMPLE IRA employee salary reduction contributionsNo (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

This page is general information, not tax, legal or investment advice. Figures were copied from the official documents above on the review date.