Federal Service Desk KB0037033 and KB0051214; FAR 52.204-7(a); DLA's CAGE FAQ.
The identifiers side by side
A SAM.gov registration carries several numbers, and each comes from a different place. The Unique Entity ID is SAM.gov's own; the CAGE code comes from the Defense Logistics Agency; a foreign entity's NCAGE code comes from NATO's system; the taxpayer number belongs to the IRS. The table sets them side by side, and each has its own section and page below.
| Identifier | Who issues it | Format | Does it end? | Where to look it up |
|---|---|---|---|---|
| Unique Entity ID (UEI) | SAM.gov, after entity validation (KB0037033) | 12 characters, letters and numbers | No; it survives an expired registration (KB0051214) | SAM.gov entity search (sign-in required); your Workspace; DLA's CAGE Search & Inquiry |
| EFT indicator | The entity itself, in SAM (FAR 52.204-7(a)) | 4 characters after the UEI | Not listed | The entity's SAM record |
| CAGE code | DLA's CAGE Program Office (DLA CAGE FAQ) | 5 characters, letters and numbers | Yes: 5 years from initial registration or last update, whichever is later (DLA CAGE FAQ) | DLA's CAGE Search & Inquiry; the SAM.gov entity record |
| NCAGE code | NATO's support agency (NSPA) or a national codification bureau (DLA CAGE FAQ) | 5 characters, letters and numbers | Expirations do not currently apply (DLA CAGE FAQ) | NATO's NCAGE tool; DLA's CAGE Search & Inquiry |
| Taxpayer Identification Number | Not a SAM.gov number; the IRS checks it against its records (KB0016540) | An EIN or an SSN (FAR overhaul 52.204-91) | Not listed | Never shown publicly in SAM.gov (KB0017554) |
The taxpayer number is the one that stays private: the public SAM.gov record does not show “your tax identification number (TIN), financial information, and email addresses.” (KB0017554). How the TIN, UEI, CAGE code and NAICS codes differ in purpose is on our page CAGE vs UEI vs EIN vs NAICS.
The Unique Entity ID
GSA's help desk defines it in one sentence: “A Unique Entity ID (UEI) is a 12-character (alpha-numeric) code used in SAM and other federal government systems as a way to identify a unique entity.” It adds that “UEIs are issued by SAM.gov and are a part of an entity's record in the Entity Information section of SAM.gov.” (KB0037033). The FAR's definition is broader and older: “Unique entity identifier means a number or other identifier used to identify a specific commercial, nonprofit, or Government entity.” (FAR 52.204-7(a)).
For grants, the UEI is the single identifier across the government. Part 25 of 2 CFR says “The unique entity identifier (UEI) is the universal identifier for Federal financial assistance applicants, as well as recipients and their direct subrecipients (first-tier subrecipients)” (2 CFR 25.100(a)).
Three facts matter most in practice. There is no UEI without validation: “you cannot obtain a Unique Entity ID (UEI) without going through entity validation”. The number lasts: “The Unique Entity ID does not expire.” (KB0051214). And it replaced the DUNS number, after OMB “directed federal agencies to complete their system transitions to the Unique Entity ID no later than April 4, 2022.” (KB0045975). Our UEI number page covers how to get one, with or without a full registration.
The CAGE code
The CAGE code is DLA's. “A CAGE code is a five-character alpha-numeric identifier assigned to entities located IN the United States and its territories.” No one else issues it: “The DLA CAGE Program Office is the only activity authorized for assignment or update of a CAGE code.” (DLA, CAGE FAQ).
Unlike the UEI, a CAGE code is tied to a place. The FAR overhaul's model text defines it as an identifier assigned by DLA's CAGE Branch “to identify a commercial or government entity by unique location” (FAR overhaul 52.204-91, a model deviation that agencies adopt one by one). So one company can hold one UEI and several CAGE codes, one for each physical location that needs one.
A U.S. registrant usually does nothing to get one. DLA explains that when you register in SAM, “During this process you will be assigned a new CAGE code if one doesn't already exist.” A CAGE code also has an end date, which the UEI does not: DLA's policy is that “every U.S. assigned CAGE code will expire 5 years from the initial registration date, or the date last updated by the registrant - whichever is later” (DLA, CAGE FAQ). Our CAGE code page covers assignment, addresses and expiration.
NCAGE codes for foreign entities
An entity outside the United States gets an NCAGE code instead. In DLA's words, “An NCAGE is a five-character alpha-numeric identifier assigned to entities located OUTSIDE of the U.S. and its territories.” NATO treats the two as one system: “They are the same; however, the US drops the N to call it a CAGE code” (NATO NCAGE FAQ).
The order is the reverse of a U.S. registration. GSA's checklist says a foreign entity “must go to the NCAGE Request Tool and request an NCAGE code before starting a SAM.gov registration”, using NATO's NCAGE request tool. NATO also limits each entity to one: “Entity can have only one active NCAGE code assigned.” And “Expirations DO NOT currently apply to NCAGE codes.” (DLA, CAGE FAQ). Our NCAGE code page has the timing and the name matching rule.
The EFT indicator
A fourth, smaller identifier rides on the UEI. The FAR defines the electronic funds transfer indicator as “a four-character suffix to the unique entity identifier”, set by the entity “to establish additional System for Award Management records for identifying alternative EFT accounts” (FAR 52.204-7(a)). DLA describes the same thing: “The EFT is an alpha-numeric four-character set that follows a twelve-character alpha-numeric UEI code.” An entity paid into more than one account uses it, and then enters it next to the UEI on its offers (FAR 52.204-7(b)(2)).
Which you get, and when
The UEI comes first in every case, because it is issued at validation, before the rest of the registration. GSA's checklist puts it plainly: “Your entity name and address will be validated by SAM.gov.” and “Once you receive your Unique Entity ID, you can continue the registration.” The CAGE step comes at the end: a U.S. entity without a code is told to select No and “one will be assigned to your entity after you submit your registration.”
Federal Service Desk KB0045979 and KB0037033; GSA entity checklist (Nov. 2024); DLA, SAM registration and CAGE code creation. Foreign entities get the NCAGE code before they start.
Not every registration gets a CAGE code. Since 2021, DLA says, “some SAM.gov registrations will no longer require a CAGE Code.” The criteria are a Financial Assistance Only purpose, a U.S. physical address and “certain Business Type(s) selected”, and “Individual registrants cannot elect to opt in or out of CAGE Code assignment/validation.” (DLA, CAGE news, Oct. 21, 2021). Which business types qualify is not listed on DLA's page.
GSA entity registration checklist (Nov. 2024); DLA CAGE news (Oct. 21, 2021); 2 CFR 25.300; Federal Service Desk KB0051214.
Where each number is used
On a contract offer, the UEI goes on the cover page. The provision requires “the annotation ‘Unique Entity Identifier’ followed by the unique entity identifier that identifies the Offeror's name and address exactly as stated in the offer” (FAR 52.204-7(b)(2)), and the contracting officer “Should use the unique entity identifier to verify SAM registration” (FAR 4.1103(a)(2)). The UEI, or the EFT indicator, also goes on the documents sent to the payment office (FAR 4.1103(d)).
The CAGE code has its own rule. Where a solicitation requires SAM registration or a UEI, “Offerors shall provide the contracting officer the CAGE code assigned to that offeror's location prior to the award of a contract action above the micro-purchase threshold” (FAR 4.1802(a)(1)). A missing number is not a reason to turn a bidder away at the start: DoD's guidance tells contracting staff to “Not deny a potential offeror a solicitation package because the offeror does not have a CAGE code, unique entity identifier, or TIN” (DFARS PGI 204.18).
On a grant, the applicant must “Include its UEI in each application it submits to the Federal agency.” (2 CFR 25.200(b)(3)). Grants.gov carries it over: the organization “will get a special ID number called a Unique Entity ID or UEI. This ID will automatically appear in your applications.” (Grants.gov). A pass-through entity needs the subrecipient's: “A recipient may not make a subaward to a subrecipient that has not obtained a UEI and provided it to the recipient.” (2 CFR 25.300(a)).
The UEI also appears where no one wants to see it. An exclusion record in SAM contains the excluded party's “Unique Entity Identifier;” among its listed fields (FAR 9.404(b)(6)), which is why a UEI is the cleanest key for a SAM exclusions check.
When a number changes
A UEI rarely changes, but when it does on a live contract, the contractor has a deadline. FAR 52.204-13 requires that “The Contractor shall communicate any change to the unique entity identifier to the Contracting Officer within 30 days after the change”, and adds that “A change in the unique entity identifier does not necessarily require a novation be accomplished.” (FAR 52.204-13(d)(3)). The FAR overhaul's part 4 model text extends the same 30 days to the CAGE code: “Contractors must communicate any change to their UEI or CAGE code to the contracting officer within 30 days after the change” (FAR overhaul 4.305(b), a model deviation; your agency's adoption decides whether it applies).
Duplicates are a separate problem. DLA's help page says: “If you have multiple Unique Entity IDs (UEIs) with the same legal business name and physical address but they are all tied to active awards or contracts, please contact the Federal Service Desk.” A name or address change, which goes back through validation and DLA's review, is covered on updating a registration.
Looking them up
Finding another entity's UEI on SAM.gov takes an account. GSA's help desk says “You must sign in to your SAM.gov account to search entities.” (KB0016414). Without signing in, SAM.gov's entity search shows only “Sign in to your SAM.gov account to search, download, save searches, and follow records.” The exclusions search still works without signing in.
DLA's CAGE Search & Inquiry takes a CAGE code or a UEI in its search box and shows both on each result, with no SAM.gov account. Our UEI lookup page walks through every route, including your own UEI in your Workspace and the bulk data files; CAGE code lookup covers DLA's search in detail.
Tools for this topic
Common questions
Is the UEI the same as the CAGE code?
No. The UEI is SAM.gov's 12-character identifier for the entity; the CAGE code is DLA's five-character code for the entity at a location. “The DLA CAGE Program Office is the only activity authorized for assignment or update of a CAGE code.” (DLA, CAGE FAQ).
Do I have to apply separately for a CAGE code?
Not if you are a U.S. entity registering in SAM.gov. GSA's checklist says to select No if you have none, and “one will be assigned to your entity after you submit your registration.” A foreign entity must get its NCAGE code first.
Does a UEI expire like a CAGE code?
No. “The Unique Entity ID does not expire.” (KB0051214). A U.S. CAGE code does: DLA's policy is five years from the initial registration or the last update, whichever is later.
What happened to my DUNS number?
“The Unique Entity ID has replaced the DUNS Number.” (KB0055138). OMB set April 4, 2022 as the deadline for agencies to finish the switch, and GSA assigned UEIs to existing registrations.
Can one company have more than one CAGE code?
Yes, in the United States: DLA assigns CAGE codes by physical location, so a company with several sites can hold several. NATO allows only one active NCAGE code per entity.
Sources
- Federal Service Desk articles: KB0037033 (what a UEI is), KB0051214 (UEI only versus registration), KB0045975 and KB0055138 (DUNS to UEI), KB0016414 (viewing a UEI), KB0017554 (public search)
- GSA, SAM.gov entity registration checklist (Nov. 2024); SAM.gov entity search and exclusions search
- FAR 52.204-7 (Nov. 2024), FAR 52.204-13, FAR subpart 4.11, FAR 4.1802 and FAR 9.404, acquisition.gov (FAC 2026-01); FAR overhaul model deviation texts for part 4 and part 52
- 2 CFR part 25 (2025 edition); DFARS PGI 204.18; Grants.gov applicant registration
- DLA: CAGE FAQ, CAGE news (Oct. 21, 2021 notice), trending topics; NATO: NCAGE help center FAQ