CAGE Code and UEI Lookup

Find a federal vendor’s CAGE code and Unique Entity ID, or the vendor behind one

The identifiers at a glance

CAGE code
Five letters and digits Assigned by the Defense Logistics Agency, one for each location
NCAGE code
The CAGE code of an entity outside the U.S. Assigned by the country’s national codification bureau or by NATO
Unique Entity ID (UEI)
Twelve letters and digits Assigned by SAM.gov, one for each entity
DUNS number
Retired Nine digits from Dun & Bradstreet, replaced by the UEI

GovTribe lists each registered vendor’s UEI and CAGE codes from its SAM.gov registration.

What is a CAGE code?

A Commercial and Government Entity (CAGE) code is a five-character identifier for a company or organization at a specific location. The Defense Logistics Agency’s CAGE program assigns it, and federal agencies use it to identify a contractor at each of its facilities.

When a U.S. entity registers in SAM.gov for contracts, SAM.gov sends the registration to the Defense Logistics Agency, which assigns the CAGE code, so there’s nothing separate to apply for. Entities outside the U.S. need an NCAGE code, from their country’s national codification bureau or from the NATO Support and Procurement Agency, before they register for contracts. A company can hold a CAGE code for each of its locations.

What is a UEI?

The Unique Entity ID (UEI) is a 12-character identifier SAM.gov assigns to each entity that does business with the federal government. Contract awards, grants and subawards name their recipients by it.

The UEI replaced the DUNS number as the government-wide identifier on . An entity can get a UEI without registering in full, but it needs an active SAM.gov registration to bid on contracts or apply for federal assistance as a prime awardee.

CAGE code and UEI compared

Identifier Characters Assigned by Identifies
CAGE code 5 Defense Logistics Agency An entity at one location
UEI 12 SAM.gov An entity across the federal government

How they relate to SAM.gov registration

A SAM.gov registration lets an entity bid on federal contracts and apply for federal assistance, and it’s free. SAM.gov assigns the UEI when the entity registers or requests one, and the UEI doesn’t expire. A U.S. entity that registers for contracts gets its CAGE code through the same registration.

The registration itself must be renewed every 365 days to stay active. Each vendor’s GovTribe page shows whether its registration is active, and when it expires.

DUNS number lookup, now the UEI

Until , the federal government identified entities by the nine-digit DUNS number from Dun & Bradstreet. Since then it has used the UEI, and SAM.gov no longer lists DUNS numbers. Entities registered before the change were assigned a UEI automatically, and it’s on their SAM.gov registration.

To find the UEI for an old DUNS number, search the number above: GovTribe matches it to the vendor’s record from before the change and opens its page, with its UEI. USAspending.gov’s recipient profiles also search by legacy DUNS number, for companies that received federal awards.

Where to find a company’s CAGE code or UEI

Search the company’s name, CAGE code, UEI or DUNS number above. A code that belongs to one vendor opens its GovTribe page, which lists its UEI, CAGE codes, SAM.gov registration, primary NAICS code and federal awards.

The government’s own sources are SAM.gov’s entity search, which needs a free SAM.gov account, and the Defense Logistics Agency’s CAGE search. A company’s UEI also appears on each of its federal awards.

How to find your own CAGE code and UEI

Sign in to SAM.gov and open the Entities widget in your Workspace: your UEI is in the list, and your registration record shows your CAGE code. You need a role with your entity to see it there.

If your entity doesn’t have a CAGE code yet, register it in SAM.gov for contracts rather than only requesting a UEI: a UEI on its own comes without one.

Frequently asked questions

What is a CAGE code?

A CAGE (Commercial and Government Entity) code is a five-character identifier the Defense Logistics Agency assigns to a company or organization at a specific location. U.S. entities that register in SAM.gov for contracts are assigned one automatically.

How do I find a company’s CAGE code or UEI?

Search the company’s name in the lookup on this page: each registered vendor’s GovTribe page lists its UEI and CAGE codes from SAM.gov. SAM.gov’s entity search, with a free SAM.gov account, and DLA’s CAGE search list them too.

What is a UEI?

The Unique Entity ID (UEI) is a 12-character identifier SAM.gov assigns to each entity that does business with the federal government. It replaced the DUNS number on April 4, 2022.

Is a CAGE code the same as a UEI?

No. A UEI identifies an entity’s SAM.gov record across the federal government, while a CAGE code identifies an entity at one physical location. A company with several locations or subsidiaries can have several of each.

How do I find my own CAGE code and UEI?

Sign in to SAM.gov and open the Entities widget in your Workspace: your UEI is in the list, and your registration record shows your CAGE code. You need a role with your entity to see it there.

How do I get a CAGE code?

Register your entity in SAM.gov for contracts. SAM.gov sends the registration to the Defense Logistics Agency, which assigns the CAGE code, so there’s no separate application. Entities outside the U.S. need an NCAGE code before they register for contracts.

Can I look up a company by its DUNS number?

Yes, for companies registered before April 4, 2022: search the nine-digit DUNS number in the lookup on this page to open the vendor’s GovTribe page, with its UEI. SAM.gov no longer lists DUNS numbers.

Does it cost anything to get a CAGE code or UEI?

No. Getting a UEI, registering in SAM.gov and getting a CAGE code are all free.

Do UEIs and SAM.gov registrations expire?

A UEI doesn’t expire, but a SAM.gov registration must be renewed every 365 days to stay active. Each vendor’s GovTribe page shows whether its registration is active.

On GovTribe

Research any federal vendor

  • Every contract, IDV and grant award
  • Subcontracts and teaming partners
  • Contacts and SBA certifications
  • Ask GovTribe AI about a vendor