Skip to content

W-2 box 12 codes, explained

Box 12 of the W-2 reports pay and benefits as a code and an amount: a 401(k) deferral, the cost of health coverage, tips, overtime. The 2026 instructions list 33 codes, and three are new for 2026: TA, TP and TT.

Updated , from the IRS pages listed at the end.

Codes
33
in the 2026 instructions
Per W-2
4
entries; more go on another W-2
New for 2026
TA, TP, TT
Trump account, tips, overtime

How box 12 is filled in

Box 12 has four lines, 12a to 12d. Each takes one code and its amount, such as “D 3000.00” for $3,000.00 of 401(k) deferrals. The instructions set the format:

“Enter the code using a capital letter(s). Use decimal points but not dollar signs or commas.”

“If more than four items need to be reported in box 12, use a separate Form W-2 to report the additional items.”

Every box 12 code for 2026

W-2 box 12 codes, 2026
CodeWhat it reports
AUncollected Social Security or RRTA tax on tips
BUncollected Medicare tax on tips
CTaxable cost of group-term life insurance over $50,000
DElective deferrals to a section 401(k) plan
EElective deferrals under a section 403(b) salary reduction agreement
FElective deferrals under a section 408(k)(6) salary reduction SEP
GElective and employer deferrals to a section 457(b) plan
HElective deferrals under a section 501(c)(18)(D) tax-exempt organization plan
JNontaxable sick pay
K20% excise tax on excess golden parachute payments
LSubstantiated employee business expense reimbursements
MUncollected Social Security or RRTA tax on group-term life insurance over $50,000
NUncollected Medicare tax on group-term life insurance over $50,000
PExcludable moving expense reimbursements paid to a member of the Armed Forces
QNontaxable combat pay
REmployer contributions to an Archer MSA
SEmployee salary reduction contributions under a section 408(p) SIMPLE plan
TAdoption benefits
VIncome from the exercise of nonstatutory stock options
WEmployer contributions to a health savings account (HSA)
YDeferrals under a section 409A nonqualified deferred compensation plan
ZIncome under a nonqualified deferred compensation plan that fails section 409A
AADesignated Roth contributions under a section 401(k) plan
BBDesignated Roth contributions under a section 403(b) plan
DDCost of employer-sponsored health coverage (not taxable)
EEDesignated Roth contributions under a governmental section 457(b) plan
FFPermitted benefits under a qualified small employer HRA
GGIncome from qualified equity grants under section 83(i)
HHAggregate deferrals under section 83(i) elections
IIMedicaid waiver payments excluded from gross income
TAEmployer contributions to a Trump account (new for 2026)
TPTotal cash tips reported to the employer (new for 2026)
TTTotal qualified overtime compensation (new for 2026)

The codes by what they report

Retirement plans: D, E, F, G, H, S, Y, AA, BB, EE
Deferrals and Roth contributions to the employee's plan. A pre-tax 401(k) deferral (code D) stays out of box 1 (the instructions: “do not include elective deferrals (such as employee contributions to a section 401(k) or 403(b) plan)”) but is still Social Security and Medicare wages in boxes 3 and 5.
Health coverage and accounts: DD, W, R, FF
DD shows what employer-sponsored health coverage cost, for information: it isn't taxable. W and R are employer contributions to an HSA or Archer MSA, FF a small employer HRA.
Tips and overtime: A, B, TP, TT
A and B are Social Security and Medicare tax on tips the employer couldn't collect. TP and TT, new for 2026, report the year's cash tips and qualified overtime.
Group-term life insurance: C, M, N
C is the taxable cost of coverage over $50,000; M and N the Social Security and Medicare tax on it that wasn't collected.
Other pay and benefits: J, K, L, P, Q, T, V, Z, GG, HH, II, TA
Sick pay, golden parachutes, reimbursements, combat pay, adoption benefits, stock options, deferred compensation, Medicaid waiver payments and, new, Trump account contributions.

New for 2026: TA, TP and TT

The 2026 instructions add three codes. Their headings, word for word:

Box 12 codes new for 2026
CodeThe instructions' heading
TAEmployer contributions under a section 128 Trump account contribution program paid to a Trump account of an employee or a dependent of an employee
TPTotal amount of cash tips reported to the employer
TTTotal amount of qualified overtime compensation

Box 12 on a W-2 made here

The W-2 generator takes up to 4 box 12 codes, each picked from the list above with its amount, and prints them in 12a to 12d in the order you enter them (the instructions set no order). With a 401(k), 403(b), SEP or SIMPLE code it suggests the box 13 Retirement plan check, and it notes when boxes 3 and 5 look short of box 1 plus the deferrals. The box-by-box guide covers the rest of the form.

Fill in the figures once and check the live preview before you pay. You pay per form, with no subscription.

Sources, checked Nov 30, 2026