Formz

Tax forms

W-2 box 12 codes: how to review the letters and amounts

A practical way to check common box 12 entries against benefit and payroll records, with a short non-exhaustive code table.

A hand holding a magnifying glass over paired abstract entries on a paper record

Box 12 is a collection of coded entries, not one total. Each entry pairs a code with an amount. The letters tell you what the amount represents, so copying the dollars while overlooking the code can change the meaning of the document.

You do not need to memorize the full code list to review a W-2. You need the form’s reporting year, the exact entry you received, and the benefit or payroll record that should explain it. This guide covers a few common examples and a repeatable review method.

Keep every code attached to its amount

Read the letter and dollars together. For example, D and AA refer to different types of 401(k) contributions. An amount without its code is incomplete information. The four printed positions, often labeled 12a through 12d, are spaces for entries; the position itself does not define the type of benefit.

Create a review note with separate columns for code, amount and supporting record. Copy the code exactly, including both letters when applicable. If there are multiple pages or statements, review all of them before concluding that an entry is missing. Keep your notes with the employer-issued document so the source remains clear.

Use a short table as a starting point

These examples are drawn from IRS W-2 instructions. They are not the complete code list. Some entries need additional facts or tax-return handling that a short description cannot cover.

CodeHigh-level descriptionUseful comparison record
DEmployee elective deferrals to a 401(k) planAnnual payroll retirement deduction detail
AADesignated Roth contributions to a 401(k) planRoth contribution detail
WEmployer HSA contributions, including certain employee contributions through a cafeteria planPayroll HSA contribution records
DDCost of employer-sponsored health coverage; this reported amount is not taxableEmployer coverage cost summary

Compare like records, not account balances

A retirement account balance includes investment gains, losses and other activity. It is not the same thing as an annual payroll contribution total. For a useful comparison, obtain the transaction or contribution report covering the same year as the W-2. Separate amounts withheld through payroll from amounts you contributed directly.

Consider a fictional worker whose plan balance increased by $8,000, while payroll shows $4,500 in traditional deferrals. The increase alone does not establish a $3,500 reporting error. Review contributions, employer contributions and investment activity separately. This avoids asking payroll to explain a difference that belongs to the investment account rather than the wage statement.

Check the instructions for the actual year

Code lists and reporting details can change. Use the IRS instructions associated with the year printed on the W-2, especially when reviewing an older statement or a newly introduced code. A current web page may describe a different edition from the PDF in your hand.

Do not replace an unfamiliar code with one that seems close. Write down the exact entry and ask payroll what it represents. A concise request might say: “Please explain box 12 code [code], amount [amount], for [year], and identify the payroll or benefit record used.” That provides a clear task without selecting a tax result yourself.

Review the entry again after preparing the document

When entering reviewed data, check every code after the PDF is generated. A transposed letter, omitted zero or misplaced decimal can survive a quick glance. Compare each output pair with the source record one at a time, and check that no entry was duplicated during data entry.

If you are reviewing an employer-issued form, the employer should address an actual reporting error. Formz can prepare a PDF from supplied values, but it cannot determine your benefit treatment or correct the employer’s agency submission. Keep the question unresolved in your notes until the responsible issuer explains or corrects it; a neat replacement document is not evidence that the issue was resolved.

Common questions

Is every amount in box 12 additional taxable income?

No. The code determines the meaning. For example, the IRS identifies code DD coverage-cost reporting as non-taxable. Read the applicable code instructions.

Is this a complete box 12 code list?

No. It is a small set of examples. Use the official instructions for the form year to review other codes and any special requirements.

Official sources

Source links reviewed October 4, 2026. Use the instructions for your selected year and check current agency updates before submission.

Turn your records into the right document.

Choose a supported form, enter the details in your records and review the complete PDF before checkout.

Formz prepares supplied information. Review signatures, attachments and filing or delivery separately.