Working With the North American Economic Activity Classification System
The NAICS code system is how the US, Canada, and Mexico categorize business establishments for statistical purposes. If you work in compliance, accounting, or government contracting, you will encounter it constantly. It replaces the old SIC system and has been in use since 1997, with revisions every five years. The current version is NAICS 2022. Understanding how it actually functions matters more than memorizing any single code, because misclassification happens constantly and the consequences range from mildly annoying to genuinely expensive. Here is how the system is structured. It starts with a two-digit sector level, then goes down to four-digit subsector, five-digit industry group, six-digit national industry, and beyond for country-specific detail. The six-digit level is where the US, Canada, and Mexico sometimes diverge, even though the framework is supposed to be harmonized across all three. That divergence is a real problem if you are filing reports across borders. I spent a week tracking this down once when a client needed to report identical operations to both the US Census Bureau and Mexico's INEGI, and the codes simply did not map cleanly. The workaround was to file under the broader NAICS code that existed at the same level in both countries and attach a separate note explaining the discrepancy. No one flagged it, but it took three phone calls and two emails to confirm that approach was acceptable. A counter-intuitive thing most people miss is that NAICS codes are assigned to establishments, not companies. A single corporation can have dozens of different NAICS codes depending on where its physical locations operate. If your headquarters does financial planning while your warehouse in another state ships goods, those are two separate establishments under two different codes. I see small business owners all the time who pick one code for their whole company and file everything under it. That is incorrect, and when auditors catch it, the inconsistency shows up quickly.
Another thing nobody tells you: the descriptions sound straightforward until you try to apply them. "Retail trade" sounds simple. Then you realize that selling furniture online from a warehouse falls under a different code than selling furniture from a physical store, even though the product is identical. The 2022 revision tried to account for e-commerce more explicitly, but the boundaries remain fuzzy. I had a client who ran a brick-and-mortar bookstore and also sold directly through their website. They initially classified everything under the physical bookstore code. When I reviewed it, we split it into two establishments because their online operation had a completely separate fulfillment center and staffing structure. The code difference was minor but technically accurate.
How to Find the Right Code
Start at the official sources. The US uses census.gov/naics, Canada uses ic.gc.ca/eic/site/nssng.nsf/eng, and Mexico uses inet.gob.mx. Cross-reference between all three if your operation spans borders. Do not rely on a single database. I have seen conflicting codes between the US and Canadian portals for the same industry description, which is maddening but true. Use the index, not just the descriptions. The index is alphabetical and often gets you closer to the right code faster than scrolling through the hierarchy. Type in your primary activity and it will point you to a code. Then verify by reading the full description at that code and the ones immediately above and below it. The code you land on might be the wrong level of specificity. For example, the index might point you to a six-digit code when your operation is better described by a five-digit one. Read the exclusion notes too. Those are where the traps are. If your business is mixed, you need a primary NAICS code based on your largest source of revenue. That is the rule. Revenue-driven, not pride-driven. I had a consulting firm once that generated most of its money from software development but wanted to be classified under their educational training division because it felt more aligned with their brand. The code they picked did not match their revenue breakdown, and it caused problems during a government contract application. The fix was straightforward, but it cost them three weeks of resubmission delays.
Get the Full Details

Common Mistakes and What to Do About Them
The most common error is using an outdated NAICS code. The 2017 version is still showing up in a lot of state filing portals and third-party business databases. If you registered your business in 2016 and never updated, you are probably sitting on an obsolete code. Check your state's business registration to see which version you filed under, and update if necessary. Most states do not enforce this strictly, but some do, and federal contracts require current codes. Another frequent mistake is assuming your LLC or corporation structure determines your NAICS code. It does not. Your business activity determines it. An LLC that does landscaping is classified the same way as a sole proprietorship doing the same landscaping. The legal structure is irrelevant to NAICS. I see this confusion all the time in online incorporation services that auto-assign codes based on entity type rather than activity. For businesses that operate in multiple states, each state may have slightly different requirements for how you report NAICS codes. Some states want only the primary code. Others want all codes that apply. California is stricter about this than Texas, for instance. If you are multistate, check each state's guidance. The process usually takes about twenty minutes per state once you know what you are looking for, but it is easy to skip and regret later.
There is no perfect automated solution for finding your code. Tools like the SBA's lookup exist, but they are basic. The most reliable approach is still reading the actual NAICS descriptions yourself. It takes longer, maybe forty-five minutes for a straightforward business and two hours for a complex one, but it produces results you can defend. Third-party code assignment services claim to do it faster, but I have seen too many of them assign wrong codes based on keywords alone. If you need the official reference materials, theNAICS manual is available as a free PDF download from the US Census Bureau website. Canada and Mexico publish theirs through their respective government portals. There is no central repository for all three, which is another reason to keep all three URLs bookmarked. The system works, but it requires actual effort to use correctly. There is no shortcut around that.