How to Choose NAICS Codes in SAM.gov


Laptop-SAM-gov-NAICS-code-search-selection-interface-printed-industry-classification-reference
Estimated read time: — Last updated: March 2026 Reviewed against SBA and Census Bureau sources

Your NAICS codes in SAM do two things that directly affect your federal contracting results: they determine whether contracting officers find you when searching for vendors, and they establish your size standard for small business set-aside eligibility. Most businesses pick codes quickly and move on — but a misaligned primary NAICS code can make you invisible to the buyers most likely to award you work, and an incorrect size standard certification can create compliance problems. This guide covers how to choose your primary NAICS code, when to add secondary codes, and the mistakes that reduce your visibility and eligibility.

For the complete SAM.gov registration workflow — UEI, entity validation, Reps & Certs, and EFT setup — see the SAM.gov registration guide for small businesses.

Context: NAICS codes are defined by the U.S. Census Bureau and used across federal contracting for size standard determination and procurement classification. Your primary NAICS code should reflect your core business offering — not the broadest or most aspirational description of what you could do.
On this page Jump to section

What NAICS Codes Do in Federal Contracting

NAICS codes serve two distinct functions in your SAM registration — and both have direct consequences for your results in federal contracting.

Function 1: Size standard determination

The SBA assigns size thresholds — measured by annual revenue or employee count, depending on the industry — to each NAICS code. These thresholds determine whether your business qualifies as "small" for a given contract opportunity. Every set-aside solicitation designates a NAICS code, and your size certification under that code determines your eligibility to compete as a small business.

Your primary NAICS code in SAM.gov is the code used to establish your baseline size certification in your Representations & Certifications. If the code doesn't accurately reflect your business, your size certification may be based on the wrong threshold.

Function 2: Vendor discoverability

Contracting officers conduct market research using SAM.gov's vendor search tools. NAICS code is one of the primary filters they use to find vendors qualified for their requirement. If your SAM profile doesn't include the NAICS code associated with a solicitation, you may be missed entirely during the research phase — even if your capabilities are a strong fit.

For a deeper look at how buyers actually search and what they look for when they find a vendor profile, see how contracting officers find vendors.

NAICS vs PSC — an important distinction.
NAICS codes classify what your business does. PSC (Product and Service) codes classify what you're selling on a specific contract. Both appear in federal contracting, but NAICS is the primary driver of vendor discovery during market research. For a full explanation of how PSC codes work alongside NAICS, see PSC codes explained.

How NAICS codes are structured

NAICS codes are hierarchical and six digits long at the most specific level. The more digits, the more precisely the code describes the work.

NAICS hierarchy — example: IT consulting

2-digit Sector — Information (54)
3-digit Subsector — Professional, Scientific & Technical Services (541)
4-digit Industry Group — Computer Systems Design and Related Services (5415)
5-digit NAICS Industry — Computer Systems Design and Related Services (54151)
6-digit National Industry — Computer Systems Design Services (541512) Use this level

Always select the most specific six-digit code that accurately describes your work. Overly broad codes reduce relevance in buyer searches and may not align with the codes on solicitations you want to pursue.

How to Choose Your Primary NAICS Code

Your primary NAICS code carries the most weight of any code in your SAM profile. It is the code used for your size standard baseline certification, the most prominent code in your entity record, and the first code buyers see when they find your profile. Take more time on this decision than it might initially seem to warrant.

SAM-gov-NAICS-code-search-interface-keyword-search-field-code-selection-entity-registration
SAM.gov allows you to search for NAICS codes by keyword during registration — use specific, plain-language terms that describe your core work, not broad industry labels.
1
Describe your core offering in one plain sentence
Strip out aspirational language — focus on current revenue.

Write down what your business primarily does and what it primarily delivers. Be specific. "We provide IT support and managed services to federal agencies" is useful. "We provide comprehensive technology solutions" is not. The more specific your description, the more precisely you can match it to a code.

2
Search the NAICS database by keyword
Use the Census Bureau NAICS search tool at census.gov/naics.

Search using specific keywords from your plain-language description — not by browsing broad industry sectors. Sector browsing tends to produce codes that are too general. Keyword search surfaces the specific six-digit codes most relevant to your actual work.

3
Select the most specific six-digit code that fits
Specificity is more valuable than breadth.

From your search results, identify the six-digit national industry code that most precisely describes your core business activity. If two codes both seem applicable, choose the one that most accurately reflects where most of your revenue comes from.

4
Check the SBA size standard for that code
Confirm the threshold before certifying.

Look up your code on the SBA size standards table (sba.gov). Confirm you understand whether the standard is revenue-based or employee-based, and what the specific threshold is. This is the threshold that applies to your Reps & Certs size certification — an error here affects your set-aside eligibility on every solicitation under that code.

5
Verify against real solicitations on SAM.gov
Your best validation tool is live procurement data.

Search SAM.gov contract opportunities (sam.gov/opportunities) using the NAICS code you're considering. Review the results: do the solicitations reflect the kind of work you actually pursue? If yes, the code is a strong fit. If the results look like work you'd never bid on, reconsider. Your NAICS code should align with the solicitations you want to pursue — not just your business description in the abstract.

Field Note — Former Contracting Officer Perspective During market research, we search by NAICS and then look at the vendor profile. A vendor with one or two tightly aligned codes and a clear description of what they do reads as credible and focused. A vendor with a dozen codes spread across loosely related industries reads as unfocused — and we move on quickly. Your NAICS selection is your first filter: it determines whether you show up at all, and whether the buyer who finds you believes you're actually qualified for their requirement. Tight and accurate beats broad and optimistic every time.

Secondary NAICS Codes: When to Add Them and When to Stop

Secondary NAICS codes extend your discoverability to solicitations in areas where you have genuine, documented capability beyond your primary offering. They are not a tool for maximizing coverage — they are a tool for accurately representing additional capabilities you actively pursue and can demonstrate.

Add a secondary code when
  • You have documented experience under that code
  • You actively pursue contracts in that area
  • The solicitations under that code reflect work you want and can perform
  • You can point to past performance in that category
Do not add a code when
  • It sounds adjacent or aspirational
  • You have no experience or past performance there
  • You're trying to cover every possible opportunity type
  • You're adding it because the size standard is more favorable

The overstuffing problem

Adding a large number of NAICS codes — especially codes that don't align with your actual capabilities — reduces the relevance of your profile to buyers conducting targeted searches. Contracting officers doing market research want to find vendors who are clearly aligned with their specific requirement. A profile with 15 loosely related codes signals that the business hasn't done the work of understanding what it actually does best.

Most small businesses are well-served by 1 primary NAICS code and 2–4 carefully chosen secondary codes. More than that requires a strong justification based on actual, demonstrable capability and past performance — not aspiration.

Common NAICS Code Mistakes in SAM Registration

Choosing too broad a code. Selecting a 2-, 3-, or 4-digit level code instead of a specific six-digit national industry code reduces precision and puts you in the same pool as businesses that do fundamentally different work. Always go to the six-digit level — it's the standard for federal procurement and the level at which solicitations are classified.
Choosing based on size standard rather than fit. Some businesses select a NAICS code because it has a higher revenue or employee threshold — making them "small" — rather than because it accurately describes their work. This creates a size certification that doesn't match the actual business and can cause problems when size is re-certified at contract award for specific solicitations. Your code should reflect what you do, not what keeps you small.
Not updating at renewal. Your business evolves. A NAICS code that was accurate at initial registration may no longer reflect your core offering or target solicitations two years later. Annual SAM renewal is the right time to review whether your primary and secondary codes still accurately represent what you do and what you're actively pursuing.
Never validating against real solicitations. NAICS codes in your SAM profile only create value if they match the codes on solicitations you're pursuing. If you never verify this alignment by searching SAM.gov opportunities, you have no feedback loop to confirm your NAICS selection is actually working for you.

What to Do After Choosing Your NAICS Codes

NAICS code selection checklist

Confirm all of these before finalizing your SAM registration.

Primary NAICS code reflects your core revenue-generating activity — not aspirational scope
Code selected at the six-digit level — not a broader 4- or 5-digit code
SBA size standard confirmed for primary code before completing Reps & Certs
Primary code validated against live SAM.gov solicitations — results reflect target work
Secondary codes limited to genuine current capabilities with supporting experience
NAICS selection documented internally for renewal consistency

Once your NAICS codes are set and your registration is Active, the next priority is making sure your full SAM profile works as a buyer discovery tool — narrative, keywords, and classification all aligned with how buyers search. See how to optimize your SAM profile for buyer visibility for the next step.

Frequently Asked Questions About NAICS Codes in SAM

What is a NAICS code in SAM.gov?

A NAICS (North American Industry Classification System) code classifies your business by industry. In SAM.gov, your NAICS codes serve two functions: they determine your SBA size standard for small business set-aside eligibility, and they affect how contracting officers find your business during market research. NAICS codes are defined by the U.S. Census Bureau and are six digits long at the most specific level.

How many NAICS codes should I add to SAM.gov?

Most small businesses are well-served by 1 primary NAICS code and 2–4 carefully chosen secondary codes that reflect genuine, current capabilities. Adding many loosely related codes reduces the relevance of your profile to buyers conducting targeted searches and signals a lack of focus to contracting officers reviewing your entity record.

What is the primary NAICS code used for?

Your primary NAICS code is the main code used to determine your SBA size standard baseline for small business eligibility certifications in your Reps & Certs. It is also the most prominent code in your SAM entity record and the primary code buyers see when they find your profile. It should reflect your business's core revenue-generating activity — not the broadest or most aspirational description of your capabilities.

Can I change my NAICS codes after registration?

Yes. NAICS codes can be updated in SAM.gov during the annual renewal process or as a mid-cycle record update if your business has significantly changed. Review and update your codes at every annual renewal to ensure they still accurately reflect your current core offering and the solicitations you are actively pursuing.

How do NAICS codes affect small business set-aside eligibility?

Each NAICS code has an associated SBA size standard — a revenue or employee threshold that determines whether a business qualifies as "small" for that code. When a set-aside solicitation is issued, it designates a specific NAICS code. Your size certification under that code determines whether you're eligible to compete as a small business on that opportunity. An incorrect primary NAICS code in your SAM registration can result in a size certification that doesn't apply to the solicitations you're actually pursuing.


Not sure your NAICS codes are aligned with the work you want to win?

NAICS selection is one of the highest-leverage decisions in your SAM registration — and one of the most commonly rushed. If you want an experienced review of your code selection before finalizing your registration, or a done-for-you registration that handles NAICS selection as part of the full workflow, the options below are the fastest path forward.

Author: Biz2Gov Editorial Team · Reviewed by: Former DoD Contracting Officer advisor · Sources: U.S. Census Bureau NAICS, SBA size standards, SAM.gov opportunities


>