Skip to main content

Independent service, not a government website.

NAICS codes: how to choose yours for federal contracts

A step-by-step way to pick your primary and secondary NAICS codes, check your size under each, and confirm agencies actually buy your work under them.

Government Bid Finder · Updated · 5 min read

Your NAICS codes decide which federal notices you show up for, which set-asides you can compete for, and how buyers classify you. Our guide on understanding NAICS codes explains the system. This one is the practical how-to: a step-by-step way to choose your codes and check them against what agencies actually buy.

Why the choice matters

Every federal notice carries exactly one NAICS code, chosen by the contracting officer to describe the main purpose of the work (FAR 19.102 (opens in a new tab)). That one code does three things:

  1. Sets the size standard. Whether you count as small depends on the size standard SBA assigns to that code, not on your "industry" in general.
  2. Drives search and alerts. Buyers, primes and bid-matching tools, including ours, use NAICS codes to connect notices with companies.
  3. Shapes your profile. Your codes appear on SAM.gov and SBA's Small Business Search, where agencies look for capable small firms.

Step 1: list the work you actually do

Write down every distinct service or product line that brings in meaningful revenue or that you can perform well today. Be concrete: "commercial HVAC repair," "custom web applications," "janitorial services for office buildings." Leave out aspirations for now.

Step 2: find the matching codes

Search the Census Bureau NAICS site (opens in a new tab) for each line of work. Read the full definition, including the cross-references that say which activities belong in other codes. Some patterns to know:

  • Services versus products. Writing custom software is 541511; selling packaged software is 513210. Making office furniture is 337214; reselling it is 423210.
  • Trade versus general construction. A general contractor on a building uses 236220; a plumbing or HVAC subcontractor uses 238220; an electrician uses 238210.
  • Catch-all codes. "All other" and "other" codes, which often end in 9, are broad. 541519 (other computer related services) is used for a lot of federal IT work. Use them, but also pick specific codes where they fit.

You can browse code pages with live notices and awards on our NAICS directory.

Step 3: check that agencies buy under those codes

A code is only useful if agencies use it for the work you want. Before you commit, look at recent federal awards:

You may discover that agencies file your work under a code you had not considered. Cybersecurity, for example, has no NAICS code of its own, so it is bought under IT and consulting codes. See our cybersecurity guide.

Step 4: check your size under each code

For each candidate code, look up its size standard in SBA's table of size standards (opens in a new tab) or the size standards tool, then compare your numbers:

  • Receipts-based standards: your average annual receipts over the latest five completed fiscal years.
  • Employee-based standards: your average number of employees over the latest 24 months.
  • Include affiliates. Companies under common ownership or control generally count together.

You might be small for one code and not another. That is normal, and it is why listing every code you work in matters: a mid-sized engineering firm may be other than small for one code and still small for another with a higher standard. The rules and exceptions are in SBA's size standards guidance (opens in a new tab).

Step 5: pick your primary code

Choose the code that describes most of your revenue, or the work you most want to be known for if the two are close. Put it first on your SAM.gov registration, your capability statement and your SBA profile. Your primary code does not restrict what you can bid on; it is your headline.

Step 6: add secondary codes, carefully

Add codes for every other line of work you perform. A useful test: could you show a contracting officer a past project or a current capability for this code? If not, leave it off until you can.

Listing dozens of loosely related codes makes your profile look unfocused and can attract alerts that waste your time. A clean set of codes that matches real past performance is more credible.

Step 7: register and keep them current

  • Add the codes in SAM.gov under assertions, then complete the representations, which ask your size status per code. See the SAM.gov registration checklist.
  • Review your codes every year at renewal. Add new lines of business; remove ones you have stopped.
  • NAICS is revised every five years (the current federal version is NAICS 2022). When SBA adopts a revision, codes can be split or merged.

Worked example

A 20-person company in Virginia does commercial HVAC maintenance, small plumbing repairs, and building automation tuning.

Work Candidate code Notes
HVAC maintenance and repair 238220 Plumbing, heating and air-conditioning contractors. Primary.
Plumbing repairs 238220 Same code: no need for another.
Building automation and controls 238290 Other building equipment contractors, where controls work sometimes falls. Check recent awards.
Whole-facility maintenance contracts 561210 Facilities support services. Only if they can manage multi-trade contracts.

They check recent awards, find several agencies buying HVAC maintenance under 238220 and facility contracts under 561210, confirm they are small under both, and list 238220 as primary.

Mistakes to avoid

  • Picking the code with the biggest size standard to stay small. You must be able to do the work; size protests can follow.
  • Using only one broad code and missing notices filed under specific ones.
  • Forgetting resale. If you sell products you do not make, wholesale (42) codes and the nonmanufacturer rule apply.
  • Never revisiting. Codes should change as your business does.

Next steps

Questions

How many NAICS codes should I list in SAM.gov?

As many as genuinely describe work you perform, and no more. Many small firms list between three and ten. Each code you list lets you be counted as eligible for set-asides under that code, but listing work you cannot do makes your profile less credible to buyers.

What is a primary NAICS code?

The code that best describes your main line of business. It is the first code buyers see on your SAM.gov and SBA profiles. It does not limit which notices you can bid on: you can compete under any code you are small for, whether or not it is your primary.

Can I bid on a notice whose NAICS code I have not registered?

Often you can, if you are small under that code's size standard and can do the work. But add the code to your SAM.gov registration so your representations cover it; some systems and set-asides check the codes in your record.

Who picks the NAICS code on a federal notice?

The contracting officer, based on the main purpose of the work (FAR 19.102). You cannot change it, but you can ask a question during the solicitation period, and an interested party can appeal the code to SBA's Office of Hearings and Appeals within a short window.

Official sources

See which open federal notices fit your company.

Enter your website. The preview is free and needs no account.