Every federal solicitation asks for two identifiers on the cover page: your 12-character UEI and your 5-character CAGE code. New contractors routinely stall because they think they have to apply to the Department of Defense separately, or worse, pay a third-party registration firm hundreds of dollars to obtain one.
You do not. A CAGE code is completely free, and for U.S.-based businesses it is assigned automatically as part of your SAM.gov registration. This guide explains what a CAGE code is, how the Defense Logistics Agency (DLA) validates it, how to look up any contractor's CAGE code, and how to avoid the validation errors that delay new registrations by weeks.
What Is a CAGE Code?
CAGE stands for Commercial and Government Entity. It is a unique five-character alphanumeric code assigned by the Defense Logistics Agency (DLA) Logistics Information Service to identify legal business entities and physical locations that do business with the U.S. federal government.
Originally built for the Department of Defense supply chain, the CAGE code is now required across federal civilian agencies as well. Under FAR 4.1802, commercial and government entity codes are used in federal acquisitions to track contractor identities, ownership structures, and contract award data.
Key rules of the CAGE code format:
- Length: Always 5 characters (letters and numbers, such as
1A2B3or8F9K2). - Location-specific: Each distinct physical address of a legal entity receives its own CAGE code. A headquarters in Austin and a separate warehouse in Denver can hold two different CAGE codes.
- Tied to your legal entity: Your CAGE code links your physical business address to your legal name, ownership data, and Unique Entity Identifier (UEI).
- Cost: Always $0 through official government systems.
CAGE Code vs. NCAGE Code
If your business is physically located in the United States or a U.S. territory, DLA assigns you a CAGE code during SAM.gov registration.
If your business is located outside the United States, you need an NCAGE (NATO Commercial and Government Entity) code instead. Unlike domestic CAGE codes, foreign entities must request an NCAGE code before registering in SAM.gov through the NATO Support and Procurement Agency (NSPA) NCAGE portal. Once issued, you enter that NCAGE code into your SAM.gov registration.
CAGE Code vs. UEI vs. EIN vs. DUNS
Contractors regularly confuse federal identifiers because older solicitations and forms still reference legacy terms. This table maps what each identifier actually does in 2026:
| Identifier | Issued by | Format | Primary purpose | Required for federal contracts? |
|---|---|---|---|---|
| CAGE Code | Defense Logistics Agency (DLA) | 5 alphanumeric characters | Identifies a contractor's legal entity and physical facility for federal awards and DoD logistics | Yes (for full SAM.gov contract registration) |
| UEI | SAM.gov | 12 alphanumeric characters | Primary federal entity identifier across contracts, grants, and reporting (replaced DUNS in April 2022) | Yes (for all federal awards and grants) |
| EIN / TIN | Internal Revenue Service (IRS) | 9 digits (XX-XXXXXXX) | Federal tax identification and payment routing | Yes (for business tax reporting and SAM.gov) |
| DUNS Number | Dun & Bradstreet | 9 digits | Commercial credit tracking; retired for federal procurement on April 4, 2022 | No (commercial use only) |
| NAICS Code | U.S. Census Bureau / OMB | 6 digits | Classifies your industry and determines SBA small-business size standards | Yes (required in SAM.gov and on bids) |
You will put your UEI, CAGE code, and primary NAICS codes together in the Company Data box of your capability statement so contracting officers can verify your active registration in seconds.
How to Get a CAGE Code (Step by Step)
For U.S.-based businesses, you do not submit a separate CAGE application. Instead, SAM.gov sends your registration data directly to DLA after IRS Tax Identification Number (TIN) validation.
Step 1: Gather Your Business Records
Before starting on SAM.gov, make sure every document uses your exact legal business name and physical street address (no P.O. boxes):
- Legal business name and DBA (if applicable), matching your IRS CP-575 or Letter 147C exactly.
- Employer Identification Number (EIN) from the IRS.
- Physical street address (virtual mailbox addresses and P.O. boxes frequently trigger DLA CAGE rejection).
- Banking routing and account numbers for Electronic Funds Transfer (EFT).
- Primary and secondary 6-digit NAICS codes.
- Immediate owner and highest-level owner information (if another entity owns or controls your business, required under FAR 52.204-17).
Step 2: Register Your Entity on SAM.gov
- Create a Login.gov account and sign in to SAM.gov.
- Choose Register Entity and select "All Awards" (not "Financial Assistance Awards Only", since grants-only registrations do not receive a CAGE code).
- Complete Entity Validation to receive your 12-character UEI.
- Enter Core Data, Assertions (NAICS codes and size metrics), Representations & Certifications, and Points of Contact.
- Submit the registration.
Step 3: Pass IRS TIN and DLA CAGE Validation
Once submitted, SAM.gov validates your EIN with the IRS and then transmits your entity record to DLA CAGE. If you do not already have a CAGE code for that legal entity and physical address, DLA creates one and returns it to SAM.gov automatically.
Step 4: Respond Promptly If DLA Emails You
If DLA's automated review flags a question, such as a home-based address, a shared office suite, or an ownership mismatch, a DLA CAGE analyst will email the Government Business Point of Contact listed in your SAM.gov record.
Critical rule: DLA typically gives you 3 business days to reply to a validation inquiry. If you miss that email (check spam folders for messages from @dla.mil), DLA rejects the CAGE request and resets your SAM.gov submission to draft.
How Long Does It Take to Get a CAGE Code?
SAM.gov says a submitted entity registration can take up to 10 business days to become active, with longer timelines when entity validation or CAGE corrections are required. If you already hold a valid CAGE code from an earlier registration, DLA validates the match instead of issuing a new number.
How to Do a CAGE Code Lookup (Free)
You can look up your own CAGE code, or verify a prime contractor, teaming partner, or competitor, using two official government databases at no cost:
Method 1: DLA CAGE Search (Official Source)
- Go to the DLA CAGE Program Search.
- Search by 5-character CAGE code, legal business name, city/state, or UEI.
- Open the record to confirm the entity's CAGE status (
A= Active), physical address, and immediate/highest-level owner relationships.
Method 2: SAM.gov Entity Search
- Go to SAM.gov Entity Information Search.
- Enter the 5-character CAGE code, 12-character UEI, or business name in the search bar.
- Filter by Status: Active to confirm the vendor is currently eligible for federal awards and has no active exclusions (debarment or suspension).
For larger federal contractors, you can also check historical contract awards, top buying agencies, and NAICS footprints in our Public Spend federal contract explorer.
Common CAGE Validation Errors (and How to Fix Them)
Most CAGE delays come from four preventable mistakes:
- Using a P.O. box or UPS Store address as your physical address. DLA requires a physical street address where business operations occur. If you operate from a home office, use your residential street address (you can still list a separate mailing address).
- Name mismatch between IRS, state filing, and SAM.gov. Even small variations, such as
LLCvs.L.L.C.or a missing comma, can stall IRS TIN or CAGE validation. Match your IRS EIN confirmation letter character for character. - Selecting "Financial Assistance Only" instead of "All Awards." Entities registered only for federal grants receive a UEI without a CAGE code. To bid on federal contracts, update your purpose of registration in SAM.gov to All Awards.
- Missing the DLA verification email. Add
dla.milto your email allowlist as soon as you submit SAM.gov. If DLA asks for proof of business location (such as a utility bill, lease, or state articles of organization), reply within 24 hours.
Do CAGE Codes Expire?
A CAGE code itself does not disappear once assigned, but it becomes inactive if your SAM.gov registration lapses. Because federal contractors must renew their SAM.gov registration every 365 days, letting SAM.gov expire makes your business ineligible for new federal contract awards and can disrupt invoicing on existing contracts.
If you change your legal business name, move to a new physical address, or change ownership, update your entity record in SAM.gov right away so DLA updates your CAGE record. Changing a physical address can result in a new CAGE code or an address modification depending on your entity structure.
What to Do After You Get Your CAGE Code
Having an active UEI and CAGE code makes you eligible to bid, but it does not bring contracts to your inbox. Next steps once SAM.gov shows Active:
- Build a one-page capability statement featuring your UEI, CAGE code, NAICS codes, and past performance using our free capability statement template.
- Verify your SBA Small Business Search profile (formerly DSBS) so contracting officers doing market research can find your company.
- Check whether you qualify for a small-business set-aside like 8(a), SDVOSB, WOSB, or HUBZone in our small business certifications comparison.
- Start targeting realistic first bids using our step-by-step guide on what to do after SAM.gov registration and how to win government contracts.
Frequently Asked Questions
How much does a CAGE code cost?
A CAGE code is 100% free. The Defense Logistics Agency assigns it automatically at no charge when a U.S. business completes an "All Awards" entity registration on SAM.gov. You never need to pay a third party to obtain or renew a CAGE code.
Can I get a CAGE code without registering on SAM.gov?
For U.S. businesses pursuing federal contracts, SAM.gov is the standard and required path to receive a CAGE code. In limited situations (such as non-federal subcontractors or entities needing only a CAGE code without federal awards), DLA accepts standalone requests through the DLA CAGE portal, but you will still need full SAM.gov registration to win federal prime contracts.
Is a CAGE code the same as a UEI number?
No. A UEI (Unique Entity Identifier) is a 12-character code issued by SAM.gov that replaced the DUNS number in April 2022 as the primary federal entity ID. A CAGE code is a 5-character code issued by the Defense Logistics Agency that identifies your legal entity and physical location. Federal prime contractors need both.
How do I look up my company's CAGE code?
Search your legal business name or 12-character UEI in the free DLA CAGE Search or in SAM.gov Entity Information Search. Both tools display your 5-character CAGE code and confirm whether your registration status is active.
How long does it take to get a CAGE code?
SAM.gov states that a submitted entity registration can take up to 10 business days to become active, which includes IRS TIN validation and DLA CAGE assignment. If DLA sends a validation inquiry email or detects an address mismatch, processing takes longer until you respond and resolve it.

