Understanding W-2 Form Box 12 Codes – Box 12 on your Form W-2 is one of the most important but often misunderstood sections of your wage and tax statement. It contains letter codes (A through II, plus new 2026 additions) followed by dollar amounts that report special types of compensation, benefits, contributions, and taxes. These details help the IRS determine what’s taxable, what qualifies for exclusions or deductions, and what affects your Social Security and Medicare taxes.
If you’re filing your 2025 taxes in 2026, understanding these codes ensures accurate reporting, avoids errors on your Form 1040, and helps you maximize credits or deductions. This guide breaks it all down using the latest official IRS instructions.
What Is Form W-2 and Why Box 12 Matters?
Form W-2 (Wage and Tax Statement) is issued by your employer each January and reports your 2025 wages, withheld taxes, and other compensation. The IRS and Social Security Administration use it to verify your tax return.
Box 12 specifically reports items that don’t always fit neatly into Boxes 1–11. These can include pretax retirement contributions (which lower your taxable income in Box 1), employer benefits, uncollected taxes, and new categories introduced for 2026. Amounts here may or may not be taxable—they simply require special tracking.
Up to four codes can appear in Boxes 12a–12d on a single W-2. If your employer needs more, they may issue an additional form.
How to Read W-2 Box 12 Codes?
Each entry in Box 12 shows:
- A code letter (or letters) on the left of the vertical line.
- A dollar amount on the right (no dollar sign or commas).
Example: “D 5300.00” means $5,300 in elective deferrals to a 401(k) plan.
These codes are entered exactly as specified in the official IRS General Instructions for Forms W-2 and W-3. Do not combine codes or guess—your tax software or preparer will use them automatically when you import or enter your W-2.
Complete List of W-2 Box 12 Codes and What They Mean
Here is the full, current list of Box 12 codes based on the 2026 IRS instructions (for 2025 wages). Codes are grouped by category for easier understanding.
Retirement and Deferred Compensation Codes
- D — Elective deferrals to a section 401(k) plan (including SIMPLE 401(k)).
- E — Elective deferrals under a section 403(b) salary reduction agreement.
- F — Elective deferrals and employer contributions to a section 408(k)(6) SEP.
- G — Elective and nonelective deferrals to a section 457(b) plan.
- H — Elective deferrals to a section 501(c)(18)(D) tax-exempt organization plan.
- S — Employee salary reduction contributions under a SIMPLE IRA plan.
- AA — Designated Roth contributions under a section 401(k) plan.
- BB — Designated Roth contributions under a section 403(b) plan.
- EE — Designated Roth contributions under a governmental section 457(b) plan.
- Y — Deferrals under a section 409A nonqualified deferred compensation plan (optional reporting).
Health and Benefits Codes
- DD — Cost of employer-sponsored health coverage (informational only—not taxable).
- W — Employer contributions to a Health Savings Account (HSA).
- R — Employer contributions to an Archer Medical Savings Account (MSA).
- FF — Permitted benefits under a qualified small employer health reimbursement arrangement (QSEHRA).
- T — Adoption benefits (qualified expenses paid or reimbursed).
Tip, Tax, and Compensation Codes
- A — Uncollected Social Security or RRTA tax on tips.
- B — Uncollected Medicare tax on tips.
- C — Taxable cost of group-term life insurance over $50,000 (included in Boxes 1, 3, and 5).
- M — Uncollected Social Security tax on group-term life insurance (former employees).
- N — Uncollected Medicare tax on group-term life insurance (former employees).
- TP (New for 2026) — Total amount of cash tips reported to the employer.
- TT (New for 2026) — Total amount of qualified overtime compensation (the “half” portion of time-and-a-half pay under FLSA).
Other Specialized Codes
- J — Nontaxable sick pay.
- K — 20% excise tax on excess golden parachute payments.
- L — Substantiated employee business expense reimbursements (under accountable plan).
- P — Excludable moving expense reimbursements (qualified Armed Forces or intelligence community).
- Q — Nontaxable combat pay (military).
- V — Income from exercise of nonstatutory stock options.
- Z — Income under section 409A from nonqualified deferred compensation plans.
- GG — Income includible from qualified equity grants under section 83(i).
- II — Medicaid waiver payments excluded from income.
- TA (New for 2026) — Employer contributions to a section 128 Trump account (up to $2,500 annually, excludable from gross income).
New 2026 Box 12 Codes: TA, TP, and TT Explained
Three brand-new codes appear on 2025 W-2 forms due to recent legislation (P.L. 119-21):
- TA reports employer contributions to a Trump account (a new type of traditional IRA-like account for employees or dependents). These are excluded from your taxable wages.
- TP reports total cash tips you reported to your employer—helpful for claiming the new qualified tip deduction (up to $25,000).
- TT reports qualified overtime compensation (the extra half of time-and-a-half pay). This supports the new overtime deduction (up to $12,500 or $25,000 depending on filing status).
These codes help the IRS track new tax benefits while ensuring proper withholding still occurs on tips and overtime.
How W-2 Box 12 Codes Affect Your 2026 Tax Return?
Most Box 12 amounts are not added to your taxable wages in Box 1—they reduce your taxable income (e.g., 401(k) contributions with code D). However:
- Some (like C or V) are already included in Boxes 1, 3, and 5.
- Uncollected taxes (A, B, M, N) must be reported on your Form 1040 as additional tax owed.
- Informational codes (DD, Q) help with credits or exclusions but don’t directly change your tax bill.
Always import your W-2 directly into tax software like TurboTax, H&R Block, or TaxAct—it will handle the codes automatically. Double-check for accuracy to avoid IRS notices.
Common Mistakes to Avoid with Box 12
- Confusing pretax vs. after-tax contributions (Roth codes AA/BB/EE are after-tax).
- Forgetting to report uncollected taxes (codes A/B/M/N) on your return.
- Misinterpreting Code DD (health coverage cost)—it’s informational only and not taxable.
- Overlooking new 2026 codes (TA/TP/TT) when claiming tip or overtime deductions.
If your W-2 looks incorrect, contact your employer immediately for a corrected W-2c before filing.
Tips for US Taxpayers Filing with W-2 Box 12 Codes
- Gather all W-2s by January 31, 2026.
- Use IRS Free File or reputable software that supports full Box 12 import.
- Keep your W-2 for at least 3 years in case of audit.
- Consult a tax professional if you see unfamiliar codes like Z, GG, or the new TA/TP/TT.
Frequently Asked Questions About W-2 Box 12 Codes
Do all employers use every code?
No—only codes that apply to your situation appear.
Is Code DD taxable income?
No. It’s for information only and does not affect your taxes.
What if I have more than four codes?
Your employer may issue an additional W-2.
Where do I report these on my tax return?
Most tax software handles it automatically when you enter or import your W-2.
Understanding your W-2 Box 12 codes takes the mystery out of tax season and helps you file confidently. For the most accurate information, always refer to the latest IRS General Instructions for Forms W-2 and W-3.
If you received your 2025 W-2 and have questions about specific codes, consult a qualified tax advisor or use IRS.gov resources. Accurate reporting means fewer headaches—and possibly bigger refunds or lower tax bills.