Box 12 on W-2

Box 12 on a W-2 is the location where different types of employee income and benefits are listed, using a designated code and a dollar amount. This box may or may not be filled in.

Box 12 on a W-2 form is where employers report specific types of compensation, benefits, and tax-related amounts that don't fit into the standard wage boxes. It uses standardized IRS letter codes, each paired with a dollar amount, to communicate information employees need when filing their federal income tax return.

When tax season comes around, employees receive a W-2 form from their employer so that they can file their state and federal income taxes. There are several sections on this form, including Box 12, which shows various types of employee income and benefits in dollar amounts. Some of these amounts are taxable income that are included elsewhere on your W-2, while others are listed only for information purposes.

How Box 12 works

Each entry in Box 12 has two parts: an IRS letter code and a corresponding dollar amount. The code identifies what the amount represents and determines its tax treatment.

Common codes include:

  • Code D: Elective deferrals to a traditional 401(k) plan. Pre-tax contributions that reduce taxable wages in Box 1.
  • Code DD: Cost of employer-sponsored health coverage. Informational only; not taxable to the employee.
  • Code W: Employer and employee contributions to a Health Savings Account. Employees use this figure on Form 8889.
  • Code C: Taxable cost of group-term life insurance exceeding $50,000. Included in taxable wages in Boxes 1, 3, and 5.
  • Code AA: Designated Roth contributions to a 401(k), made with after-tax dollars.
  • Code E: Elective deferrals to a Section 403(b) plan, commonly used by nonprofit and public school employees.

A single W-2 can include up to four Box 12 entries, labeled 12a through 12d. These lowercase labels are line identifiers only; the IRS codes are the uppercase letters entered alongside each dollar amount.

Why Box 12 matters

Box 12 directly affects how taxable income is calculated. Some codes reduce taxable wages; others increase tax liability or require action on a separate IRS form. Misreading or ignoring Box 12 can result in an inaccurate return.

For employees contributing to a retirement plan, Box 12 shows total deferrals for the year, which is relevant to the Saver's Credit and to verifying that contributions didn't exceed IRS annual limits. Code W amounts must be carried to Form 8889. Code Z amounts related to nonqualified deferred compensation may trigger a 20% additional tax under Section 409A.

Box 12 vs. Box 14

Box 14 is a catch-all for employer-defined items without a designated IRS code, such as state disability premiums or union dues. Box 12 uses standardized IRS codes with specific tax treatment rules. Box 14 generally has no direct effect on federal tax calculations, though some entries may affect state returns.

Considerations

Employees should verify Box 12 codes and amounts against pay stubs or benefits records before filing. Discrepancies require a corrected W-2 (Form W-2c). Employers who issue W-2s with incorrect Box 12 codes may face IRS penalties per form.

Related terms

  • W-2 form: The annual wage and tax statement containing Box 12 and all other compensation fields.
  • Form 1040: The individual federal tax return where certain Box 12 amounts are reported.
  • Health Savings Account (HSA): Contributions reported under Code W; reconciled on Form 8889.
  • 401(k) plan: Elective deferrals reported under Code D; subject to IRS annual contribution limits.

FAQs about Box 12 on a W-2

What is the difference between Code D and Code DD?

Code D reports pre-tax 401(k) deferrals, which reduce taxable wages in Box 1. Code DD reports the total cost of employer-sponsored health coverage and is purely informational with no effect on tax liability.

Is Box 12 required on every W-2?

Only when there is something to report. However, the Affordable Care Act requires most employers offering group health plans to report coverage costs using Code DD.

Can the same Box 12 code appear on W-2s from two different employers?

Yes. Amounts should be combined when completing the relevant tax form. Employees who contributed to a 401(k) at two jobs must verify that the combined Code D total didn't exceed the IRS annual elective deferral limit.

Still have legal questions?

Our network of attorneys can help. Get unlimited 30-minute consultations on new legal topics with our legal services plan.

Start Now

Discover more topics