If Box 12 on your W2 is blank, your employer had no coded item to report for you that year: no 401(k) deferral, no Roth contribution, no payroll HSA money and no health coverage cost. A blank box is normal for many workers. It is only a problem when your pay stubs show deductions that should have produced a code.
Is a blank Box 12 normal on a W2?
A blank Box 12 on a W2 is normal for an employee with nothing in the year that fits an IRS code. Box 12 is not a wage box. It is a list of up to four coded items, each a capital letter followed by an amount, and an employer fills it only when one of those items applies.
The IRS General Instructions for Forms W-2 and W-3 (2026) tell employers to "complete and code this box for all items described," and the codes run from A through II plus the newer TA, TP and TT. Every one of those codes describes a specific payment or benefit. If none of them happened, the employer has nothing to enter, and the four slots marked 12a through 12d stay empty.
Several kinds of workers commonly see an empty box:
- Employees with no retirement plan deferrals. If you did not elect to put part of your pay into a 401(k), 403(b), 457(b) or SIMPLE plan, codes D, E, G and S have nothing to show.
- Employees who declined employer health coverage. Code DD reports the cost of employer-sponsored health coverage, so no coverage means no DD amount.
- Short-term and seasonal workers. Someone who worked a few weeks and never enrolled in benefits often gets a W2 with wages and withholding and nothing else.
- Employees of small employers. The IRS page on Form W-2 reporting of employer-sponsored health-coverage lists code DD as optional for an employer required to file fewer than 250 Forms W-2 for the preceding year, so a small business can leave DD off even when it offers health insurance. The section on which employers are exempt from code DD reporting covers that relief and the other exceptions.
An employer match is a common source of confusion. The same IRS instructions list "employer matching contributions" among the amounts that are not elective deferrals and do not go in Box 12. A match can sit in your 401(k) account all year while Box 12 stays blank, as long as you deferred nothing yourself.
Should a blank Box 12 have a 401(k) or HSA amount?
A blank Box 12 should have had a 401(k) or HSA amount if money left your paycheck for either one during the year. A traditional 401(k) deferral produces code D, a Roth 401(k) contribution produces code AA, and HSA money that went through payroll produces code W. If your stubs show any of these, an empty box needs a question.
The IRS instructions are direct about both. For retirement plans, the codes D through H, S, Y, AA, BB and EE "show elective deferrals and designated Roth contributions made to the plans listed." For health savings accounts, the instructions say the employer "must report all employer contributions (including an employee's contributions through a cafeteria plan) to an HSA in box 12 of Form W-2 with code W." Pretax HSA money taken from your pay counts, not only money the employer added.
Two details decide whether a code should be there. The first is the plan type. A traditional 401(k) deferral is code D, and the guide to Box 12 code D shows how that amount moves Box 1. The second is timing. Box 12 follows the same calendar-year rule as wages: the instructions say W-2 entries "must be based on wages paid during the calendar year." A deduction from a paycheck dated January 2 of the next year belongs on next year's form.
A related letter mix-up causes false alarms. A reader who expects a 401(k) entry and sees only DD may think the deferral was left off, when DD is the health coverage code. The comparison of D and DD in Box 12 explains why one letter changes the meaning.
Box 13 gives a quick second check. The instructions tell employers to check the "Retirement plan" box when an employee was an active participant. A checked box next to an empty Box 12 can be correct, for example when only employer money went into the plan, but it is worth a look when you know you deferred part of your pay.
Checking a blank Box 12 against your final pay stub
Checking a blank Box 12 starts with the last pay stub of the year, the one with year-to-date totals. Each pretax or Roth deduction on that stub maps to a Box 12 code or to no code at all. If a deduction that maps to a code shows a year-to-date total above zero, Box 12 should not be empty.
Pay stub deduction checklist
The table below lists common stub deductions and the code each would produce, with example year-to-date amounts. The amounts are fictional and only show what a filled-in stub might look like.
| Pay stub deduction (example YTD) | Box 12 code it produces | Notes from the IRS instructions |
|---|---|---|
| 401(k) pretax, $3,120 | D | Elective deferrals to a 401(k) plan |
| Roth 401(k), $1,040 | AA | Designated Roth contributions to a 401(k) plan |
| 403(b) pretax, $2,600 | E | Salary reduction agreement deferrals |
| 457(b), $1,800 | G | Elective and employer contributions to a 457(b) plan |
| HSA pretax through payroll, $1,300 | W | Includes your cafeteria plan contributions and any employer amount |
| Medical premium, $2,340 | DD, if the employer reports it | The DD figure includes the employer's share too |
| Health FSA, $1,000 | No code for your salary reduction | Left out of the DD cost unless employer money is added |
| 401(k) employer match, $1,560 | No code | Not an elective deferral; may appear in Box 14a |
| After-tax (non-Roth) savings, $500 | No code | May appear in Box 14a |
Reading the checklist
Work down your own stub one line at a time. A 401(k), Roth, 403(b), 457(b) or payroll HSA line with a year-to-date total means a code should be present, so a blank Box 12 is a mismatch. A medical premium line alone does not prove a mistake, because the employer may be one of those for whom DD is optional. FSA, match and after-tax lines never produce a code, so they cannot explain why the box is blank. The same IRS health coverage page marks a health FSA "funded solely by salary-reduction amounts" as "do not report" for DD.
If a stub shows only federal, Social Security, Medicare and state tax lines, a blank Box 12 is what you should expect. If you have several W2s from one year, check each employer's stub against that employer's form, because each one reports only what it withheld.
When a blank Box 12 is a payroll mistake
A blank Box 12 is a payroll mistake when your year-end stub shows a coded deduction, such as a 401(k) deferral or payroll HSA money, and the W2 shows no matching code. The fix comes from the employer, not from you: it issues a corrected statement, and the corrected amount is what belongs on your records.
The Form W-2 (2026) tells employees what to do when something is wrong: ask your employer to correct your employment record and "be sure to ask the employer to file Form W-2c, Corrected Wage and Tax Statement, with the SSA to correct any name, SSN, or money amount error." The same notice asks you to get your copies of every W-2c so you can file them with your return.
How the employer fixes it depends on timing. The IRS instructions say that if the employer finds an error after giving you the form but before sending it to the Social Security Administration, it can void the original and issue a new W2 marked "CORRECTED." Once the form has gone to the SSA, the employer uses Form W-2c. The post on correcting a wrong Box 12 code on a W-2c walks through that procedure.
When you contact payroll, bring the evidence: the final stub with the year-to-date deduction, the W2 with the empty box, and the code you expected for that deduction, such as D for a 401(k) line. A short note such as "my stub shows $3,120 of 401(k) deferrals, example figure, and Box 12 has no code D" gives the payroll team a specific line to check. A missing code often comes with a second error, because a 401(k) deferral that never reached Box 12 may also still be sitting inside Box 1 wages.
Keep the timeline in mind. The IRS instructions say employers generally must furnish 2026 Forms W-2 by February 1, 2027, so most mismatches surface in February. If you are sorting several W2s at once, Schema Tax reads each form's Box 12 entries into separate code and amount fields, so an empty 12a stands out next to forms that carry a code. The W2 extraction on the forms page shows which boxes it captures, and the W-2 forms category collects the other box-by-box guides.