How to Find Your NAICS Code (and What the Wrong One Costs)
To do a NAICS code lookup, go to census.gov/naics, type a keyword for your main line of work (or a 2 to 6 digit code) into the 2022 NAICS Search box, and open the six-digit result whose definition best matches the activity that brings in most of your revenue. To see which codes federal buyers are using, open Contract Opportunities search on SAM.gov and filter by NAICS Code under Product or Service Information. Then check that code's size standard in SBA's table before you register it.
That is the short version. The rest of this guide covers how to read a Census result, how the code is built, who decides your code, and what a wrong code costs on a federal bid. Facts come from the Census Bureau, SAM.gov, SBA and the eCFR, all read on November 1, 2026.
Step by step: the Census NAICS search
The Census Bureau's own FAQ gives the method. On www.census.gov/naics, enter a keyword that describes your kind of business in the 2022 NAICS Search box. A list of primary business activities containing that keyword appears with their codes. Pick the one that most closely matches your primary business activity, or refine the search for other choices.
- Search by plain words. Try the words a customer would use: "roofing", "janitorial", "HVAC", "software". Then try a second wording if the first returns nothing useful.
- Open the six-digit code. Each result page shows the official 2022 definition, cross-references that point similar work to other codes, and a table of index entries. For 236115, for example, the index entries include custom builders, log home general contractors and modular single-family housing assembled on site.
- Read the cross-references. They are the fastest way to rule a code out. The 236115 page sends remodeling of existing houses to 236118 and subcontracted specialty work to subsector 238.
- Browse the full list if search fails. Under Reference Files, click 2022 NAICS, then the two-digit sector, and drill down to the six-digit code. The same section has downloadable Excel files of the whole structure.
The site also keeps 2017 and 2012 search boxes. Use the 2022 box for federal work, since the code titles in SBA's current size standards table match the 2022 system.
How a NAICS code is built
NAICS is a hierarchy of 2 to 6 digits. The first two digits are the economic sector, the third the subsector, the fourth the industry group, the fifth the NAICS industry, and the sixth the national (U.S.) industry. Census states that a complete and valid NAICS code has six digits. Construction is sector 23, building construction is subsector 236, and 236220 is Commercial and Institutional Building Construction.
Codes longer than six digits are not true NAICS codes. Census calls them "NAICS-based codes" created by some agency for its own programs, so do not put them on a federal form. The system changes on a schedule: NAICS is reviewed every five years, and that review is the only time new codes can be created. The 2022 version has 1,012 U.S. industries, down from 1,057 in 2017. On July 13, 2026, Census posted a Federal Register notice asking for comments on proposed updates for 2027, so expect another revision cycle.
Who assigns your NAICS code?
Nobody hands you one. Census says there is no central government agency that assigns, monitors or approves NAICS codes for businesses, and it has no formal role as an arbitrator. Census assigns one code to each establishment for its statistics, based on its primary activity, which is generally the activity that brings in the most revenue. That code stays confidential: Title 13 of the U.S. Code bars the Census Bureau from releasing a specific company's NAICS code.
For federal contracting, you choose your own codes when you register in SAM.gov. SBA's contracting guide says a business will generally have a primary NAICS code and can also have several if it sells more than one product or service. Census confirms that SAM accepts multiple codes per establishment. When SBA itself has to decide a firm's primary industry, 13 CFR 121.107 says it looks at the distribution of receipts, employees and costs of doing business across industries in the most recently completed fiscal year.
NAICS code lookup on SAM.gov
SAM.gov is where the code turns into bids. In our test on November 1, 2026, Contract Opportunities search worked without signing in. Under Product or Service Information, the filter panel has a NAICS Code field and a separate Product and Service Code field. Filter by the code you found on the Census site and read the titles that come back. If the notices describe work you do, the code is a fit. If they describe work you never touch, look again at the cross-references.
This is also how to check how buyers code your kind of work. Open a few notices and note the NAICS code on each. Under 13 CFR 121.402, the contracting officer picks the single code that best describes the principal purpose of the purchase. If agencies keep coding your service under a code you do not hold, add it.
BidWatch's free bid scan does the same count in one step: enter a NAICS code or keyword and it shows how many SAM.gov solicitations are open right now.
Check the size standard before you register
Census notes that NAICS itself does not separate small from large businesses. SBA sets a size standard for each code, listed in 13 CFR 121.201 and in SBA's table of size standards, which took effect March 17, 2023. SBA's guide says most manufacturers with 500 or fewer employees, and most non-manufacturers with average annual receipts under $7.5 million, qualify as small, but many industries have exceptions. Construction is one: the 236 building codes are $45.0 million and most 238 specialty trades are $19.0 million.
Receipts are averaged over your last five completed fiscal years, and employees over your last 24 calendar months, counting affiliates in both cases. Our free SBA size standard checker runs your numbers against any code, and the construction NAICS code guide lists the codes and limits builders use most.
What a wrong NAICS industry code costs
A NAICS industry code looks like a form field, but it decides three things on a federal bid.
- Whether you are small for that bid. Under 13 CFR 121.402, your firm must not exceed the size standard for the NAICS code in the solicitation. Each solicitation carries one code and one size standard, except multiple award contracts, which can assign codes by category. Your primary code does not decide it. The solicitation's code does.
- Whether buyers find you. SBA says agencies search SAM to find contractors and use the SAM data to fill the Small Business Search database. A profile with codes that do not match your work is hard to find.
- Whether your status is current. SBA warns that SAM profiles keep showing small business status under old size standards until the registration is updated. Update SAM after any size standard change.
If a solicitation carries a code you think is wrong, you can appeal it to SBA's Office of Hearings and Appeals within 10 calendar days after the solicitation or amendment is issued (13 CFR 121.1103). Late appeals are dismissed. Never pick a code just to look small. SBA says knowingly misrepresenting your size on a federal contract carries severe criminal penalties.
Common lookup mistakes
- Stopping at the title. Titles are short. The definition and cross-references decide the fit. Warehouses, for example, fall under 236220, not Industrial Building Construction (236210).
- Using a 2017 code. Check the code in the 2022 search box before you put it in SAM.
- Copying a code from a vendor list. Commercial databases sell company NAICS codes, and Census says it cannot verify their accuracy.
- Listing codes you cannot perform. Add the codes you will actually bid under, then review the list at each SAM renewal.
Once your codes are set, put them on your capability statement with their titles, and confirm your CAGE code and SAM registration status before your next bid.
Turn the code into a bid list
BidWatch matches SAM.gov solicitations to your NAICS codes and keywords, scores how well each one fits, tracks response deadlines and amendments, and drafts a response outline. Your first solicitation is free, and paid plans start at $12.99 a month. Start a free BidWatch account with the code you just looked up.
Sources
- U.S. Census Bureau, NAICS main page, 2022 NAICS Search and FAQs, https://www.census.gov/naics/, read November 1, 2026.
- U.S. Census Bureau, 2022 NAICS definition of 236115, https://www.census.gov/naics/?input=236115&year=2022&details=236115, read November 1, 2026.
- SAM.gov, Contract Opportunities search, https://sam.gov/search/?index=opp, read November 1, 2026.
- SBA, Get started with contracting (NAICS code, size standards, appeals), https://www.sba.gov/counseling/get-started/, read November 1, 2026.
- SBA, How to win contracts (Small Business Search), https://www.sba.gov/counseling/how-to-win-contracts/, read November 1, 2026.
- SBA, Table of size standards, https://www.sba.gov/document/support-table-size-standards, read November 1, 2026.
- eCFR, 13 CFR 121.107, 121.201, 121.402 and 121.1103, https://www.ecfr.gov/current/title-13/part-121, read November 1, 2026.
Questions people ask
How do I look up a NAICS code?
Go to census.gov/naics and type a keyword or a 2 to 6 digit code into the 2022 NAICS Search box. Open the six-digit result whose definition matches the activity that brings in most of your revenue, and read its cross-references to rule out neighboring codes. Then check the code's SBA size standard before adding it to SAM.gov.
Can I look up another company's NAICS code?
Not from the Census Bureau. Title 13 of the U.S. Code bars Census from releasing a specific company's NAICS code. For federal contractors, the codes a company chose are usually listed in its SAM.gov entity record, and each SAM.gov contract notice shows the code the agency assigned to that purchase. Census warns that commercial lists selling company codes are not verified by Census.
Who assigns NAICS codes to businesses?
No central agency does. Census says there is no government body that assigns, monitors or approves NAICS codes for businesses. Agencies assign codes for their own programs, and for federal contracting you pick your own codes when you register in SAM.gov. Each solicitation's code is picked by the contracting officer.
Can a business have more than one NAICS code?
Yes for federal contracting. SBA says a business generally has a primary NAICS code and can have more if it sells several products or services, and Census confirms SAM accepts multiple codes per establishment. Census itself keeps only one code per establishment for its statistics.
How many digits is a NAICS code?
Six. NAICS runs from 2 to 6 digits: sector, subsector, industry group, NAICS industry and national industry. Census says a complete and valid NAICS code has six digits, and codes longer than six digits are agency-made NAICS-based codes, not real NAICS codes.
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 →