Which box on the W-2 is the employer’s EIN?
Box b, labelled "Employer identification number (EIN)." It sits in the upper-left block of the form, above box c, which carries the employer’s name, address and ZIP code.
The IRS instructions for Forms W-2 and W-3 tell the employer to enter the EIN it uses on its federal employment tax returns, such as Form 941, so box b on your W-2 is the same number the employer reports your wages under. An EIN always has 9 digits, printed as 2 digits, a hyphen and 7 digits. The first 2 digits are a prefix the IRS assigns, and you can check an EIN’s prefix against the IRS list in a few seconds.
Box b is not your number. Your own identifier is the Social Security number in box a. People mix the 2 up because both are 9 digits long, but the formats differ: an SSN prints as 3-2-4 digits (XXX-XX-XXXX), while an EIN prints as 2-7 (XX-XXXXXXX). The what the 9 digits mean page shows how to tell them apart at a glance.
If the employer had applied for an EIN but did not have it when the W-2 went out, the IRS tells it to write Applied For in box b, and never to substitute a Social Security number. A W-2 with Applied For in box b is valid for the moment; the employer issues a corrected form once the number arrives.
Source: IRS, General Instructions for Forms W-2 and W-3, checked November 30, 2026.
What’s the difference between boxes a, b, c, d, e, f and 15?
Boxes a and e to f describe you, boxes b and c describe the employer, box d is a tracking number, and box 15 is the state version of the employer’s ID. Only box b is the federal EIN.
| Box | What it shows | Whose number or detail |
|---|---|---|
| Box a | Employee's Social Security number | Yours |
| Box b | Employer identification number (EIN) | The employer's federal tax ID |
| Box c | Employer's name, address and ZIP code | The employer, as on its Form 941 |
| Box d | Control number | An internal tracking code, optional |
| Box e | Employee's first name, initial and last name | Yours |
| Box f | Employee's address and ZIP code | Yours |
| Box 15 | State and employer's state ID number | The employer's state account, not the EIN |
Source: IRS, General Instructions for Forms W-2 and W-3; IRS Form W-2.
The numbered boxes 1 to 14 carry money: wages, withheld federal income tax, Social Security and Medicare wages and tax, and codes such as box 12. The lettered boxes carry identity. When tax software asks for the employer’s EIN, it means box b and nothing else.
Is the EIN on my W-2 the same as my employer’s tax ID number?
Yes. EIN, federal employer identification number, federal tax ID and FEIN all name the same 9-digit number, and box b is where a W-2 prints it.
The IRS calls it the employer identification number. Payroll systems and state forms add the word federal to separate it from a state employer number, which is how FEIN appears. A request for the employer’s federal ID number on a loan, rental or benefits application is a request for box b.
The state ID in box 15 is a different number. Each state that taxes wages issues its own employer account number, and its format varies by state. An employer that pays wages in 2 states prints 2 lines in boxes 15 to 20, each with its own state number, while box b stays the same single federal EIN.
Why does my W-2 EIN differ from the company’s public EIN?
Because the legal employer is often a subsidiary, not the parent company that files with the SEC. A payroll agent can also report wages under its own EIN.
A public company publishes its parent EIN in its SEC filings, and that is the number 500 public company EINs on this site lists. Large groups pay staff through operating subsidiaries, each with its own EIN, so the box b on a store or warehouse W-2 can belong to a subsidiary of the brand you know. Your W-2 is the authority for your return; the parent’s number from an SEC filing is the right answer only when the parent itself employed you.
| Brand | Parent company EIN (SEC filing) | What your W-2 can show |
|---|---|---|
| Walmart | 71-0415188 (Walmart Inc.) | Walmart Inc. or an operating subsidiary |
| Amazon | 91-1646860 (Amazon.com, Inc.) | A subsidiary employer of record |
| UPS | 58-2480149 (United Parcel Service, Inc.) | The parent or an operating subsidiary |
| FedEx | 62-1721435 (FedEx Corp) | An operating company such as a FedEx subsidiary |
| Target | 41-0215170 (Target Corp) | The parent or a subsidiary |
| Home Depot | 95-3261426 (The Home Depot, Inc.) | The parent or a subsidiary |
Parent EINs read from each company’s SEC filing header via data.sec.gov, retrieved November 25, 2026. Source links: Walmart’s EIN from SEC filings, Amazon’s EIN, UPS’s EIN, FedEx, Target, Home Depot.
Payroll companies add a second layer. The IRS W-2 instructions let an agent that files employment taxes for an employer, under section 3504, report under the agent’s own EIN, with box c reading the agent’s name followed by Agent for and the employer’s name. A W-2 that names a payroll firm in box c is normal in that setup.
What if box b is blank or has the wrong number?
Ask the employer for a corrected Form W-2c. If no corrected form arrives, the IRS lets you file with Form 4852, its substitute for a missing or incorrect W-2.
| Problem | Fix |
|---|---|
| Box b is blank | Ask the payroll department for the EIN and a corrected W-2c |
| Box b has 8 or 10 digits | A typing error; ask for a W-2c with the 9-digit EIN |
| Box b shows Applied For | Valid while the EIN was pending; ask for the corrected form once it is issued |
| Box b shows a different company | Check box c: a subsidiary or a section 3504 agent is normal |
| The employer has closed | Use your final pay statement and Form 4852 if no W-2 arrives |
| No W-2 by January 31 | Ask the employer; the IRS sets January 31 as the deadline to furnish W-2s |
Sources: IRS, General Instructions for Forms W-2 and W-3; IRS, About Form 4852.
Do not guess the EIN. A return filed with the wrong employer EIN does not match the W-2 the employer sent to the Social Security Administration, which slows processing. Copy the number exactly, digit for digit, from the corrected form.
Where else does my employer’s EIN print?
On Form 1095-C if the employer offers health coverage under the large-employer rules, on any prior W-2 from the same employer, and in your payroll portal’s tax documents.
Form 1095-C lists the employer’s EIN on line 8 of Part I, so an employee of an applicable large employer has a second IRS form carrying the number. Earlier W-2s from the same employer carry it in box b, provided the same legal entity employed you in those years. Most payroll portals keep every W-2 and 1095-C as a PDF for several years.
Pay stubs are not a reliable source. No federal rule requires an employer to print its EIN on a pay statement, so many stubs show only the company name. An offer letter, a benefits booklet or an HR email is not an IRS document either; use them only to know whom to ask.
How do I find a big employer’s EIN without my W-2?
For a public company, read the parent EIN from its SEC filings, which this site lists for 500 companies. For your own return, the EIN that counts is still the one on your W-2.
Public companies print their EIN on the cover of every 10-K, under I.R.S. Employer Identification No. The 500 public company EINs list reads each number from the company’s own filing and links to the source. Use it to confirm a parent number, or to see which group your employer belongs to.
A private employer’s EIN is not public. Ask its payroll or HR team, check a previous W-2, or look at a 1095-C. An employer must give you a W-2 for every year it paid you wages, so the correct number is always obtainable from the employer itself.
What’s the state employer ID in box 15, and how is it different?
Box 15 shows the state’s 2-letter code and the employer’s state account number. States issue it for withholding, and its format differs from state to state.
A state return asks for the box 15 number, and a federal return asks for box b. Entering the state number in the federal EIN field is a common e-file rejection, because the state number fails the 9-digit EIN format check.
A W-2 can carry 2 rows of state boxes when you worked in 2 states in 1 year. Each row has its own state ID in box 15 and its own wages and tax in boxes 16 and 17. Box b does not change between the rows.
Do I enter box b exactly as shown when e-filing?
Yes. Type all 9 digits exactly as box b shows them; software adds or removes the hyphen. The EIN must match the W-2 the employer filed with the Social Security Administration.
Tax software checks the EIN’s structure but not whose it is. A mistyped digit passes the format check and then fails the match against the employer’s filing. Read the number twice, and compare box c with the employer name you type so both identify the same legal entity.
If you are leaving a W-2 job to work for yourself, you will need an EIN of your own for a corporation, partnership or LLC with employees. The IRS charges $0 for it, and you can apply for your own EIN online with an SSN in 15 minutes.
Which primary sources back this page?
Every fee, deadline, form number and phone line above is taken from the 6 official documents below. No third-party blog is cited.
- IRS. General Instructions for Forms W-2 and W-3
- IRS. About Form 4852, Substitute for Form W-2 or Form 1099-R
- SEC. EDGAR full-text search
- IRS. How EINs are assigned and valid EIN prefixes (checked 2026-11-25)
- Cornell LII. 26 U.S.C. § 6103 — Confidentiality and disclosure of returns and return information
- IRS. Employer Identification Number