UEI Number: What It Is and Why You Need It
A UEI number (Unique Entity Identifier) is a 12-character alphanumeric code assigned by the federal government to identify your business entity in SAM.gov, the System for Award Management. It replaced the DUNS number as the official federal contractor identifier in April 2022. If you're bidding on federal contracts, applying for grants, or doing any business with a federal agency, you need a UEI number registered on SAM.gov to be eligible.
Why You Need a UEI Number
Your UEI number is the foundation of your federal contracting identity. Federal agencies use it to:
- Verify your company exists and is registered to bid
- Track your past performance on contracts
- Check for debarment or suspension status
- Match your bids to the correct legal entity
- Cross-reference you in databases used by Congress, inspectors general, and watchdog organizations
Without a UEI number, your bids will be rejected. It's not optional. Even if you're a sole proprietor or LLC bidding on a single contract, SAM.gov registration (which generates your UEI) is mandatory the moment you submit a proposal to a federal buyer.
UEI vs. DUNS vs. CAGE vs. Other Identifiers
Federal contractors juggle multiple numbers, and they're not interchangeable. Here's what each one is and what it does.
UEI (Unique Entity Identifier)
The 12-character SAM.gov identifier. Current and required. Generated automatically when you register on SAM.gov.
DUNS Number
The older nine-digit Data Universal Numbering System code issued by Dun & Bradstreet. Retired for federal contracting as of April 2022, though you may encounter it in legacy systems or with older subcontractors. SAM.gov cross-references your DUNS to your UEI, but they are not the same.
CAGE Code
The five-character Commercial and Government Entity code assigned by SAM.gov. It identifies your physical location and legal status (small business, women-owned, etc.). You have one CAGE code per business address. Many contractors have multiple CAGE codes if they operate from multiple locations; each location gets its own code. Your UEI remains the same across all locations.
EIN (Employer Identification Number)
Your tax ID issued by the IRS. Completely separate from your UEI; agencies use it for tax withholding and reporting. You need both.
DDIR (Defense Counterintelligence and Security Agency Identifier)
Used specifically in Department of Defense contracting. Not the same as UEI but linked during registration if you pursue DoD work.
The mistake many contractors make is confusing these identifiers or thinking one replaces another. They don't. SAM.gov requires your UEI, but agencies may ask for your CAGE code, EIN, or DUNS number for different purposes.
What a UEI Number Looks Like
A UEI number is 12 characters, all alphanumeric (letters and numbers only), with no hyphens or spaces. Examples of the format:
- Q5T4NW7P2J9L
- 8ZK3M6V1X4RQ
- Y7B2D9F4L1GH
There is no pattern you can decode yourself. You cannot generate one, predict one, or guess one. The number is unique to your legal entity and assigned only by SAM.gov during registration. If you see a UEI written with hyphens (like Q5T4-NW7P-2J9L) in a document, that's a transcription format, not the actual UEI; the official version has no punctuation.
How to Register and Get Your UEI
Your UEI is generated when you register on SAM.gov. You do not request it separately. Here's the step-by-step process:
- Visit sam.gov: Go to System for Award Management (SAM.gov). Do not use a bookmark or old link; type it fresh into your browser to avoid phishing sites.
- Verify your entity information: You'll need your EIN, legal business name, and business address. These must match your tax documents and state business registration.
- Register as a contractor: Choose "Register as an Individual" or "Register as an Organization." Sole proprietors register as individuals; LLCs, C-corps, S-corps, nonprofits, and other legal structures register as organizations.
- Complete core SAM data: Enter your business address, phone, email, and type of business (you'll need your NAICS code). SAM uses this information to verify you against IRS and state records.
- Confirm your email: SAM.gov sends a confirmation email within minutes. Click the link within 24 hours or your registration expires and you must start over.
- Wait for processing: SAM processes registrations typically within 1–3 business days on average, though processing times vary. During this period, your UEI is generated and your CAGE code(s) are assigned.
- Find your UEI in your profile: Once activated, your UEI is displayed in your SAM.gov dashboard under "Entity Information."
The registration itself is free. No fees are charged to register or maintain your SAM account.
Common Mistakes to Avoid
Submitting a bid with an inactive SAM registration: Many contractors register on SAM then forget to renew annually. SAM registrations expire after one year. If your registration is expired when you submit a bid, you'll be ineligible. Set a calendar reminder for your renewal date at least 30 days before expiration.
Registering under the wrong legal entity: If you operate as an LLC but register as a sole proprietor, SAM assigns you one UEI. If you later correct your structure, SAM treats it as a different entity and issues a new UEI. Bids submitted under the old UEI won't transfer. Register with the exact legal structure under which you will sign contracts.
Mismatching your legal name: If you're registered as "Example LLC" but bid under "Example, LLC" or "Example Consulting LLC," federal systems may flag you as two different contractors. Use your name exactly as it appears in your state business registration and SAM account.
Confusing your UEI with your CAGE code: Contractors often ask "which is my UEI" and forget they have one of each. Your UEI is 12 characters and identifies your overall entity. Your CAGE code is five characters and identifies your location. Both are required and assigned by SAM.
Not checking for a past UEI before registering fresh: If your business was previously registered on SAM or under a DUNS number, that entity may already exist in SAM's records. Opening a new SAM account instead of retrieving your old one means two UEIs for the same business, creating confusion and potential disqualifications. Search SAM first to see if your company appears.
Edge Cases
Multiple business addresses: If you have headquarters and satellite offices, you'll need a separate CAGE code for each. Your UEI stays the same (it identifies the legal entity), but each CAGE represents a physical location where work might be performed.
Subsidiaries and parent companies: Each separate legal entity gets its own UEI, even if one owns the other. If you're a subsidiary of a larger corporation, you can't use the parent's UEI; you must register separately on SAM.gov.
Name changes and mergers: If you legally change your business name, go back to SAM and update it. SAM flags mergers and acquisitions; don't create a new account. Contact SAM support or your agency contracting office to update your information.
Nonprofit and government entities: Nonprofits, universities, tribal organizations, and state or local government agencies all get UEI numbers. The process is the same, though some form fields are tailored for their entity type.
Inactive businesses: If you're registered but haven't bid in years, your SAM registration may show as "inactive." You'll need to reactivate it or re-register. Reactivation is faster than a fresh start if your information hasn't changed.
Next Steps
Once you have your UEI, make sure your SAM registration includes accurate NAICS codes for your industry. This ensures you're notified of relevant federal opportunities. For deeper guidance on SAM registration processes and finding your NAICS code, see our related articles on those topics.
Related guides
- SAM.gov Registration: What Stalls It, and How Long Does It Take?
- How to Find Your NAICS Code (and What the Wrong One Costs)
- CAGE Code Lookup on SAM.gov: Where Is Yours, and Is It Active?
Questions people ask
Do I need a UEI number if I'm not bidding on contracts?
Only if you're pursuing federal contracts or grants. If you're applying for a federal grant, participating in a federal program, or submitting any proposal to a government agency, you need SAM.gov registration and a UEI. If you do zero business with the federal government, you don't need one.
Can I look up another company's UEI number?
Yes, SAM.gov's public search lets you find any contractor's UEI, CAGE code, or business name. Federal agencies use this to verify registrations before awarding contracts. Most contractor information is publicly available unless the business has restricted its listing for security reasons.
What if my UEI registration expires?
Your SAM.gov registration lapses after one year of inactivity. You cannot bid with an expired registration. You can reactivate it in SAM or re-register. Reactivation is faster if your information is still accurate. If too much time passes, a fresh registration may be required.
How is a UEI different from a DUNS number?
DUNS numbers (nine digits) were the old federal ID issued by Dun & Bradstreet. UEI numbers (12 characters) replaced them and are issued by SAM.gov. As of April 2022, only UEI numbers are required for federal contracting. SAM links old DUNS numbers to your UEI for reference, but agencies now use the UEI.
Stop losing bids to missed amendments
BidWatch monitors SAM.gov for your NAICS codes, tracks every response deadline and amendment, and drafts the response outline. Your first solicitation is free; paid from $12.99/mo.
Start free — 14-day trial on paid plansUse BidWatch free
Your first solicitation is free. BidWatch matches SAM.gov opportunities to your NAICS codes and alerts you to every response deadline.
Use BidWatch free →