ein-number.com
Begin My Application from $69
Box b · 9 digits · XX-XXXXXXX

Where Is the EIN on a W-2? Box b, Above the Employer's Name

Your employer’s EIN is in box b of Form W-2, labelled "Employer identification number (EIN)," and is written as 9 digits in XX-XXXXXXX format. Box a is your own SSN, and box c is the employer’s name and address. If box b is blank or wrong, ask the employer for a corrected W-2c.

This page reads the W-2 from the employee’s side: whose number sits in which box, why the EIN on your form can differ from the one a company publishes, and what to do when box b is wrong. To find the EIN of your own business instead, see where else an EIN prints.

Begin My Application from $69
Starting your own business after a W-2 job?
Get your EIN filed from $69, double-checked.
·Updated ·11 min read
Box b
the W-2 box that holds the employer's EIN
9
digits in every EIN, written XX-XXXXXXX
W-2c
the form that corrects a wrong box b
The short answer

An employer's EIN appears in box b of Form W-2, labelled Employer identification number (EIN), as 9 digits in the format XX-XXXXXXX. Box a holds the employee's Social Security number, box c the employer's name, address and ZIP code, box d an optional control number, and box 15 the employer's state ID number, which is not the EIN. An employer still waiting for its EIN writes Applied For in box b and never an SSN. A wrong box b is corrected on Form W-2c, and an employee who never receives a correct W-2 can file with Form 4852.

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.

BoxWhat it showsWhose number or detail
Box aEmployee's Social Security numberYours
Box bEmployer identification number (EIN)The employer's federal tax ID
Box cEmployer's name, address and ZIP codeThe employer, as on its Form 941
Box dControl numberAn internal tracking code, optional
Box eEmployee's first name, initial and last nameYours
Box fEmployee's address and ZIP codeYours
Box 15State and employer's state ID numberThe 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.

BrandParent company EIN (SEC filing)What your W-2 can show
Walmart71-0415188 (Walmart Inc.)Walmart Inc. or an operating subsidiary
Amazon91-1646860 (Amazon.com, Inc.)A subsidiary employer of record
UPS58-2480149 (United Parcel Service, Inc.)The parent or an operating subsidiary
FedEx62-1721435 (FedEx Corp)An operating company such as a FedEx subsidiary
Target41-0215170 (Target Corp)The parent or a subsidiary
Home Depot95-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.

ProblemFix
Box b is blankAsk the payroll department for the EIN and a corrected W-2c
Box b has 8 or 10 digitsA typing error; ask for a W-2c with the 9-digit EIN
Box b shows Applied ForValid while the EIN was pending; ask for the corrected form once it is issued
Box b shows a different companyCheck box c: a subsidiary or a section 3504 agent is normal
The employer has closedUse your final pay statement and Form 4852 if no W-2 arrives
No W-2 by January 31Ask 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.

Begin My Application from $69
Starting your own business after a W-2 job? EIN filing from $69, double-checked before submission.

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.

  1. IRS. General Instructions for Forms W-2 and W-3
  2. IRS. About Form 4852, Substitute for Form W-2 or Form 1099-R
  3. SEC. EDGAR full-text search
  4. IRS. How EINs are assigned and valid EIN prefixes (checked 2026-11-25)
  5. Cornell LII. 26 U.S.C. § 6103 — Confidentiality and disclosure of returns and return information
  6. IRS. Employer Identification Number

What else do people ask about the EIN on a W-2?

+Is box b on my W-2 my EIN or my employer's?

It is your employer's EIN. Box b holds the 9-digit federal tax ID of the business that paid your wages. Your own number is the Social Security number in box a. An individual employee has no EIN unless he or she runs a business that needs 1, which the IRS issues at $0.

+Can I use the EIN on my W-2 to look up my employer?

Only partly. A public company's EIN appears in its SEC filings, so a match tells you the parent group. Private employers' EINs are confidential under 26 U.S.C. section 6103, so no public database turns 9 digits into a private company's name. Box c on the same W-2 already names the employer.

+What if my employer went out of business before sending my W-2?

Ask the owner or the payroll provider first, because the duty to furnish a W-2 by January 31 survives the closure. If none arrives, file with Form 4852, the IRS substitute for Form W-2, using your final pay statement for the amounts and box b from an earlier W-2.

+Is the federal ID number on a W-2 the EIN?

Yes. Federal ID number, federal tax ID, FEIN and EIN all mean the 9-digit number in box b. The state employer ID in box 15 is a different number issued by each state, and it never goes in the federal EIN field of a return.

+Why does my W-2 show a payroll company's name?

Because the payroll company can file as an agent. Under section 3504, the IRS W-2 instructions let an agent report under its own EIN, with box c showing the agent's name, then Agent for, then your employer's name. The W-2 is valid; enter it exactly as printed.

+What is Walmart's EIN for a W-2?

Walmart Inc.'s EIN in its SEC filings is 71-0415188. Use the number in box b of your own W-2, though, because a store or distribution employee can be paid by an operating subsidiary with a different EIN. Your W-2 box b is the number the IRS matches for your 2026 return.

+Is the EIN in box b public information?

Only when the employer is a public company or a tax-exempt organization. SEC filers print the EIN on every 10-K cover, and nonprofits' EINs are public through the IRS. A private company's EIN is protected by 26 U.S.C. section 6103, but every employee receives it on 1 W-2 a year.

+What is box d on a W-2?

Box d is an optional control number. Employers and payroll systems use it to track individual W-2s, and the IRS says the employer does not have to use it. It is not a tax ID, and it does not go in the employer EIN field of a tax return.

+Can an EIN on a W-2 start with any 2 digits?

No. The IRS publishes a list of valid EIN prefixes, the first 2 digits, and 17 two-digit combinations such as 07, 08 and 09 have never been issued. A box b starting with 1 of those is a typing error, so ask the employer for a corrected W-2c.

+Does a 1099 show the payer's EIN in the same place as a W-2?

No. A 1099 prints the payer's number in a box labelled PAYER'S TIN, under the payer's name in the upper left, instead of box b. Form 1099-K calls the same box FILER'S TIN. Both hold the 9-digit tax ID of whoever paid you.

Starting your own business after a W-2 job?

Your employer’s EIN identifies its payroll. Your new company needs its own number. We prepare Form SS-4, double-check it before submission, and deliver your EIN and CP575 in 2–3 weeks at $69 or 7 business days at $99 on the Fast tier.

Begin My Application from $69
No SSN. No passport upload.