If you are getting set up to work on federal construction, two identifiers show up again and again: the Unique Entity ID (UEI) and the CAGE code. They look similar, they both live in your SAM.gov record, and solicitations often ask for both. But they come from different places and do different jobs.
The short answer: the UEI is the 12-character alphanumeric identifier SAM.gov generates to identify your entity across federal award and financial systems. The CAGE code is assigned by the Defense Logistics Agency (DLA) CAGE Branch to identify your entity at a specific location. If you register in SAM.gov to bid on contracts, you end up with both.
What is a Unique Entity ID (UEI)?
The Unique Entity ID (SAM) is the government's authoritative identifier for a business or organization. According to GSA, on April 4, 2022, the federal government stopped using the D-U-N-S Number from Dun & Bradstreet and made the UEI, generated by SAM.gov, the official identifier used "within SAM.gov and other government award and financial systems." GSA describes it as a 12-character alphanumeric value that is managed, granted, and owned by the government.
A few practical points about the UEI:
- It is assigned during registration. SAM.gov says that if you choose to register your entity, "your Unique Entity ID will be assigned during the registration process."
- You can get one without registering. SAM.gov lets an entity request a UEI only. For that, you only need to provide your legal business name and physical address. The checklist notes that a post office box can't be used as the physical address.
- A UEI alone doesn't let you bid. SAM.gov is clear: "If you choose to only get a Unique Entity ID, you cannot apply directly for federal awards."
For reference, TTH's UEI is PGAKZ6D2HM46. Primes, agencies, and partners use a UEI like this to look up an entity's record and confirm they have the right company.
What is a CAGE code?
CAGE stands for Commercial and Government Entity. DLA describes a CAGE code as "a unique identifier assigned to suppliers to various government or defense agencies," and says CAGE codes provide "a standardized method of identifying a given facility at a specific location."
FAR 52.204-16 defines it the same way: an identifier assigned to entities in the United States or its outlying areas by the DLA CAGE Branch "to identify a commercial or government entity by unique location." Entities outside the United States get a NATO CAGE (NCAGE) code instead, through their country's codification bureau or the NATO Support and Procurement Agency.
The key idea is location. The UEI identifies the entity. The CAGE code ties that entity to a name and location address. That is why FAR 52.204-16 says the CAGE code you submit "must be for that name and location address."
How do you get each one?
Getting a UEI
Create a SAM.gov account (sign-in is handled through Login.gov), select Get Started, and choose either Register Entity or Get a Unique Entity ID. Registering gives you a UEI as part of the process. Choosing the UEI-only option gives you just the identifier.
Getting a CAGE code
For most U.S. businesses, you don't apply for a CAGE code separately. FAR 52.204-16 says that if an offeror in the United States "does not already have a CAGE code assigned, the DLA Commercial and Government Entity (CAGE) Branch will assign a CAGE code as a part of the SAM registration process." The SAM.gov Entity Registration Checklist puts it simply: if you don't have a CAGE code, select "No" and one will be assigned to your entity after you submit your registration.
If a procurement doesn't require SAM registration and you don't otherwise register, FAR 52.204-16 says a U.S. offeror can request a CAGE code directly at cage.dla.mil.
Where each one shows up in federal contracting
In your SAM registration
FAR 52.204-7 defines what it means to be "registered" in SAM. Among other things, the offeror must have entered all mandatory information, "including the unique entity identifier... [and] the Commercial and Government Entity (CAGE) code," completed the required sections, passed government validation (including a TIN check with the IRS), and had the record marked Active. In other words, a full registration ties the two identifiers together.
FAR 4.1102 requires offerors and quoters to be registered in SAM when they submit an offer or quotation, with limited exceptions. FAR 52.204-7 adds that you must be registered both at submission and at the time of award.
In your proposal or quote
When a solicitation includes FAR 52.204-16, you must provide your CAGE code with your offer, along with your name and location address, or include it prominently in your proposal. The provision says to insert the word "CAGE" before the number, and that the CAGE code is required before award. It also says: "Do not delay submission of the offer pending receipt of a CAGE code."
For subcontractors
Not every company on a federal job needs a full SAM registration. SAM.gov says that if you only conduct certain types of transactions, "such as reporting as a sub-awardee, you may not need to complete a registration," and may only need a UEI. Requirements can vary by contract, though. For example, FAR 52.204-16 says that when a contract includes the Security Requirements clause, a subcontractor that needs access to classified information must be identified with a CAGE code on the DD Form 254.
UEI vs. CAGE code at a glance
| Unique Entity ID (UEI) | CAGE code | |
|---|---|---|
| Who assigns it | SAM.gov (GSA's System for Award Management) | DLA CAGE Branch |
| What it identifies | The entity | The entity at a specific location |
| Format | 12-character alphanumeric | Code recorded in the CAGE master file |
| How U.S. firms get it | Assigned at registration, or requested on its own | Assigned during SAM registration if you don't have one |
| Needed to bid as a prime | Yes, with an active registration | Yes, when FAR 52.204-16 is in the solicitation |
Keep your registration current
SAM.gov says you must renew your registration every 365 days to keep it active, and you can update it at any time. If your business moves or changes its legal name, update SAM so the name and address tied to your UEI and CAGE code stay accurate.
SAM.gov also lets you choose whether your entity record appears in public search. Public records show your registration status, legal business name, and physical address. If you restrict public viewing, the checklist notes that other non-federal entities, including primes looking for partners, may not be able to find you.
Ready to work with TTH?
TTH is a federal general contractor headquartered in the Dallas-Fort Worth area and supports federal projects nationwide. We work under NAICS 236220 and related specialty and facility-services codes, and we value clear communication and integrity with every partner.
If you are a subcontractor or supplier, have your UEI (and CAGE code, if you have one) handy and join TTH's vendor and subcontractor list through Partner With Us. It's the simplest way to be considered when we put together a team for upcoming federal work.
Frequently asked questions
What is the difference between a UEI and a CAGE code?
The Unique Entity ID (UEI) is the 12-character alphanumeric identifier SAM.gov generates to identify an entity across federal award and financial systems. A CAGE code is an identifier assigned by the Defense Logistics Agency's CAGE Branch to identify a commercial or government entity by unique location. A full SAM.gov registration includes both.
How do I get a CAGE code?
If your entity is in the United States or its outlying areas and does not already have a CAGE code, the DLA CAGE Branch assigns one as part of the SAM.gov registration process. In SAM.gov you answer 'No' to having a CAGE code, and one is assigned after you submit. If you are not registering in SAM, FAR 52.204-16 says you can request one at cage.dla.mil.
Does a subcontractor need a UEI?
SAM.gov says entities that only conduct certain transactions, such as reporting as a sub-awardee, may not need a full registration and may need only a Unique Entity ID. Getting a UEI only requires a legal business name and physical address, but an entity with only a UEI cannot apply directly for federal awards.
Did the UEI replace the DUNS Number?
Yes. On April 4, 2022, the federal government stopped using the D-U-N-S Number and made the Unique Entity ID (SAM), generated by SAM.gov, the authoritative entity identifier. GSA stated at the time that CAGE codes were not affected by the transition.
Do I put my CAGE code on a federal proposal?
When a solicitation includes FAR 52.204-16, the offeror must provide its CAGE code with its offer, along with its name and location address, and insert the word 'CAGE' before the number. The CAGE code is required before award, but the provision says not to delay submitting an offer while waiting for one.
How long does a SAM.gov registration last?
SAM.gov says you must renew your entity registration every 365 days to keep it active. You can update the registration at any time or during renewal, and an entity that is already registered already has a Unique Entity ID.
Sources
- SAM.gov: Get Started with Registration and the Unique Entity ID
- SAM.gov: Entity Registration Checklist
- GSA: Transition from the DUNS Number to the Unique Entity ID (SAM) fact sheet
- GSA: IAE Stakeholder Forum, March 23, 2022 (Unique Entity ID overview)
- Defense Logistics Agency: CAGE Code, Commercial and Government Entity Code
- Acquisition.gov: FAR 52.204-16, Commercial and Government Entity Code Reporting
- Acquisition.gov: FAR 52.204-7, System for Award Management
- Acquisition.gov: FAR 4.1102, Policy (SAM registration)