What Is a NAICS Code? How It Relates to Your CAGE Code
A NAICS code and a CAGE code both show up on the same SAM.gov registration, and it is easy to assume they do the same job. They do not. One classifies what an entity does; the other identifies where it does it. Here is how the six digits actually break down.
Updated 8 min read
A NAICS code is a six-digit number that classifies what kind of economic activity an entity performs, maintained by the U.S. Census Bureau under the current 2022 revision of the North American Industry Classification System. A CAGE code, by contrast, identifies where that activity happens — one specific facility at one specific address, assigned by the Defense Logistics Agency. Both numbers appear on the same SAM.gov registration, and both get decoded on a CAGE code lookup result, but they answer two completely different questions: NAICS answers "what does this entity do," and CAGE answers "which location is this."
NAICS vs. CAGE, in one sentence
A NAICS code is a six-digit industry classification assigned by the entity itself under Census Bureau standards, while a CAGE code is a five-character location identifier assigned by the Defense Logistics Agency — one describes a line of business, the other describes a facility, and neither one can substitute for the other on a federal registration. An entity typically carries exactly one of each on a given registration record: one Primary NAICS code describing its core business activity, and one CAGE code (where applicable) tied to its physical location.
What a NAICS code actually is
NAICS stands for North American Industry Classification System, the standard the U.S. Census Bureau uses — jointly with Canada's national statistics agency and Mexico's national statistics institute — to classify establishments by the type of economic activity they primarily engage in. It replaced the older framework agencies used before the mid-1990s and has been revised every five years since, so when someone says "NAICS code" today they almost always mean a code from the current 2022 revision, the version in force right now.
The system exists to answer one specific question consistently across the entire federal government and across three countries: given everything a business does, what single category best describes its primary activity? That single answer is what gets assigned as the entity's Primary NAICS code, and it is the version of "industry" the federal government uses for everything from economic statistics to small-business size standards to which contract set-asides an entity can compete for.
How the six digits break down
A NAICS code is built in five levels, each one narrowing the category further: a 2-digit Sector, a 3-digit Subsector, a 4-digit Industry Group, a 5-digit NAICS Industry, and finally the full 6-digit National Industry — the level of detail actually assigned to an entity. The current 2022 revision divides the entire economy into 20 sectors at that top level, from Agriculture, Forestry, Fishing and Hunting to Public Administration, and every more specific code nests inside one of those 20.
Only the first five digits of a NAICS code are shared across the United States, Canada, and Mexico — the sixth digit is country-specific, which is why a six-digit U.S. NAICS code does not always line up one-to-one with a Canadian or Mexican code that otherwise looks identical. As a worked example using this site's own sector decoding: any code beginning with 54 falls under the "Professional, Scientific, and Technical Services" sector, whether the full six digits describe an engineering firm, a law office, or an IT consultancy — the first two digits place it in one of 20 broad categories, and the remaining four digits narrow it down from there.
How a NAICS code and a CAGE code work together
The two codes sit side by side on a SAM.gov entity registration precisely because they cover different ground: NAICS classifies the business, CAGE locates the facility, and a contracting officer or screening tool typically needs both. Checking an entity's NAICS code tells a buyer whether the entity's declared line of business matches what a solicitation is looking for; checking its CAGE code confirms which specific, verified location that work would actually be performed at or shipped from.
That division also explains why the two numbers behave differently across the dataset. Of the 895,429 entity registrations in the current SAM.gov extract, 794,847 carry a CAGE code — but a NAICS code is not conditioned on having one. A registration can carry a NAICS classification without ever receiving a CAGE code, which is common among grants-only registrants: an entity can declare what industry it operates in long before, or entirely without, DLA assigning it a facility-level identifier. The reverse never happens — a CAGE code never appears without an entity registration behind it, but a NAICS code requires no CAGE code at all.
How to read the Primary NAICS field on a lookup result
When a CAGE code lookup on this site returns a result, the "Primary NAICS" field shows the exact six-digit code as it appears in the current SAM.gov extract, alongside a plain-English label for the 2-digit sector it falls under — not a full description of the six-digit code itself. That distinction matters: the underlying extract stores a single Primary NAICS field per registration, not a complete classification profile, so a result card showing "54" decoded as "Professional, Scientific, and Technical Services" is telling you the entity's broad sector, not the specific national industry those six digits represent.
That is a deliberate, narrow design choice rather than a limitation worth working around. A full table mapping every national-industry code to its specific description is a sizable public reference document in its own right, and the authoritative version of it lives at the Census Bureau's own NAICS site, not duplicated here. If a result's six-digit code needs a precise description rather than a sector-level hint, the Census Bureau's lookup tool is the direct path to it — this site's job is confirming which code is actually on file for an entity, not replacing the government's own classification reference.
How an entity's NAICS code gets chosen and changed
An entity selects its own Primary NAICS code during SAM.gov registration, declaring the single category that best describes its core line of business, and that selection — along with any additional codes describing related work — lives in the Assertions section of the registration record, distinct from the Core Data section that holds the entity's name, address, and other identifying details. Choosing accurately matters beyond bookkeeping: the Primary NAICS code is what determines which small-business size standard applies to an entity and which set-aside competitions it is even eligible to bid on, so a code that does not genuinely match the entity's main activity can block it from contracts it would otherwise qualify for.
An entity is not locked into its NAICS code once registered. SAM.gov registration can be updated to correct or add codes at any point, not only at annual renewal, and the Small Business Administration's own size-standards guidance exists specifically because the right NAICS code — and the size threshold tied to it — can change what "small business" means for a given entity. Anyone unsure whether a registration's current code still reflects its actual business should treat that as worth checking directly in the entity's SAM.gov record rather than guessing from an old registration.
Why NAICS codes change on a five-year cycle
NAICS gets revised on a five-year schedule to keep pace with industries that did not exist, or looked completely different, the last time the classification was updated — the current structure is the 2022 revision, and a 2027 revision is already in progress but not yet final. The Census Bureau's Economic Classification Policy Committee published a Federal Register notice in July 2026 soliciting public comment on its recommended changes for 2027, and that notice describes the proposed revision as taking effect for economic data covering periods beginning on or after January 1, 2027 — a proposal under review, not a change that has happened yet.
That five-year rhythm is also why "NAICS code" is not a fixed, permanent fact about an entity the way a CAGE code effectively is. A code assigned under one revision can be recoded, split, or merged into a different number under the next one, which is a large part of why this article deliberately avoids publishing a full table of current codes — printing specific six-digit numbers here would eventually drift out of date in exactly the way a stale CAGE code list does, and the Census Bureau's own current reference is the version that will not.
Frequently asked questions
What is a NAICS code?
A NAICS code is a six-digit number that classifies the primary economic activity of a business or other entity, under the North American Industry Classification System maintained by the U.S. Census Bureau. It describes what an entity does, not where it is located or who legally owns it.
How many digits does a NAICS code have, and what does each part mean?
A NAICS code has six digits, built in five levels of increasing detail: a 2-digit sector, a 3-digit subsector, a 4-digit industry group, a 5-digit NAICS industry, and the full 6-digit national industry. The current 2022 revision divides the economy into 20 sectors at the top level, and only the first five digits are shared across the United States, Canada, and Mexico — the sixth digit is country-specific.
Is a NAICS code the same as a CAGE code?
No. A NAICS code classifies what an entity does, assigned under Census Bureau standards; a CAGE code identifies which specific facility an entity operates from, assigned by the Defense Logistics Agency. They appear together on the same SAM.gov registration but answer different questions, and an entity can hold a NAICS code without ever having a CAGE code.
Who assigns an entity's NAICS code?
The entity itself selects its own Primary NAICS code during SAM.gov registration, declaring the category that best describes its core line of business. That selection lives in the Assertions section of the registration, separate from the Core Data section that holds the entity's name and address.
Can an entity have more than one NAICS code?
Yes. An entity designates one Primary NAICS code describing its core business activity, and may also list additional codes describing related work it performs. Only the Primary NAICS code determines the small-business size standard and set-aside eligibility that apply to the entity.
What is the current NAICS revision, and when does it change again?
The current, in-force structure is the 2022 NAICS revision. NAICS is revised on a five-year cycle, and a 2027 revision is already underway — the Census Bureau's Economic Classification Policy Committee solicited public comment on its proposed 2027 changes in a July 2026 Federal Register notice, but as of now no revision beyond 2022 has taken effect.
How do I read the NAICS code on a CAGE code lookup result?
A lookup result shows the entity's exact six-digit Primary NAICS code from the current SAM.gov extract, plus a plain-English label for the 2-digit sector it falls under — for example, a code starting with 54 is labeled "Professional, Scientific, and Technical Services." That label describes the broad sector, not a full description of the specific six-digit code, because the extract stores one Primary NAICS field per registration rather than a complete classification profile.
Where can I look up the official description of a specific NAICS code?
The U.S. Census Bureau maintains the authoritative NAICS reference, including the full current code list and search tool, at census.gov/naics. That is the correct source for a precise description of any six-digit code, rather than relying on a sector-level hint from an entity lookup result.
Sources
- U.S. Census Bureau — North American Industry Classification System (NAICS)
- U.S. Census Bureau — 2022 NAICS Manual
- U.S. Census Bureau — Understanding NAICS Codes (Economic Census guidance)
- Federal Register — Statistical Policy Directive No. 8: NAICS 2027 Revision, Request for Comment
- U.S. Small Business Administration — Size Standards
- cagecodelookup.com — live dataset statistics