UEI vs CAGE code
Federal notices, invoices and teaming emails are full of two short codes: the Unique Entity ID (UEI) and the CAGE code. They identify your company to the government, but they come from different systems and do different jobs. You can get both at no charge as part of a normal SAM.gov registration.
The Unique Entity ID (UEI)
The UEI is the official identifier for entities that do business with the U.S. government. SAM.gov assigns it. SAM.gov's entity registration page is the starting point.
- It is a 12-character alphanumeric ID.
- It replaced the DUNS number on April 4, 2022. Older award records may still show a DUNS-era name or address.
- You get a UEI during SAM.gov entity registration. If you only need an ID (for example as a subcontractor who is not bidding as a prime), SAM.gov also lets you request a UEI without completing a full registration. You cannot apply directly for federal awards with a UEI-only record.
- A full registration must be renewed every 365 days to stay active.
- Registration itself is free. Beware of companies that charge to "register" you; the government does not charge for a UEI or a SAM.gov registration.
The CAGE code
The Commercial and Government Entity (CAGE) code is a five-character identifier used in logistics, contracting and payment systems, especially at the Department of Defense. It is assigned by the Defense Logistics Agency through the DLA CAGE program.
- For most U.S. entities, a CAGE code is issued automatically as part of SAM.gov registration. You usually do not file a separate CAGE application.
- Entities located outside the United States typically receive a NATO Commercial and Government Entity (NCAGE) code, which then maps to a CAGE record.
- You will see CAGE codes on solicitations, shipping documents and many agency vendor records.
How they work together
| UEI | CAGE | |
|---|---|---|
| Length | 12 characters | 5 characters |
| Assigned by | SAM.gov (GSA) | DLA CAGE (often via SAM.gov) |
| Main use | Identifying your entity for awards, reporting and SAM.gov records | Logistics, DoD systems and many contracting forms |
| Do you need it to be a prime? | Yes, as part of an active SAM.gov registration | Yes in practice; U.S. firms usually receive it with that registration |
A sources sought response, a capability statement and most proposals should list both. Our sources sought template has a place for them, and every company profile on AwardWatchdog shows the firm's UEI from public award data.
How to look yours up
- Sign in to SAM.gov and open your Entity Workspace. Your UEI and CAGE code appear on the entity record once registration (or a UEI-only request) is complete.
- Other people can search public SAM.gov entity records by legal name or UEI.
- If a notice asks for a CAGE and yours is still pending, check that your SAM.gov registration has finished validation. U.S. CAGE codes are typically issued after that step.
This guide is a summary, not legal advice. Use the official SAM.gov and DLA CAGE records as the source of truth.
What to put on a capability statement
List legal name, UEI, CAGE, physical address, point of contact, NAICS codes and size status. If a partner or contracting officer asks for only one ID, the UEI is the governmentwide identifier; include the CAGE as well when you have it, especially for DoD work.
Common mix-ups
- Using an old DUNS number. It is not a substitute for a UEI.
- Giving a CAGE when a form asks for a UEI, or the reverse. They are different lengths and come from different systems.
- Letting SAM.gov registration lapse. An expired registration can park both identifiers in a state agencies will not award to. Renew every 365 days.
- Paying a third party just to obtain a UEI. The official process on SAM.gov is free.
Why a notice lists both
Agencies pull vendor records from more than one system. SAM.gov keys off the UEI. Many DoD and logistics forms still key off CAGE. Putting both on your response avoids a bounced form or a "we could not find you" email.
When you have found a few good fits, keep the pipeline full: browse all 4,246 open notices, check what closes this week and watch the 1,867 contracts coming up for recompete.
Frequently asked questions
Is a UEI the same as a CAGE code?
No. The UEI is a 12-character identifier assigned in SAM.gov. The CAGE code is a five-character identifier assigned by the Defense Logistics Agency. Most U.S. registrants receive a CAGE code automatically during SAM.gov registration.
Can I bid on federal contracts with only a UEI?
A UEI alone is not enough to receive a prime award. To bid and be awarded as a prime contractor you need an active SAM.gov entity registration, which includes a UEI and, for most U.S. firms, a CAGE code.
Did the UEI replace the DUNS number?
Yes. On April 4, 2022 the Unique Entity ID assigned in SAM.gov replaced the DUNS number as the official governmentwide entity identifier.