A CAGE code and a Unique Entity ID (UEI) are the two identifiers a company needs to bid on federal contracts, and the two a buyer or prime contractor can use to check a supplier. For a US company, both come from one free registration in SAM.gov.
- CAGE code: a five-character identifier that the Defense Logistics Agency assigns to an entity at a specific location.
- UEI: a 12-character identifier that SAM.gov issues to identify an entity in SAM.gov and other federal systems.
What a CAGE code is
A Commercial and Government Entity (CAGE) code is a five-character identifier assigned by the Defense Logistics Agency (DLA). Under FAR 2.101, DLA’s CAGE Branch assigns it to identify a commercial or government entity by unique location. The Federal Service Desk, the help desk for SAM.gov, says the code is used extensively within the federal government, including for facility security clearances and pre-award surveys, and that there’s no cost to get one.
You need one when you register in SAM.gov for all awards, the purpose that lets you bid on contracts, or when you seek financial assistance from the Department of Defense. A registration for other financial assistance only doesn’t need one.
What a UEI is
The Unique Entity ID is a 12-character alphanumeric code that SAM.gov issues to identify a unique entity, in SAM.gov and in other federal award and financial systems.
It replaced the DUNS number. GSA set April 4, 2022 as the date the UEI became the authoritative identifier, and the change didn’t affect CAGE codes. A company registered in SAM.gov before then, even if the registration has since expired, already has a UEI. The UEI itself doesn’t expire. The registration around it does.
CAGE code vs UEI
| CAGE code | UEI | |
|---|---|---|
| Issued by | DLA’s CAGE program for US entities; for an NCAGE code, a NATO member country or the NATO Support and Procurement Agency | SAM.gov |
| Format | Five characters | Twelve characters, letters and numbers |
| What it identifies | An entity at a specific location | A unique entity |
| Where it’s used | Systems across the federal government, SAM.gov registrations for contracts, facility security clearances and pre-award surveys | SAM.gov and other federal award and financial systems, and on the cover page of an offer where FAR 52.204-7 applies |
| How to find it | CAGE Search and Inquiry at cage.dla.mil, or SAM.gov entity search | SAM.gov entity search (sign-in required), or your own SAM.gov Workspace |
How to get a UEI
SAM.gov offers two paths, and the difference matters:
- Register the entity. A registration lets you bid on contracts as a prime contractor and apply for federal assistance. SAM.gov assigns the UEI as part of it.
- Get a UEI only. This suits entities that don’t apply for awards directly, such as subawardees. With a UEI only, you can’t bid as a prime contractor.
To bid, you need the full registration. FAR 4.1102(a) requires offerors and quoters to be registered in SAM when they submit an offer or quotation, with listed exceptions, and FAR 52.204-7 adds the time of award. Its definition of “registered” goes beyond a UEI: the registration sections completed, the mandatory data validated, including the taxpayer identification number with the IRS, and the record marked “Active”. The FAR itself is being rewritten, and the overhaul’s Part 4 carries the registration rule at 4.203-1(b). Check the solicitation, and ask its contracting officer if anything is unclear.
The steps:
- Sign in to SAM.gov. Accounts are free, and Login.gov manages the username and password.
- Select Get Started, then choose Register Entity or Get a Unique Entity ID.
- Answer the questions about your goal and your entity. To bid on contracts, choose the all awards purpose.
- Enter your legal business name and physical address. SAM.gov validates them and may ask for documents that prove them.
- Choose whether your record appears in public search results.
- Receive the UEI. If you’re registering, continue to the remaining sections.
A full registration then asks for core data, assertions, representations and certifications, and points of contact. After you submit, it goes through IRS checks of your taxpayer identification number and, where it applies, CAGE validation. The checklist on the SAM.gov entity registration page says to allow at least ten business days for a registration to become active, so start well before the bid you’re aiming at.
How to get a CAGE code
US entities
There’s no separate application. When the SAM.gov registration asks whether you have a CAGE code, a US entity without one answers no. After you submit, SAM.gov sends your entity information to DLA, DLA assigns the code, and SAM.gov applies it to your registration. If you already have a code, enter it, and DLA updates the record instead.
If DLA needs more information, it emails your Government Business point of contact, so watch that inbox, including spam, while the registration is in review.
Entities outside the US: NCAGE codes
An entity located outside the United States and its territories gets a NATO Commercial and Government Entity (NCAGE) code. Under FAR 2.101, a NATO member country or the NATO Support and Procurement Agency assigns it, and DLA’s CAGE Branch records it in the CAGE master file.
To bid, the order is reversed: get the NCAGE code first, then start the SAM.gov registration and enter the code in the Core Data section. NCAGE assignments are part of the NATO Codification System, and the Federal Service Desk article links the request tool. DLA’s CAGE code page has a video on how to obtain one.
CAGE code lookup, step by step
DLA’s public CAGE website includes a search called CAGE Search and Inquiry. Use it to check your own record or a supplier’s.
- Go to cage.dla.mil, the CAGE program’s public site.
- The site first shows its terms for using a US Government information system. Read them and select I Agree to continue.
- Select Search & Inquiry.
- Search for the CAGE code or the entity.
- Open the record and check that it matches the company you’re dealing with.
SAM.gov’s entity search also accepts a CAGE code. If your own CAGE record is out of date and you’re registered in SAM.gov, correct the details in your registration; the update goes through validation and CAGE verification again.
UEI lookup, step by step
If you have a role with your entity, its UEI is in your SAM.gov Workspace. To look up another entity:
- Sign in to SAM.gov. Signed out, the entity search asks you to sign in before it shows registrations.
- Select Search, choose the Entity Information domain, then Entities. The Entity Information page is a starting point.
- Under Entity Status, tick every status, such as Active, Inactive and ID Assigned, so the results aren’t limited to active registrations.
- Enter the UEI, CAGE code or legal business name, with any punctuation, in the keyword box.
- Open the result to see the registration details.
Two limits apply. Publicly viewable records show the entity’s status, legal business name and physical address. And an entity can restrict public display, leaving its record visible only to federal users and users with a role at that entity, so a missing result doesn’t prove a company has no UEI. Ask the supplier instead: GSA’s guidance tells prime awardees to request a subawardee’s UEI from the subawardee, because you can’t request one for it.
SAM.gov also holds exclusion records, which identify parties excluded from federal contracts, certain subcontracts and certain federal assistance. A prime checking a subcontractor can search those in the same area.
Keep the registration active and the details consistent
SAM.gov says you must renew your registration every 365 days to keep it active. The clause at FAR 52.204-13 requires a contractor to stay registered through final payment and, to remain registered, to review and update its SAM information on an annual basis. DLA calls it best practice to start the renewal and validation process 45 days before the expiration date.
If a registration lapses, the UEI stays the same, but the status becomes inactive and no awards or payments can be processed until it’s active again.
Consistent details matter as much as the date:
- Legal business name. Use the name exactly as it appears on your formation documents, tax returns or banking documents. A “doing business as” name must be registered with your state and linked to the legal name in SAM.gov.
- Physical address. It’s where the principals conduct business and keep the books and records, which can be a home office. PO boxes, mailbox rentals, virtual addresses and hired registered agent addresses aren’t accepted.
- The same details on every bid. Under FAR 52.204-7, the offeror puts its UEI on the cover page of the offer, and the UEI must identify the name and address exactly as stated in the offer. Under FAR 4.1103, the contracting officer verifies SAM registration and should use the UEI to do it. Copy the legal name, address, UEI and CAGE code from SAM.gov into every bid and capability statement.
- Changes between renewals. DLA’s registration guide says to update SAM.gov immediately when company details change. A name or address change goes through validation again.
- Points of contact. Keep them current. Other government systems use them, and updating contacts alone doesn’t renew the registration.
Common problems
- Name or address mismatch. Validation documents get rejected when the name or address on them differs from what was entered, when a recurring document such as a bank statement is too old, or when the address is a PO box or mail service. Include at least one current document showing both the exact legal name and the physical address.
- Failed TIN or CAGE validation. SAM.gov emails instructions, and you may need to correct your details with the IRS or the CAGE program before resubmitting.
- Expired registration. Awards and payments stop until you renew, so track the date with time to spare.
- Paid registration offers and impostors. SAM.gov states there’s no charge to get a UEI, register an entity or maintain a registration, and the Federal Service Desk says no government staff will call or message you asking for money to be eligible for an award. Paying a third party to handle registration is optional. Government email generally comes from .gov or .mil domains, so check the sender’s actual address.
Free help is available from the Federal Service Desk and from APEX Accelerators, which SAM.gov lists as an official government contracting assistance resource for small businesses.
Where to go next
- Build a one-page company profile with the capability statement template, which has a data block for your UEI, CAGE code and NAICS codes.
- Find open work on the federal IT RFP radar, a daily list of active IT and cybersecurity opportunities from SAM.gov.
- Answer market research notices with the sources sought response template.
- If you’ll bid on Department of Defense contracts, track the CMMC Level 1 and Level 2 requirements with the CMMC compliance checklist.
Frequently asked questions
What is a CAGE code?
A CAGE code is a five-character identifier that the Defense Logistics Agency assigns to identify an entity at a specific location. Federal agencies use it across their systems, and a SAM.gov registration to bid on contracts needs one. Entities outside the US use an NCAGE code instead.
How do you get a CAGE code?
A US entity gets one by registering in SAM.gov: answer no when asked whether you have a CAGE code, and DLA assigns one after you submit. There’s no cost and no separate application. Entities outside the US must get an NCAGE code before they start the SAM.gov registration.
How do you look up a CAGE code?
Use CAGE Search and Inquiry on DLA’s public CAGE website, cage.dla.mil, after agreeing to its terms of use. A signed-in SAM.gov user can also search entity records by CAGE code, UEI or legal business name.
What is a UEI number?
The Unique Entity ID is a 12-character alphanumeric code that SAM.gov issues to identify an entity in federal award systems. It replaced the DUNS number on April 4, 2022. The UEI doesn’t expire, but the SAM.gov registration it belongs to must be renewed every 365 days.
Is SAM.gov registration free?
Yes. SAM.gov states there’s no charge to get a UEI, register an entity or maintain a registration, and help from the Federal Service Desk is free. Some companies choose to pay a third party to handle registration, but that’s optional. Be wary of anyone who asks for money to register, renew or be eligible for an award.