A UEI (Unique Entity ID) is the 12-character code of letters and numbers that SAM.gov assigns to every business that registers there or asks for an ID. It has been the federal government's ID for contractors and grantees since April 4, 2022, when it replaced the DUNS number. Getting one costs nothing, and you can find another company's UEI in a few minutes.
The short answer
- What it is: a unique, 12-character, alphanumeric ID that SAM.gov creates. SBA: "Entities doing business with the federal government must use the UEI created by the system."
- What it costs: nothing. SAM.gov: "There is no charge to get a Unique Entity ID, register your entity, and maintain your entity registration at SAM.gov."
- Two ways to get one: a UEI only, which needs your legal business name and physical address, or a full registration, which assigns the UEI along the way.
- A UEI alone does not let you bid. SAM.gov: "If you choose to only get a Unique Entity ID, you cannot apply directly for federal awards."
- Registration timing: SAM.gov says to allow at least ten business days after you submit for a registration to become active, and to renew it every 365 days.
- To look one up: SAM.gov's public entity search, USAspending.gov's recipient search, or ask the company.
UEI only or full registration: which one you need
| You want to | UEI only | Full registration |
|---|---|---|
| Bid on a federal contract as the prime | No | Yes |
| Be reported as a subcontractor by your prime | Yes | Not needed for this |
| Apply for a federal grant | No | Yes (a Financial Assistance Awards Only registration is enough) |
| What you enter | Legal business name and physical address | That, plus core data, taxpayer ID and IRS consent, banking for payment, ownership, representations and certifications, points of contact, and SBA's small business page |
| What you get | A UEI | A UEI, an active registration and a CAGE code (US entities) |
| Upkeep | None on a schedule | Renew every 365 days |
Sources: SAM.gov's Entity Registration page and its Entity Registration Checklist, read December 5, 2026.
If you only subcontract, a UEI-only record is usually what your prime is asking for. Primes report first-tier subcontracts under FAR 52.204-10, and the report starts with the "Unique entity identifier for the subcontractor receiving the award and for the subcontractor's parent company, if the subcontractor has a parent company." On who gets it, GSA's guidance: "Your prime cannot request one for you." Get your own and send it to the prime before the subcontract is signed.
How to get a UEI, step by step
- Set up a SAM.gov account. Sign in through Login.gov, which manages SAM.gov usernames and passwords.
- Select Get Started. Choose "Get a Unique Entity ID" for a UEI only, or "Register Entity" if you will bid or apply for grants.
- Enter your legal business name and physical address exactly as they appear on your formation papers and IRS records. A post office box cannot be your physical address. A full registration also asks for your date and state of incorporation.
- Let SAM.gov validate the name and address. If it cannot, the page lets you open a help ticket with the Federal Service Desk, and nothing moves until the mismatch is fixed.
- Choose whether your record is public. Public records show your status, legal business name and physical address. If you restrict them, SAM.gov says you will not be visible "to other non-federal entities or state and local governments who may wish to do business with you."
- Copy the UEI into your records, your capability statement and any prime's vendor form.
Have these in front of you: your legal business name as the IRS has it, your physical street address, and, for a full registration, your taxpayer ID (EIN), your bank's routing and account numbers, your NAICS codes and the names of your points of contact.
How to look up a UEI
| To find | Where | What you need |
|---|---|---|
| Your own UEI | SAM.gov, signed in: your Entity Workspace | Your SAM.gov login |
| Another company's UEI, any company that has won federal money | USAspending.gov, recipient search | The company's name |
| Another company's UEI, registered but never paid | SAM.gov's search of entity records, by the company's legal name (GSA points primes there to find "another entity's identifier") | The legal name; only records the owner left public show up |
| A small subcontractor's UEI | Ask the business | Nothing; it is theirs to give |
Watch the corporate family. One name can hold many UEIs. A USAspending.gov recipient search for Booz Allen Hamilton on December 5, 2026 returned 30 different UEIs under the name Booz Allen Hamilton Inc (JCBMLGPE6Z71, KHK6E1JW9C15 and VWE7ANVJJ948 among them), plus a separate one for the parent, Booz Allen Hamilton Holding Corporation: MBPHTU7Y9S65. Name alone does not tell you which is right. If you are a prime reporting a subcontract, ask the subcontractor for the UEI on the record that signed it, and put the parent's UEI in the parent field, as FAR 52.204-10 asks.
UEI, DUNS, CAGE and the other numbers
| ID | Who assigns it | What it identifies | When you need it |
|---|---|---|---|
| UEI | SAM.gov | Your business, as a legal entity | Any federal contract, grant or subcontract report |
| DUNS | Dun & Bradstreet, a private company | Your business in D&B's records | Not by federal systems since April 4, 2022 |
| CAGE code | The Defense Logistics Agency's CAGE Branch | One business location | Before a contract award above the micro-purchase threshold when the solicitation requires SAM.gov registration or a UEI (FAR 4.1802); in the FAR overhaul text, with the offer itself if you are not registered in SAM.gov (52.204-90(d)) |
| EIN | The IRS | Your business for taxes | SAM.gov checks it with the IRS during registration |
| NAICS code | You pick it from the federal NAICS list | What you do | Every set-aside and size check |
GSA said the CAGE code "will NOT be affected" by the switch from DUNS to UEI, so a business registered before 2022 kept its CAGE code. The FAR keeps the two apart too: as published, subpart 4.18 calls the UEI "a different identifier" from the CAGE code, and the FAR overhaul text, which the Department of Defense, GSA and other agencies use by class deviation, has SAM.gov "issue the unique entity identifier (UEI) and Commercial and Government Entity (CAGE) code" as two items (4.203-1(a)(1)). Our guide to the CAGE code covers how one is assigned and looked up.
Five mistakes that stall a UEI or a registration
- Paying for it. SAM.gov charges nothing for the UEI, the registration or its renewals. A site that asks for a fee is selling a service, not the UEI.
- A name or address that does not match your records. Validation fails, and the registration waits.
- Getting a UEI only, then trying to bid. A UEI-only record cannot be used to apply directly for federal awards. Upgrade it to a full registration first.
- Letting the registration lapse. It must be renewed every 365 days to stay active. The UEI stays with you either way: GSA told businesses with "an active or expired registration" that they "already have a Unique Entity ID."
- Missing the validation emails. If your entity fails taxpayer ID or CAGE validation, SAM.gov emails the Government Business point of contact. It tells registrants to check spam and junk folders while they wait.
Put it to work
Your UEI and CAGE code belong in the company data block of your capability statement, the one-page summary buyers ask for. Our free capability statement builder has a field for each, and the page compares what five public buyers ask a statement to show.
Frequently asked questions
Is a UEI the same as a DUNS number?
No. The DUNS number is Dun & Bradstreet's identifier. Federal systems stopped using it on April 4, 2022 and use the UEI that SAM.gov assigns instead.
How many characters is a UEI?
Twelve, letters and numbers. SBA calls it "a unique 12-character, alpha-numeric value."
Does a UEI expire?
The registration expires if you do not renew it every 365 days; the UEI stays with your business. GSA told businesses with an expired registration that they already have a Unique Entity ID.
How long does it take to get a UEI?
Allow at least ten business days after you submit a full registration for it to become active, by SAM.gov's own estimate. A UEI-only request is assigned once SAM.gov validates your name and address.
Can my prime contractor get a UEI for me?
No. GSA: "Your prime cannot request one for you." Get your own at SAM.gov and send it to the prime.
Is a UEI the same as a CAGE code?
No. The UEI identifies your business as a legal entity; the CAGE code identifies a business location. A full SAM.gov registration gives you both. See our CAGE code guide.
Sources
All read December 5, 2026.
- SBA: Basic requirements for government contracting
- SAM.gov: Get started with registration and the Unique Entity ID
- SAM.gov: Entity Registration Checklist (PDF)
- GSA: Transitioning to the new Unique Entity ID (SAM), fact sheet (PDF)
- FAR 2.101, definitions, FAR subpart 4.18, Commercial and Government Entity code and FAR 52.204-10, reporting subcontract awards, as published
- FAR overhaul text and the agency deviations adopting it (Part 4, 4.203-1; Part 52, 52.204-90)
- USAspending.gov recipient search (the Booz Allen Hamilton UEIs, read through its public recipient API)