Box d contains your employer's identification number
Box d is in the upper right section of your W2 form, just below the employer's name and address. It holds a nine-digit number called an Employer Identification Number (EIN). This is the tax ID your employer uses with the IRS — similar to how you have a Social Security Number, your employer has an EIN.
You will see "d" printed to the left of the box. The number inside looks like this format: 12-3456789. Every employer files their own W2s under this number, so it ties your earnings record to the correct business in the IRS system.
The EIN in box d is public information. You can look up any business's EIN on the IRS website if you need to verify it, though most people never need to. It matters mainly if you are filing your own tax return and want to double-check that your W2 came from the right employer, or if you are troubleshooting a missing or incorrect W2.
Key Takeaways
- Box d shows your employer's nine-digit Employer Identification Number (EIN), which identifies them to the IRS.
- The EIN appears in the upper right area of the W2, printed next to the letter "d".
- You need the EIN from box d if you are contacting your employer about a lost or incorrect W2.
- The EIN is public information and does not affect your personal tax filing unless your W2 details are wrong.
Why your employer's EIN matters on your W2
The IRS uses the EIN in box d to match your W2 income to your employer's tax records. When your employer files their payroll taxes, they report what they paid you under their EIN. When you file your tax return, the IRS cross-checks the income you reported against what your employer reported under that same EIN. If the numbers do not match, the IRS will flag it.
This matching process is automatic and happens behind the scenes. You do not have to do anything with the EIN yourself — it is there so the IRS can verify that your W2 is legitimate and that the income amount is correct.
What to do if box d is blank or wrong
If box d is empty or shows an incorrect number, contact your employer's payroll or HR department right away. A missing or wrong EIN means the IRS may not be able to match your W2 to your employer's records, which can delay your refund or trigger an audit notice.
Ask your employer to issue a corrected W2 (called a W2-c form). They will file the correction with the IRS and send you a copy. You then file your tax return using the corrected W2. This usually takes a few weeks, so reach out as soon as you notice the problem.
How to find your employer's EIN if you need it
If you have lost your W2 or need the EIN for another reason, you can ask your employer directly — payroll or HR will have it. You can also check any pay stub from that job; many employers print the EIN on the stub.
If you no longer work there and cannot reach them, you can search the IRS Business Name Search tool on the IRS website. Enter your former employer's name and state, and the tool will return their EIN if they are registered with the IRS. This is a public lookup and takes a few minutes.
Box d versus other employer information on the W2
Box d (the EIN) is different from the employer's name and address, which appear at the top of the form. The name and address tell you where to send questions or pick up documents. The EIN in box d is what the IRS uses to identify that specific business in their system.
Some employers operate multiple locations or business units under one EIN, while others have separate EINs for different divisions. The EIN on your W2 is the one your payroll was processed under, which is the one that matters for your tax return.
Using box d information when you file taxes
When you file your tax return, you do not need to enter your employer's EIN. You report your W2 income on your return, and the IRS automatically matches it to your employer's records using the EIN they have on file. Your job is simply to report the income amounts from boxes 1, 5, and other relevant boxes on your W2.
However, if you are self-employed or running a business, you will need your own EIN. That is different from your employer's EIN and is used for your business tax filings.
Frequently Asked Questions
Can I use the EIN from box d to look up my employer?
Yes. The IRS Business Name Search tool lets you enter an EIN and see the registered business name and address. This is useful if you want to verify that the W2 came from the right company or if you need to contact them about a missing W2.
What if two W2s show different EINs from the same employer?
This can happen if your employer restructured, merged, or changed their legal entity during the year. Report both W2s on your tax return as they are. If you think there is an error, contact your employer to confirm which EIN is correct for the income you earned.
Do I need to report the EIN from box d on my tax return?
No. You report the income amounts from your W2, and the IRS matches them to your employer using the EIN they have on file. You do not enter the EIN yourself when filing.
What should I do if box d shows a number I do not recognize?
Contact your employer's payroll department and ask them to confirm their EIN. If the number on your W2 does not match what they give you, request a corrected W2 (W2-c) immediately. Do not file your tax return until the discrepancy is cleared up.