
Sometimes. An employer’s EIN can appear on a pay stub, usually in the company block at the top next to the business name and address, but nothing in federal law puts it there and many stubs leave it off. The place it always appears in full is box b of your Form W-2.
The EIN, or employer identification number, is the 9-digit number the IRS gives a business for its tax accounts, written as XX-XXXXXXX. Below is how to spot it among the other numbers on a stub, and where to look when your stub does not have it.
Where the EIN sits on a stub
Look at the employer section first. On most layouts that is the top left, under the company name and address, labelled EIN, FEIN, Fed ID or Federal Tax ID. Here is the top of a stub from our own generator, with every number it carries tagged:
Riverbend Print Works LLC
1400 J Street
Sacramento, CA 95814
EIN 00-0000000
State employer acct 000-0000-0
Jordan Ellis
Employee ID E-20417
SSN XXX-XX-4321
Advice no. DD-88214
Five numbers, and only one of them is the employer’s. The quickest test is the shape: an EIN has two digits, a hyphen and seven digits. A Social Security number splits three, two and four, and an employee ID follows no federal pattern at all.
Telling the EIN from the other numbers
| Number | Looks like | Belongs to | Use it for |
|---|---|---|---|
| 1. EIN (FEIN, federal tax ID) | 9 digits as XX-XXXXXXX, here 00-0000000 | The employer | Tax forms that ask for the employer's number |
| 2. Employee ID | Any format the employer picks, here E-20417 | You, inside the company | Talking to payroll or HR |
| 3. SSN, last four | XXX-XX-4321 | You | Matching the stub to you; the full number never belongs on a stub |
| 4. State employer account number | Set by each state agency, often labelled State ID | The employer, for state tax | State forms, not federal ones |
| 5. Check or advice number | Here DD-88214 | That one payment | Tracing a deposit or a check |
The usual mix-up is the employee ID. Many stubs print it as “ID” or “EE ID” right beside your name, and people copy it onto tax forms as if it were the employer’s number. It is the company’s own number for you, unknown to the IRS.
California shows why the two get confused. Its wage statement law lists 9 items, including the employee’s name with an “employee identification number” or the last four of their Social Security number, and the legal name and address of the employer. It does not ask for the employer’s EIN at all.
The state employer account number is the other look-alike. States issue their own numbers for withholding and unemployment tax, and stubs sometimes print one as “State ID”. It goes on state forms; federal forms want the EIN.
No EIN on your stub? Where else to find it
| Where | Digits shown | Works when |
|---|---|---|
| Form W-2, box b | All 9 digits; the employer may not shorten it | Every employee, every year |
| Pay stub | All 9, if printed at all | Only when the employer's payroll puts it there |
| Last year's W-2 or your copy of last year's return | All 9 | If the employer and its EIN have not changed |
| Payroll or HR portal, or a call to payroll | All 9 | Current and former employers alike |
| IRS wage and income transcript | Last 4 only | Confirms which employer, but not enough to copy onto a form |
| Form 1099 (contractors) | The payer's TIN, which is its EIN for a business | You were paid as a contractor, not an employee |
The W-2 is the reliable source. IRS instructions tell employers to show the EIN in box b and not to shorten it, and to write “Applied For” rather than a Social Security number if the business has no EIN yet. Our guide on how to fill out a W-2 walks through every box.
The IRS transcript catches people out. It lists each employer that reported wages for you, but since the IRS began masking transcripts it shows only the last 4 digits of any EIN. That is enough to confirm which employer it is, not enough to fill in a form.
For an old job, ask the former employer’s payroll department; they can read it straight off their records. If the W-2 itself never arrived, our guide to getting a W-2 from a previous employer covers the deadlines and when to call the IRS.
When you actually need the employer’s EIN
- Filing a return without the W-2. Form 4852, the IRS substitute for a missing W-2, asks for the employer’s EIN if you know it, along with wages and withholding, which you can take from your last pay stub.
- Tax software imports. Many programs look up your W-2 by the employer’s EIN before importing it.
- Some loan and benefit forms. A few applications ask for it to confirm the employer; others accept the name and address.
Day to day you rarely need it. A lender checking your income cares about the employer’s name, your gross pay and the year-to-date figures; our guide to what information is on a pay stub lists what a complete stub shows.
For employers: should you print it?
It is optional, and there is a fair case either way. Printing it saves former employees a call at tax time. Leaving it off keeps one more business identifier off paper that gets handed to landlords and lenders. Either choice is legal under federal rules; check your state’s wage statement law for anything it requires.
If you make stubs with our pay stub generator, the EIN field is optional. Enter it and it prints in the company block in the XX-XXXXXXX form; the generator rejects anything that is not 9 digits, which catches the common slip of typing an SSN there.
Whatever you decide for the stub, the W-2 must carry the full number, and so must your quarterly Form 941 and every other federal payroll filing. The IRS matches them all by EIN.
Sources: IRS Publication 1635, Understanding Your EIN; IRS General Instructions for Forms W-2 and W-3 (2026), box b; IRS, About tax transcripts; California Labor Code section 226. Checked October 29, 2026.
