Skip to main content
Paystub Pilot

Form W-2 · box 12

W-2 Box 12 Codes, A through TT

Box 12 is where the W-2 reports amounts that need their own label: retirement deferrals, HSA contributions, the cost of health coverage, and, from 2026, tips and overtime for the new deductions. Each entry is a letter code and an amount, four to a form (12a through 12d); an employee with more than four gets a second W-2 with only the identification boxes and the extra codes.

The list below is the 2026 IRS list, as accepted by the W-2 generator. Retired codes are not on it. Amounts reported under a code are not automatically added to or subtracted from box 1; the notes after the table say which codes change which wage boxes.

All box 12 codes for 2026

CodeReports
AUncollected Social Security tax on tips
BUncollected Medicare tax on tips
CTaxable cost of group-term life insurance over $50,000
DElective deferrals to a 401(k) plan
EElective deferrals to a 403(b) plan
FElective deferrals to a 408(k)(6) SEP
GElective deferrals to a 457(b) plan
HElective deferrals to a 501(c)(18)(D) plan
JNontaxable sick pay
K20% excise tax on excess golden parachute payments
LSubstantiated employee business expense reimbursements
MUncollected Social Security tax on group-term life (former employees)
NUncollected Medicare tax on group-term life (former employees)
PExcludable moving expense reimbursements (Armed Forces or intelligence community)
QNontaxable combat pay
REmployer contributions to an Archer MSA
SEmployee salary reduction contributions to a SIMPLE plan
TAdoption benefits
VIncome from exercise of nonstatutory stock options
WEmployer contributions to a health savings account
YDeferrals under a section 409A plan
ZIncome under a nonqualified deferred compensation plan (409A)
AADesignated Roth contributions under a 401(k) plan
BBDesignated Roth contributions under a 403(b) plan
DDCost of employer-sponsored health coverage
EEDesignated Roth contributions under a governmental 457(b) plan
FFPermitted benefits under a QSEHRA
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
TPTotal cash tips reported to the employer
TTTotal qualified overtime compensation

D, E, G, S, AA, BB, EERetirement deferrals

D is the one most employees have: elective deferrals to a 401(k). E is the 403(b) equivalent for schools and nonprofits, G the governmental 457(b), S a SIMPLE IRA. The pre-tax versions (D, E, G, S) reduce box 1 but not boxes 3 and 5, which is the usual reason box 1 is smaller than box 3. The Roth versions (AA, BB, EE) are after-tax and reduce nothing; they are reported so the IRS can police the annual limit. Any of these also ticks the retirement-plan box in box 13.

CGroup-term life over $50,000

The taxable cost of employer-paid group-term life coverage above $50,000, from the IRS Table I rates. It is included in boxes 1, 3 and 5 already; code C tells the employee where that odd extra bit of income came from.

WHSA contributions

Employer contributions to a health savings account plus anything the employee contributed through a cafeteria plan, combined. Payroll-deducted HSA contributions are excluded from boxes 1, 3 and 5. The employee needs the figure for Form 8889, and it must not include contributions they made on their own outside payroll.

DDCost of employer-sponsored health coverage

Informational only: the total premium for the employee's medical coverage, employer and employee shares together. It is not taxable and does not go on the return. Employers that filed fewer than 250 W-2s the prior year remain exempt under the IRS's transition relief, so a small employer may leave it off.

TP, TT, TANew for tax year 2026

The One Big Beautiful Bill Act created deductions for qualified tips and qualified overtime, and the W-2 is how the employee proves the amounts. TP is the total cash tips the employee reported to you during the year (the deduction is capped at $25,000); when you report TP you must also complete box 14b with the Treasury tipped occupation code, 000 if the job is not on Treasury's list. TT is total qualified overtime compensation, meaning the premium half of FLSA time-and-a-half, not the whole overtime paycheck (deduction capped at $12,500, or $25,000 married filing jointly).

TA reports employer contributions under a section 128 Trump account contribution program, which starts July 4, 2026 and is limited to $2,500 per employee per year. None of the three exist on a 2025 W-2; the generator refuses them for that year.

A, B, M, NUncollected FICA

Social Security and Medicare tax that should have been withheld but could not be, because a tipped employee's wages were too small to cover the tax on reported tips (A and B) or because a former employee's group-term life coverage continued after their last paycheck (M and N). The employee pays these on Schedule 2 of their return, on the uncollected-tax line.

V, Y, Z, GG, HHEquity and deferred compensation

V is the spread on nonstatutory stock options exercised in the year, already in boxes 1, 3 and 5. Y and Z are section 409A nonqualified deferred compensation, deferrals and includible income respectively. GG and HH cover section 83(i) qualified equity grants at private companies. Small employers without an equity plan never use any of these.

Which codes change which boxes

Pre-tax retirement deferrals (D, E, F, G, H, S) come out of box 1 only. Payroll HSA contributions (W) and cafeteria-plan premiums come out of boxes 1, 3 and 5. Group-term life (C), option income (V) and 409A income (Z) are already inside boxes 1, 3 and 5 and are reported again under their code for information. Roth deferrals (AA, BB, EE), DD, and the 2026 codes TP, TT and TA change no wage box at all; TP and TT are subsets of wages already in box 1.

Fill in the Form W-2

The Form W-2 generator offers exactly the codes in the first table, checks the amounts against the year's rules, and shows a free watermarked preview before the clean PDF ($4.99, or included with a subscription).

Guides