W-2 Box 12 Codes Explained - What Every Letter Means (2026)

Box 12 contains letter codes that explain retirement contributions, taxable benefits, and certain corrections. The meaning of the letter determines whether the value reduces your taxable wages or is only informational.

Key Findings

  • D, E, G, W, and similar pre-tax items often reduce Box 1.
  • Roth codes usually stay inside Box 1 because they are after-tax.
  • DD is informational and does not change taxable wages.

Common Box 12 codes

CodeMeaningTax implication
AUncollected SS tax on tipsAdd to Schedule 2
BUncollected Medicare on tipsAdd to Schedule 2
CTaxable cost of group-term life over $50KAlready in Box 1
DTraditional 401(k) elective deferralsReduces Box 1
E403(b) deferralsReduces Box 1
G457(b) deferralsReduces Box 1
WEmployer HSA contributionsNot in Box 1
AARoth 401(k) contributionsAlready in Box 1
BBRoth 403(b) contributionsAlready in Box 1
DDEmployer-sponsored health coverageInformational only
EERoth 457(b) contributionsAlready in Box 1
FFQualified small employer HRAHealth reimbursement

Verify contribution limits against current IRS guidance or the 2026 data files before acting on any code amount.

Use the withholding calculator →