🦅 Love GovDirections? Get paid to share it — earn a 30% recurring commission as an Affiliate or Influencer Partner. Become a Partner →
Register Log in
LOG IN

🦅 What are UEI and CAGE codes?

They are the two IDs the government uses to identify your business. Federal agencies need them before they can award you a contract, and many state and local buyers ask for them too.

Unique Entity ID
UEI
12 letters & numbers

Your business’s official ID across the federal government. It replaced the DUNS number in 2022 and is issued free through SAM.gov.

Commercial and Government Entity
CAGE code
5 letters & numbers

Identifies your business location. It is assigned automatically when you complete a full SAM.gov registration, and defense buyers rely on it heavily.

Why they matter

How to get them

  1. Gather your details: legal business name and address exactly as the IRS has them, your EIN, and your bank account for payments.
  2. Create a Login.gov account and sign in to SAM.gov.
  3. Get your UEI, then complete the full “entity registration” to bid on contracts.
  4. Wait for activation. SAM.gov validates your information; your CAGE code is assigned as part of this.
  5. Renew every year. Registration expires after 365 days, and an expired registration can cost you an award.
SAM.gov registration is always free. Be careful with companies that email you demanding a fee to “register” or “renew” you. They are not the government.

Want help getting registered?

Book a free session to talk through our technical assistance package. We help you apply for your UEI and CAGE code, or update a registration you already have.

Book a session →

Already have your codes? Add them to your account →