W-2 Control Number (Box D) and Verification Code (Box 9)

The control number in Box D of your W-2 is an optional code your employer’s payroll system uses to track individual forms internally, and the IRS does not need it to process your return. If the box is blank, or if you leave it blank when you file, nothing goes wrong.

What the Code in Box D Actually Is

Box D holds an alphanumeric identifier your employer’s payroll department assigns so it can locate your specific W-2 among all the others it issued. It functions like a file number on an office folder. Outside that company’s own records, it carries no meaning.

The IRS is direct about the field: “You may use this box to identify individual Forms W-2. You do not have to use this box.”1Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3 Because every payroll provider follows its own conventions, the codes vary in length and format. Some are pure numbers, some mix letters and numbers, and some contain dashes or spaces. The IRS sets no character limit and no formatting rule.

You will usually find Box D in the upper-left or middle-left area of the form. If your employer doesn’t assign control numbers at all, the box will simply be empty. That’s normal, not a defect on your W-2.

Do You Need to Enter Box D When You File?

No. The IRS does not require Box D, and your return will be accepted whether the code is entered or not.1Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3

When your tax software brings up the W-2 entry screen, you’ll see a field for Box D alongside the wage and withholding boxes. If your form shows a control number, type it exactly as printed, spaces and dashes included. If the space on your W-2 is blank, leave the software field empty and move on.

If Your Software Rejects a Blank Box D

A few tax programs occasionally flag a blank Box D during e-file validation, even though the IRS doesn’t care about the value. If that happens, entering a simple placeholder like “12345 67890” will clear the check. The IRS doesn’t read Box D for any purpose, so a placeholder has no effect on your return, your refund, or your withholding record.

Where Box D Comes From on Your Form

The control number is generated by whoever runs your employer’s payroll, which may be an in-house department or an outside provider. Because the code is meaningful only inside that system, don’t try to interpret it. It isn’t your Social Security number, your employee ID, or a number the IRS looks up. If you need to reference your W-2 in a call to HR or payroll, reading the Box D code aloud can help them pull the exact form faster, and that’s essentially the only situation where the code matters to you.

A Note on Box 9 Right Below

Box 9 sits close to Box D on the form and often causes the same kind of confusion, so it’s worth clearing up. Box 9 once held a 16-character verification code from an IRS pilot program aimed at fighting refund fraud. The IRS ended that pilot after the 2018 tax year and now instructs employers directly: “Do not enter an amount in box 9.”1Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3

If Box 9 on your current W-2 is empty, that’s exactly what should be there. Leave the corresponding field in your tax software blank as well.

When to Actually Worry About Your W-2

A blank or unusual Box D is not a reason to hold up your return. What does matter is whether the wage, withholding, and identifying information on the form is correct, and whether you received the form at all. Your employer must deliver your W-2 by February 1 of the year after the tax year ends; for 2026 wages, the deadline is February 1, 2027.1Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3

If the wages, withholdings, or personal details on your W-2 are wrong, ask your employer for a corrected form, called a W-2c.2Internal Revenue Service. About Form W-2 C, Corrected Wage and Tax Statements Don’t file using numbers you know are incorrect. But if the only thing “wrong” with your W-2 is a missing or oddly formatted Box D, you can file with confidence and move on.