State Tax ID vs Federal EIN: What Is the Difference?

Last updated September 6, 2026 · Written by the EIN Registration filing team

They are two different numbers from two different governments. The federal EIN is issued by the IRS, there is exactly one per business, and it is the number banks, lenders, payroll providers and every federal form use. A state tax ID is issued by your state’s revenue or labor agency when you register for a specific state tax, such as sales tax, employee withholding or unemployment insurance, and one business can hold two or three of them. You get the EIN first, because the state registrations ask for it.

Need the federal EIN so you can finish your state registration? We prepare and file the SS-4 and email you the number, typically within 2 to 4 business days.

Start Now →

What a federal EIN is

The Employer Identification Number is a nine-digit number in the format 12-3456789 that the IRS assigns to a business entity. Despite the name, you do not need employees to have one. It identifies the business on federal tax returns, on the account application at any bank, on credit applications, on W-9s you give to customers and on the W-2s and 1099s you issue. It never changes and never expires, and there is only ever one per entity. The uses guide lists everything it unlocks.

What a state tax ID is

There is no single “state tax ID.” The phrase covers several account numbers a state assigns when you register for a particular tax, and which ones you get depends on what the business does. The common ones:

  • Sales tax permit or seller’s permit number. Issued by the state revenue department when you register to collect sales tax. Required before your first taxable sale in most states.
  • State withholding account number. Issued when you register to withhold state income tax from employee wages. This is the number that goes in box 15 of a W-2, labelled “Employer’s state ID number.”
  • Unemployment insurance (SUI) account number. Issued by the state labor or workforce agency when you become an employer. Some states combine it with withholding; many do not.
  • State entity or filing number. Not a tax ID at all, but often mistaken for one. It is the number the Secretary of State stamped on your formation filing. It identifies the company in state records and cannot be used anywhere an EIN or tax account number is asked for.

A few states issue one master taxpayer number and hang the individual tax accounts off it. Texas does this with the Comptroller’s eleven-digit taxpayer number; Florida issues a business partner number when you register on Form DR-1. Most states issue a separate number per tax.

Which number goes where

Where it is asked forNumber they want
Business bank accountFederal EIN
Federal return (1065, 1120, 1120-S, Schedule C)Federal EIN
W-9 you give a customerFederal EIN
W-2, box bFederal EIN
W-2, box 15State withholding account number
Sales tax return, resale certificateSales tax permit number
Quarterly unemployment reportSUI account number
State annual reportState entity or filing number
Payroll provider setupAll of the above

Which one you get first

The federal EIN. Almost every state registration form has a line for it, and several state portals refuse to open an account without one. The order for a new business is: state approves the entity, IRS issues the EIN, then the state revenue agency issues the tax accounts you actually need. Sole proprietors with no employees and no taxable sales may never need a state number at all; the state pages say what each state requires once you hold the EIN.

Do I need both?

You need the EIN if you have employees, more than one owner, a corporate election, or a bank account in the business’s name, which covers nearly every LLC and corporation. You need a state number only for the specific taxes the state makes you register for: sales tax if you sell taxable goods or services in that state, withholding and unemployment if you pay wages there. A consultant with no employees in a state with no sales tax on services may hold an EIN and no state number for years.

Quick answers

Is the employer’s state ID number the same as the EIN?

No. Box b of the W-2 is the federal EIN; box 15 is the state withholding account number the state assigned when you registered as an employer. If you have never registered for withholding in that state, box 15 is the thing you are missing, not the EIN.

Can I use my EIN as my state tax ID?

A few state portals let you log in with the EIN, and some states print it on the account, but the state account number itself is a separate number. Putting the EIN on a sales tax return in a state that expects its own permit number is a common cause of misapplied payments.

Is my state LLC number a tax ID?

No. It is the registry’s file number for your formation documents. It goes on the annual report and nowhere else.

How do I find a state tax ID I already have?

It is printed on the registration confirmation the state sent, on every return filed under it, and in your payroll provider’s tax setup screen. State revenue agencies will also read it to an authorized owner over the phone. For a lost federal EIN, the route is different; see the 147C letter guide.

Get Your EIN the Easy Way

Answer a few questions in about 5 minutes. Our specialists prepare your IRS Form SS-4, file it, personally handle any rejection or name conflict along the way, and get your EIN to you, typically within 2 to 4 business days. One flat $197 service fee. No upsells, no subscriptions.

  • Prepared and filed by specialists
  • Error 101 and rejection handling included
  • Data encrypted (AES-256)
  • Order tracking and email updates
Start My EIN Application

Related guides

EIN Registration is an independent document preparation and filing service and is not affiliated with the IRS or any government agency. You can also apply for an EIN directly with the IRS at irs.gov at no cost.