Your business may already be "small" — or already be too big — and the deciding vote was cast by a six-digit number you picked yourself, possibly in a hurry, on a form you barely remember.
That number is your NAICS code: the North American Industry Classification System code that labels what your business does. It started life as a statistics tool for government economists. Today it does much heavier work. The Small Business Administration hangs a different size standard on nearly a thousand industry codes, so your code decides the yardstick you are measured against whenever you apply for an SBA loan, bid on a small-business set-aside contract, or certify that you are a small business. Pick the code that matches your highest-revenue activity and the yardstick fits. Pick the wrong one and you can be judged too large for help you should qualify for — or certified as small under a standard that does not survive a challenge.
This guide explains how the six digits work, where your code follows you, how the SBA turns it into a size standard, and how to make sure yours is right.
What a NAICS Code Actually Is
NAICS is the standard federal agencies use to classify business establishments by what they do. It was adopted in 1997 to replace the older Standard Industrial Classification (SIC) system, and it was built jointly by the United States, Canada, and Mexico so business statistics would be comparable across North America. The Office of Management and Budget oversees it, the Census Bureau publishes the manual and the searchable code list, and it is revised every five years — the current manual is the 2022 edition, with a 2027 update already working its way through public comment.
Two things about that history matter for your business:
- The system was designed for statisticians, then repurposed as a gatekeeper. Economists wanted consistent industry data. Lenders, contracting officers, and regulators wanted a uniform way to ask "what kind of business is this?" The same six digits now answer both questions.
- Self-assignment is the whole model. Nobody issues you a NAICS code the way the IRS issues an EIN. You select the code that best describes your business, on every form that asks. That freedom is convenient — and it means mistakes are yours to catch.
How to Read the Six Digits
A NAICS code is a hierarchy: each digit you add narrows the description. Read left to right, the positions mean:
| Digits | Level | What it identifies |
|---|---|---|
| First 2 | Sector | The broadest slice of the economy (20 sectors total) |
| First 3 | Subsector | A narrower group within the sector |
| First 4 | Industry group | A cluster of related industries |
| First 5 | NAICS industry | A specific industry |
| All 6 | National industry | The most detailed U.S.-level description |
Take a concrete example. Say you run a custom software development shop. Your full code might be 541511:
- 54 — Professional, Scientific, and Technical Services (the sector)
- 541 — Professional, Scientific, and Technical Services (the subsector)
- 5415 — Computer Systems Design and Related Services (the industry group)
- 54151 — Computer Systems Design and Related Services (the NAICS industry)
- 541511 — Custom Computer Programming Services (the national industry)
A restaurant tells the same story in different digits: 722511 unwraps from sector 72 (Accommodation and Food Services) down to Full-Service Restaurants at the six-digit level.
A few structural details worth knowing:
- The first five digits are broadly comparable across the U.S., Canada, and Mexico. The sixth digit is where each country adds its own national detail, so it can differ across the border.
- Not every branch reaches six unique digits. Sometimes the five-digit industry and the four-digit group share a title, as in the 5415 example above. The hierarchy still works; some limbs are just shorter than others.
- Revisions move codes around. Each five-year revision adds industries that did not exist before, splits growing ones, and retires dying ones. A code that was correct in 2019 may have a different definition — or a different number — today.
Where Your Code Follows You
Once you pick a code, it propagates. The same number tends to reappear on:
- Federal tax filings. Schedule C asks sole proprietors for a principal business or profession code, and the code list in the instructions is NAICS-based. Partnership and corporate returns ask equivalent questions. The IRS uses these codes to build industry statistics — and to select returns for examination by comparing your margins and deductions against industry norms.
- SAM.gov registration. If you want federal contracts, grants, or assistance, you register in the System for Award Management and list your NAICS codes, starting with a primary one. Contracting officers search for vendors by code, and opportunity alerts filter by it.
- SBA loan applications. Your 7(a), 504, or microloan paperwork identifies your industry, and the SBA checks your size against the standard attached to that code.
- State registrations and licenses. Many states ask for a NAICS code on unemployment-insurance registration, business licenses, and annual reports.
- Census Bureau surveys. The economic census and annual business surveys sample and weight responses by NAICS, which is the system's original purpose.
Notice the pattern: the code you type on a tax return this April can be the same code a contracting officer reads next October. Consistency across these filings is not formally required everywhere, but inconsistency is how businesses end up defending two different stories about what they do.
How the SBA Turns Your Code Into a Size Standard
Here is where the digits gain financial weight. To reserve loan programs and contracting opportunities for genuinely small firms, the SBA publishes a table of small business size standards — roughly a thousand of them, normally one per six-digit NAICS code, codified at 13 CFR 121.201. Each standard states the largest a business in that industry may be and still count as small.
A size standard takes one of two main forms:
- Average annual receipts. Used for most services, retail, construction, and agriculture. The SBA averages your total income (plus your affiliates' income, with certain exclusions) over your five most recently completed fiscal years. Receipts-based standards range from a few million dollars for some farm and retail codes into the tens of millions for heavy construction and many professional services.
- Average number of employees. Used mostly for manufacturing, mining, and some other industries. The SBA averages headcount across every pay period of the preceding 24 calendar months. Employee-based standards typically run from a few hundred workers up to 1,500 for many manufacturing industries.
Three features of this system surprise first-time applicants:
- "Small" is entirely relative. A 400-employee manufacturer can be small while a 40-employee wholesaler with high receipts is not. The definition of small varies by industry on purpose: what counts as dominant in one market is a rounding error in another.
- Affiliates count. Your size includes your subsidiaries and affiliates, domestic and foreign. Common ownership or control can sweep sister companies into your total, which is how a modest-looking applicant fails a standard it seemed safely under.
- The standard attaches to the code, not to you. Change your primary NAICS code and you change the yardstick. That is the mechanism behind both legitimate reclassification — your business pivoted — and expensive mistakes.
One development to watch: the SBA has proposed collapsing the roughly thousand six-digit standards into a few hundred standards set at the four- and five-digit industry-group level, which would put every detailed industry inside a group under one shared standard. As of this writing that is a proposal, not a final rule — the existing six-digit standards remain in effect. But it signals where the system is heading: fewer, broader buckets.
Self-Assignment: You Pick It, and You Own the Consequences
Because no agency assigns your code, the rules for choosing one are principles rather than procedures:
- Classify by primary business activity. Your primary NAICS code should reflect the activity that generates the largest share of your receipts — not the activity you started with, not the one you find most interesting, and not the one with the friendliest size standard.
- Read the full definition, including the cross-references. The NAICS manual does not just list titles; each entry describes what is included and, critically, what belongs in a neighboring code instead. Two codes can sound nearly identical while their cross-references draw a bright line between them. Always read both sides of the line.
- List secondary codes where the form allows. SAM.gov lets you list more than one code. Add every code that genuinely reflects work you do — it widens the set of opportunities you can see and certify under — but keep the primary slot for your largest revenue line.
- On a federal solicitation, the contracting officer picks the code. Each solicitation names the NAICS code (and its size standard) that governs that procurement. You then certify whether you are small under that code's standard. If the code looks wrong for the work described, that is challengeable — but the default is that their code rules that bid.
The sharp edge of self-certification is the size protest. A losing bidder that believes the winner is not actually small can protest to the SBA's Office of Hearings and Appeals, which will examine the winner's receipts or headcount — including affiliates — against the solicitation's stated standard. A protest sustained against you can strip the award and, in assistance programs, force repayment. The code on the form is the beginning of that story, not a formality.
Why the Wrong Code Costs You Real Money
A misclassified NAICS code fails in two opposite directions, and both hurt:
The standard is too strict for what you actually do. Suppose your revenue comes mostly from an activity whose standard allows generous receipts, but your filings carry a code from a side line with a much lower ceiling. Against the wrong yardstick you look too big. You self-disqualify from set-asides you could have won and from loan programs built for businesses exactly your size — without anyone ever telling you the code was the problem. Applications do not come back stamped "wrong NAICS"; they come back as ordinary rejections.
The standard is too generous for what you actually do. The mirror image: your code carries a high ceiling your real industry does not, so you certify as small and win work — until a competitor, a contracting officer, or an SBA review asks why a business doing that work certified under this code. Now the award, the loan, or the certification is at risk, plus the cost of defending it.
A subtler cost is invisibility. Contracting officers post opportunities under specific codes, and vendors filter alerts the same way. A vendor correctly registered under 541511 never sees the solicitation posted under a neighboring code its work would qualify for — and a vendor registered under the wrong code sees a feed full of work it cannot credibly bid. Reviewing adjacent codes when you set up SAM.gov alerts is one of the cheapest business-development moves a federal contractor can make.
Finally, codes drift out from under you. NAICS revisions renumber industries, businesses pivot from services to products (or the reverse), and a side line quietly becomes the main line. A code chosen correctly five years ago can be wrong today with nobody having made a new mistake. An annual check — at tax time, when the numbers are in front of you anyway — catches that drift.
Keep Books That Prove Your Primary Activity
Here is where bookkeeping earns its keep. "Primary business activity" is a receipts question, and the only way to answer it with confidence is to track revenue by line of business all year — not to reconstruct it from memory when a loan application or a solicitation demands it.
In a plain-text ledger, that means one income subaccount per line instead of a single undifferentiated revenue account:
2026-01-15 * "Acme Corp" "Custom dashboard build — milestone 2"
Assets:Checking 12,500.00 USD
Income:Consulting:Custom-Development -12,500.00 USD
2026-01-22 * "Acme Corp" "Monthly hosting and maintenance"
Assets:Checking 1,200.00 USD
Income:Consulting:Managed-Hosting -1,200.00 USD
2026-02-03 * "Beta LLC" "Staff training workshop"
Assets:Checking 3,800.00 USD
Income:Training -3,800.00 USDWith that structure, your primary activity is a query, not a guess: sum each top-level income account for the year and the largest total names your primary line. The same breakdown feeds the five-year average-receipts math behind a size determination, and if anyone ever questions your classification, dated transaction records beat a narrative every time. The Beancount documentation covers balance queries and reporting if you want to automate the annual review.
The discipline generalizes. Any classification that turns on "where does the money come from" — principal business codes on tax returns, industry questions on insurance and license applications, the revenue split a buyer asks for in due diligence — is trivially answerable when your chart of accounts already mirrors your lines of business, and painful when it does not.
Common Mistakes and How to Avoid Them
- Picking by vibes. Scrolling the code list and stopping at the first title that sounds close is the most common failure. Fix: search the Census Bureau's NAICS tool by keyword, then read the full definitions — inclusions and cross-references — of the two or three closest candidates before choosing.
- Copying a competitor's code. A rival's filings are public in some contexts and tempting to imitate. But their revenue mix is not yours, and their code may itself be wrong. Fix: classify your own receipts.
- Freezing the code at founding. The startup that began as a consultancy and now sells mostly software licenses is a different industry than its original registration says. Fix: re-examine the primary code every year when you close the books.
- Using a retired revision. Old blog posts, old tax software screenshots, and old internal wikis cite codes from the 2012 or 2017 manuals. Fix: verify against the current Census search, especially after a revision year.
- Confusing NAICS with other identifiers. Your EIN identifies you to the IRS; a DUNS or UEI number identifies you to contracting systems; SIC codes are the retired predecessor system some state forms still ask about. None of them substitutes for a NAICS code, and entering one where another belongs creates exactly the inconsistency examiners notice.
- Classifying the product instead of the activity. NAICS classifies what the establishment does — manufacturing, wholesaling, retailing — not what the thing is. A company that makes furniture and a company that only sells it are different codes even when the furniture is identical.
Your Annual NAICS Checklist
Put this on the same calendar as your year-end close, when the revenue numbers are already assembled:
- Total receipts by line of business for the year just ended.
- Confirm the largest line still matches your primary NAICS code's definition — read the definition fresh, not from memory.
- Check the current size-standard table for that code and confirm you are still small under it, affiliates included.
- Update the code everywhere it lives if the answer changed: SAM.gov profile, tax return business codes, state registrations, and internal records.
- Save a one-paragraph note with the year's revenue split and why the chosen code fits. Future you — or a future examiner — will be glad it exists.
Six digits, self-assigned, quietly decisive. Get them right once, re-check them yearly, and the yardstick measuring your business will be the one your industry actually uses.





