Schema Tax

Box 12 Instructions W2: How Employers Fill In the Codes

By Schema TaxPublished Updated

The Box 12 instructions for the W2 are in the IRS General Instructions for Forms W-2 and W-3, under Specific Instructions for Form W-2. They tell employers to report every listed item with its IRS code, in capital letters, followed by the amount with a decimal point and no dollar sign, and to use a second W-2 past four items.

Where the Box 12 instructions live in the IRS W-2 and W-3 guide

The Box 12 instructions live in one IRS document: the General Instructions for Forms W-2 and W-3, published each year. Inside it, the "Specific Instructions for Form W-2" part has a Box 12 Codes section that sets the format and then defines each code. A one-page reference chart near the end lists every code.

The current edition is the IRS General Instructions for Forms W-2 and W-3 (2026). It applies to W-2s for wages paid during calendar year 2026. Each tax year gets its own edition, so a payroll clerk correcting an older form should open the edition for that year.

The Box 12 section has three layers. First comes a short rule block: which items to report, what to keep out, how many items fit, and how to format each entry. Next come the code entries themselves, one paragraph each, from code A to code II, followed by the newer codes TA, TP and TT. Last is the "Form W-2 Reference Guide for Box 12 Codes," a chart with each code and its short title.

Other sections of the same document also govern Box 12 entries. The Box 1, Box 3 and Box 5 sections say whether a coded amount belongs in those wage boxes. Topic sections in "Special Reporting Situations for Form W-2," such as Adoption benefits, Archer MSA and Health savings account (HSA), add detail for specific codes. The "Multiple forms" section covers the case of more than four codes, and the Form W-2c section covers corrections.

The "What's New" part at the top lists changes for the year, including the 2026 split of Box 14 into Box 14a and Box 14b, which the guide to W2 Box 14 explains. The new codes, and what every other code means, are in the full Box 12 code table from A to TT.

Entering a Box 12 code and amount correctly

Entering a Box 12 code and amount correctly means one capital-letter IRS code, then the dollar amount with a decimal point and cents, and no dollar sign or commas. The code goes to the left of the vertical line in the slot and the amount to the right. A $5,300 401(k) deferral is "D 5300.00".

A step list for employers and payroll clerks

Each step cites the part of the IRS General Instructions for Forms W-2 and W-3 it comes from. The sample values are fictional.

  1. List the employee's items that appear on the IRS code list. Box 12 Codes, opening paragraph: "Complete and code this box for all items described below," covering codes A through II. The 2026 edition adds TA, TP and TT. For a fictional employee, Casey Example, SSN XXX-XX-1234, the list might be a 401(k) deferral, a Roth 401(k) contribution and the cost of health coverage.
  2. Remove items the instructions send elsewhere. Box 12 Codes, opening paragraph, and the Codes D through H entry: section 414(h)(2) contributions, employer matching contributions and other listed items go in Box 14a, not Box 12. See the section below on what stays out.
  3. Pick the IRS code for each item. Box 12 Codes: "Use the IRS code designated below for the item you are entering." Casey's items become D, AA and DD.
  4. Write the code in capital letters. Box 12 Codes: "Enter the code using a capital letter(s)." Write "AA", not "aa".
  5. Write the amount with decimals, without symbols. Box 12 Codes: "Use decimal points but not dollar signs or commas." Common Errors on Forms W-2 adds: do not omit the decimal point and cents. Casey's deferral of $11,400 becomes "11400.00".
  6. Combine catch-up contributions with regular deferrals. Codes D through H entry: for employees aged 50 or older, report elective deferrals and catch-up as "a single sum" under the right code, and Roth contributions and Roth catch-up as a single sum under their code.
  7. Report the full deferral even above the limit. Code D entry, excess deferral example: the instructions report $26,500 under code D although the 2026 limit is $24,500. The amount above the limit is not reported in Box 1.
  8. Add a year marker for USERRA make-up amounts. The TIP above Code D: prior-year contributions are entered separately, earliest year first, as "D 24 2250.00". A current-year amount needs no year.
  9. Place each pair in a slot. Box 12 Codes: codes "do not relate to where they should be entered in boxes 12a through 12d." Casey's form reads 12a D 11400.00, 12b AA 1800.00, 12c DD 9900.00.
  10. Check the four-item limit on Copy A. The TIP under Box 12 Codes: no more than four items on Copy A. Past four, use another Form W-2.
  11. Check the retirement plan box when deferral codes apply. Code D excess deferral example ends with "Check the 'Retirement plan' box in box 13," and the Box 13 section explains active participation.

Format details that cause rejections

The Common Errors list names format problems that apply to Box 12 amounts: leaving out the decimal point and cents, adding dollar signs, using ink that is too light, and using type that is too small or too large. It suggests 12-point Courier where possible and black ink only. The Form W-3 part of the same document notes that scanners cannot read entries if the type is too light.

A blank Box 12 is also a valid outcome of these steps. An employee with no listed items gets no entries. The post on a blank Box 12 covers how employees read that.

More than four Box 12 codes on one W2

When an employee needs more than four Box 12 codes on one W2, the employer issues a second Form W-2 for the extra items. The IRS instructions allow no more than four Box 12 items on each Copy A. The second form repeats the employer and employee details and carries only the items not on the first form.

The TIP in the Box 12 Codes section says: "If more than four items need to be reported in box 12, use a separate Form W-2 to report the additional items (but enter no more than four items on each Copy A (Form W-2))." The rule is about Copy A, the copy filed with the Social Security Administration.

The "Multiple forms" section in the general instructions says what the second form contains. The employer completes boxes a, b, c, d, e and f "with the same information as on the first Form W-2" and shows on the second form only the items that were not included on the first. Federal tax data must not be reported to the SSA on more than one Copy A, so wages and withholding are not repeated.

A fictional five-code case

Suppose a fictional employee, Morgan Example, SSN XXX-XX-1234, has five items: D 15000.00, AA 2000.00, W 1200.00, DD 10400.00 and C 240.00. The first W-2 carries four of them in 12a to 12d, together with all wage and tax boxes. The second W-2 repeats boxes a to f and carries C 240.00 in 12a, with the wage boxes left empty so no federal tax data is reported twice.

Exceptions to the four-item limit

Two exceptions apply. On employee copies such as Copies B and C, the TIP allows more than four items "when using an approved substitute Form W-2." And the filing method matters: the instructions say an electronic file can include every type of Box 12 amount in one employee wage record, while paper filing and Forms W-2 created online are limited to four per form.

Extra forms have a side effect. The instructions say an additional W-2 issued to report more than four codes counts toward the number of information returns used to decide whether the employer must e-file. Firms that prepare W-2s for clients will find more on this kind of workflow in the tax preparers category.

What do the instructions keep out of Box 12?

The instructions keep several benefit-like items out of Box 12. Section 414(h)(2) contributions to certain state or local government plans go in Box 14a. So do, optionally, employer matching contributions, nonelective employer contributions, required employee contributions and after-tax contributions that are not Roth. Union dues and uniform payments go in Box 14a too.

The Box 12 Codes section opens with the first exclusion: "Do not report in box 12 section 414(h)(2) contributions." It sends them to Box 14a, along with "any other information that you wish to give to your employee," and names union dues and uniform payments as examples.

The Codes D through H entry lists four items that "are not elective deferrals and may be reported in box 14a, but not in box 12": nonelective employer contributions, after-tax contributions that are not designated Roth contributions, required employee contributions, and employer matching contributions. The code D example shows what that means in practice. A $600 voluntary after-tax contribution "may be reported in box 14a (this is optional) but not in box 12," and qualified nonelective and profit-sharing contributions "are not required to be reported on Form W-2."

Some items have their own box instead. Dependent care benefits go in Box 10, nonqualified plan distributions in Box 11, and allocated tips in Box 8. Railroad employers use Box 14a for several items that other employers put elsewhere, as the code C and code L entries note.

On 2026 forms, cash tips go in Box 12 with code TP while the tipped occupation code goes in the new Box 14b, as the guide to W2 Box 14 describes.

Some items are optional within Box 12 itself. The code Y entry says "It is not necessary to show deferrals in box 12 with code Y." Code DD carries transitional relief for certain employers and plan types. Leaving out an optional item is not an error under the instructions.

How is a wrong Box 12 code corrected on a W-2c?

A wrong Box 12 code is corrected on Form W-2c, the Corrected Wage and Tax Statement, issued by the employer. The W-2c shows the code and amount as previously reported and as corrected, side by side. The employer files Copy A with the SSA along with Form W-3c and gives the employee their copies.

The W-2c section of the IRS General Instructions for Forms W-2 and W-3 has its own Box 12 paragraph. It says to use these boxes "to correct any of the coded items shown on Forms W-2," naming elective deferrals under codes D through H, S, Y, AA, BB and EE among the examples. It adds: "Employers should enter both the code and dollar amount for both fields on Form W-2c," meaning the previously reported entry and the correct entry. If one W-2c does not have enough spaces, the employer uses additional Forms W-2c.

A fictional correction

Suppose an employer printed Morgan Example's health coverage cost as code D instead of DD. On the W-2c, the "Previously reported" side shows D 10400.00, and the "Correct information" side shows DD 10400.00. If the error also put the amount in the wrong wage boxes, those boxes are corrected on the same form.

Who issues it and when

The employer issues the W-2c; the instructions direct employers to use the current version, which for 2026 is Rev. 1-2026. The employer files a Form W-3c with every W-2c sent to the SSA. If the error is caught after the employee has the W-2 but before Copy A goes to the SSA, the instructions say to mark the incorrect Copy A "VOID," prepare a new W-2, and write "CORRECTED" on the employee's new copies instead.

A corrected Box 12 may also require corrections to employment tax returns such as Form 941, using the matching "X" form, according to the same section. Corrected W-2s more broadly are covered in the W-2 forms category.

An employee who receives a W-2c can see what changed and, for the steps after that, read the code-by-code guide to what you put for Box 12 on your taxes. For a batch of client forms, Schema Tax reads W-2s, including each Box 12 slot, into named fields and runs its checks before export, as its five steps from paper to checked data describe.

All posts in W-2 Box 12 and Box 14 Codes