Your employer's EIN appears in Box b, the second box at the top of the W2 form

The Employer Identification Number (EIN) is a nine-digit number that identifies your employer to the IRS. On the W2, it sits in Box b, located in the upper right section of the form, just below the tax year and to the right of your employer's name and address. The format is always XX-XXXXXXX (two digits, a hyphen, then seven digits).

You will see two identification numbers on your W2. Box a contains your Social Security Number, and Box b contains your employer's EIN. They are side by side at the top. The EIN is the one you need if you are filing taxes, verifying employment, or dealing with tax questions about that job.

Key Takeaways

  • The EIN is printed in Box b at the top right of your W2, formatted as XX-XXXXXXX.
  • Box a holds your Social Security Number; Box b holds your employer's EIN — they sit next to each other.
  • You may need the EIN to verify employment, file taxes, or contact the IRS about your W2.
  • If your W2 is missing or damaged, you can request a copy from your employer or the IRS using the EIN to identify the correct employer record.

Why the EIN matters on your W2

The EIN tells the IRS which business reported your wages. When you file your tax return, the IRS matches the income reported on your W2 to your tax filing. If there is a mismatch — for example, if your employer reported your wages under the wrong EIN — the IRS may flag it and contact you.

The EIN is also useful if you need to verify that you worked somewhere. Some employers ask you to provide it when you request a wage statement or tax document. If you are disputing something on your W2 or need to contact the IRS about a specific employer's reporting, having the correct EIN speeds up the process.

What to do if Box b is blank or unclear

If your W2 has no EIN in Box b, or if the number is smudged or hard to read, contact your employer's payroll or human resources department. They can provide the correct nine-digit number. You will need it to file your taxes accurately.

If your employer is no longer in business or you cannot reach them, you can contact the IRS directly. Have your W2 and your employer's name and address ready. The IRS can look up the EIN using that information and send you a corrected W2 if needed.

How the EIN connects to your tax filing

When you file your federal tax return, the IRS uses the EIN in Box b to cross-check your W2 income against what your employer reported. The system is automated: the IRS receives a copy of your W2 from your employer and matches it to your return using your Social Security Number and the employer's EIN.

If the EIN on your W2 does not match the EIN your employer actually uses, the IRS may not match your income correctly. This can delay your refund or trigger a notice. If you suspect an error, contact your employer to confirm the EIN is correct before you file.

Requesting a replacement W2 using the EIN

If you lost your W2 or never received one, you will need the EIN to request a replacement. You can ask your employer for a copy, and they will use their own records to print a duplicate. If your employer is unresponsive, you can file Form 4852 (Substitute for Form W-2) with the IRS, and you will need the employer's name, address, and EIN to complete it.

You can also contact the IRS at 1-800-829-1040 to report a missing W2. Have your employer's name, address, and EIN ready. The IRS can verify whether your employer filed your W2 and may send you a copy or direct you to request one from your employer.

Frequently Asked Questions

Is the EIN the same as my employer's business license number?

No. The EIN is a federal tax identification number issued by the IRS. A business license is a state or local permit. Your employer has one EIN but may have multiple business licenses depending on where they operate. The W2 always shows the EIN, not the license number.

Can I use the EIN to look up my employer's business information?

The IRS does not publish a public directory of EINs and business names. However, you can search your state's business registration database if you know your employer's name and location. The EIN itself is not a tool for looking up business details — it is just an identifier for tax purposes.

What if two boxes on my W2 both have nine-digit numbers?

Box a is your Social Security Number (nine digits). Box b is your employer's EIN (nine digits). Both are nine digits, but they identify different people. Your SSN is yours; the EIN belongs to your employer. Check the label above each box to confirm which is which.

Do I need the EIN to file my taxes?

You do not need to enter the EIN on your personal tax return. The IRS uses it behind the scenes to match your W2 to your filing. However, you should have it available in case the IRS contacts you with questions about your W2 or your employer's reporting.