Short answer
A DUNS number is issued by Dun & Bradstreet and is used for private business credit. A Unique Entity ID (UEI) is issued by SAM.gov and is used for federal contracts and grants. Federal systems have used the UEI since April 4, 2022. An EIN is a tax number from the IRS, and neither number replaces it.
Key takeaways
- The federal government switched from the DUNS number to the Unique Entity Identifier (UEI) effective April 4, 2022. SAM.gov assigns the UEI directly during registration; DUNS is no longer required for federal contracts or grants.
- The DUNS number, issued by Dun & Bradstreet, still exists and is widely used in private business-credit profiles, vendor verification, and supplier-onboarding flows. LLC owners building business credit through D&B continue to use the DUNS; LLC owners pursuing federal contracts use the UEI.
- SAM.gov validates the entity name and address before it assigns a UEI. For the SAM.gov physical address, give the street address where the business operates. A post office box may not be used. The CAGE code guidance also refuses addresses identified as commercial mail or shipping provider locations.
- Public SAM.gov records display the physical address. You can turn off public viewing, but the checklist says non-sensitive entity information stays available to federal users and to people who download the SAM public data file.
Before you start
- Confirm which identifier the receiving system actually wants: a federal grants or contracts system uses UEI; a private vendor or credit profile uses DUNS.
- Decide which street address you will give. SAM.gov asks for a physical address and validates it.
- Confirm the LLC's EIN is in hand. SAM.gov asks for the Taxpayer Identification Number (TIN) in the core data, after the UEI step.
Who this is for
- LLC owners pursuing federal government contracts or grants and registering on SAM.gov for the first time.
- LLC owners researching whether the DUNS number is still needed, after hearing about the 2022 federal switch.
- Founders building business credit through D&B who want to clarify the relationship between the DUNS used in private credit and the UEI used in federal systems.
Two identifiers, two purposes. The DUNS number is Dun & Bradstreet's identifier for businesses in the private market; LLCs use it for business-credit profiles, supplier onboarding, and certain vendor systems. The UEI is the federal government's identifier for entities receiving federal contracts and grants; SAM.gov assigns it during registration. The two are not interchangeable, but they are often confused because of the federal government's April 2022 transition from DUNS to UEI. If a form asks for a company registration number instead, our guide to the company registration number in the USA explains the state number, the EIN, and the DUNS number.
Did this answer your question?
What changed in April 2022 and what stayed the same
Before April 4, 2022, the federal government used the DUNS number as the standard identifier for entities receiving federal contracts and grants. SAM.gov, the central federal entity registration system, required a DUNS number as part of the registration. Federal contractors had to obtain a DUNS from Dun & Bradstreet, then register that DUNS on SAM.gov.
Effective April 4, 2022, the federal government transitioned to the Unique Entity Identifier (UEI), a 12-character alphanumeric identifier assigned directly by SAM.gov. The transition followed a US government decision in the late 2010s to move the federal identifier in-house, away from a third-party commercial source. SAM.gov now assigns the UEI as part of registration; an applicant does not separately apply for a UEI before reaching SAM.gov.
The DUNS did not disappear; the federal government stopped using it
Dun & Bradstreet still issues DUNS numbers, the existing numbers remain active, and the private market continues to use them for business credit, supplier verification, and vendor systems. The change is that federal contracts and grants no longer require a DUNS. An LLC that already has a DUNS keeps it; an LLC that does not have a DUNS does not need to get one solely for federal contracting.
Ready to set up your business address?
See which US cities fit — about a minute, no card needed.
DUNS for private business credit, separate from federal use
The DUNS number remains the foundational identifier in Dun & Bradstreet's business-credit ecosystem. An LLC building a business-credit profile typically registers for a DUNS at no cost through D&B, then adds Net 30 vendor accounts and a business credit card to build the PAYDEX score and the broader credit profile. The five-step credit-building process is covered in detail in the LLC business credit DUNS guide.
DUNS is also used in some non-federal vendor systems. Large procurement platforms and corporate supplier networks sometimes ask for a DUNS as a verification field. Trade-credit services and some commercial insurance carriers reference DUNS as part of their underwriting. The federal switch to UEI did not change these private uses.
UEI registration on SAM.gov: the path for an LLC
SAM.gov is the federal central contractor registration system. An LLC pursuing federal contracts or grants registers on SAM.gov, and the UEI is assigned during the registration. The process is free; SAM.gov does not charge any fee for UEI assignment or for the registration itself. Several third-party services advertise paid SAM.gov registration assistance, but none of those services are necessary for the registration itself.
- 1Create or sign in to a SAM.gov account. The account is tied to the individual filer, not to the LLC.
- 2Choose the purpose of the registration. All Awards lets the LLC bid on contracts and apply for financial assistance. Financial Assistance Awards Only covers grants and loans.
- 3Enter the details for the Unique Entity ID: the legal business name, the physical address, the date of incorporation, and the state of incorporation.
- 4Let SAM.gov validate the entity name and address. If SAM.gov cannot validate them, you can create a help ticket with the Federal Service Desk. Once you receive the UEI, you can continue.
- 5Choose whether the record is visible in public search results. A public record displays the registration status, the legal business name, and the physical address.
- 6Enter the core data, which includes the mailing address, the TIN, an IRS consent form, and financial information. SAM.gov fills in the physical address from the UEI step.
- 7Finish the other sections for your purpose. Both purposes have representations and certifications and points of contact. All Awards also has assertions, which include the NAICS codes.
- 8Get a CAGE (Commercial and Government Entity) code. If the LLC has none, SAM.gov's checklist says to answer No to the CAGE code question, and one will be assigned after you submit the registration. The checklist lists the CAGE code under both purposes.
The checklist says to allow at least ten business days after you submit the registration for it to become active. If the TIN or the CAGE code fails validation, SAM.gov sends an email with instructions to the government business point of contact.
NAICS code selection and what it does for the LLC
The North American Industry Classification System (NAICS) code identifies the LLC's primary industry for federal contracting purposes. An All Awards registration on SAM.gov asks the LLC to select one or more NAICS codes that describe the business. Except for some multiple award contracts, the contracting officer picks one NAICS code for each solicitation, and that code sets the small-business size standard. A founder selecting NAICS codes for the first time should review the SBA size-standards table for the relevant codes and pick codes that match the LLC's actual or planned business activity.
An LLC operating in multiple categories selects multiple NAICS codes, designating one as the primary. The primary code is what most contracting officers see in the LLC's SAM.gov profile. Secondary codes describe the other work the LLC does. Changing the codes later is possible through the SAM.gov record update process.
Grants.gov for federal grants in addition to SAM.gov
Federal grants and federal contracts use different application systems. SAM.gov is the central entity registration for both, but the application portal is different. Grants.gov is the central federal grants application portal; applicants register on Grants.gov in addition to SAM.gov to apply for federal grant opportunities.
Grants.gov says an organization can't start applying until it is registered in SAM.gov. The main contact, called the EBiz point of contact, creates a Grants.gov account with the same email used in SAM.gov. That person then adds an organization profile with the UEI, and the UEI appears in the applications.
What SAM.gov and the CAGE code guidance say about the physical address
SAM.gov validates the entity name and address before it assigns a UEI. The checklist does not say which records SAM.gov compares them with. Our guide to whether SAM.gov accepts a virtual address quotes the SAM.gov, CAGE code, and Medicare physical address rules.
- Not accepted as the physical address: a post office box. SAM.gov’s entity registration checklist says “A post office box may not be used as your physical address.” It also says “Your entity name and address will be validated by SAM.gov.”
- Not accepted for a CAGE code: mail and shipping provider locations. Defense Department guidance on CAGE codes says “Neither U.S. Post Office boxes nor addresses that can be identified as belonging to commercial mail and/or shipping provider locations will be accepted as physical addresses.” That limit applies to a virtual address from any provider, including save office.
- A home address. A founder’s home is a real street address. Like any other address, it goes through SAM.gov’s validation of the entity name and address. A public SAM.gov record displays the physical address, so decide on the public search setting before you submit.
Read the physical address rule before you apply
If SAM.gov cannot validate the entity, the checklist says you can create a help ticket with the Federal Service Desk. You can continue once you receive the UEI. The free Address Checker shows how USPS classifies an address. SAM.gov makes its own decision.
When the LLC needs both DUNS and UEI
An LLC pursuing federal contracts or grants needs the UEI. An LLC building a private business-credit profile needs the DUNS. A single LLC pursuing both tracks needs both identifiers, and the two are obtained from different systems (UEI from SAM.gov, DUNS from D&B). The two identifiers do not connect; an LLC can have one without the other, both, or neither.
When the LLC needs both, the sequence does not matter for the systems themselves but does matter for the LLC's address consistency. Decide on the address before either registration. For the SAM.gov physical address, give the street address where the business operates, and follow the limits in the address section above. Keep the address current on SAM.gov, the DUNS profile at D&B, the EIN record at the IRS, and the bank record.
Common mistakes when registering for the UEI
- Paying a third-party service for SAM.gov registration. The registration is free at sam.gov. Paid services exist, but their value is administrative help, not gatekeeping; the LLC can register itself without the service.
- Assuming the LLC still needs a DUNS first to register on SAM.gov. The DUNS is no longer a requirement; SAM.gov assigns the UEI directly.
- Using a PO Box as the SAM.gov physical address. The checklist says a post office box may not be used as your physical address.
- Selecting too few or too generic NAICS codes. The codes describe what the business does. A thoughtfully selected primary plus a small set of secondary codes is more useful than a single generic code.
- Skipping the renewal. SAM.gov says you must renew every 365 days for the registration to remain active.
- Letting the address fall out of sync. After an address change, update SAM.gov, the IRS (Form 8822-B), and the bank. Update the state record too, if your state keeps a business address. The form depends on the state, and our LLC address change guide covers six states.
Checklist: registering an LLC on SAM.gov for the UEI
- 1Confirm the LLC is formed at the state level and has its EIN from the IRS. SAM.gov does not register an LLC; it registers an existing LLC for federal awards.
- 2For the SAM.gov physical address, give the street address where the business operates. Do not use a post office box there, and do not use a mailbox rental or a mail service address as the physical address for a CAGE code.
- 3Create a personal SAM.gov account for the individual who will manage the LLC's registration.
- 4Start a new entity registration for the LLC; enter the legal name, the physical address, and the date and state of incorporation.
- 5Pass the entity validation. If SAM.gov cannot validate the entity, create a help ticket with the Federal Service Desk.
- 6Receive the UEI, then finish the rest of the registration. If the LLC has no CAGE code, one will be assigned after you submit.
- 7For an All Awards registration, select the NAICS codes that describe the LLC's business, with one as primary.
- 8Complete the representations and certifications. Both registration purposes have them.
- 9Register on Grants.gov using the UEI, if pursuing federal grants.
- 10Set a calendar reminder to renew the SAM.gov registration. It must be renewed every 365 days to remain active.
Frequently Asked Questions
Next step
Reserve your US business address
Pick a city and a plan. Your mail goes to a real commercial address and is scanned when you ask.
Sources & References
Primary sources this guide is based on.
- 1U.S. General Services Administration (SAM.gov) · Entity Registration Checklist (accessed November 24, 2026)
- 2Electronic Code of Federal Regulations (National Archives) · 48 CFR 4.1802, Policy (Commercial and Government Entity code) (accessed November 24, 2026)
- 3Electronic Code of Federal Regulations (National Archives) · 13 CFR 121.402, What size standards are applicable to Federal Government Contracting programs? (accessed November 24, 2026)
Not sure what you need?
Two short pages sort it out — what the products actually are, and which situation you're in.



