docs/us_dimension/naics_codes

naics_codes

NAICS 2022 code hierarchy, fully denormalized. One row per NAICS code at all hierarchy depths (2- through 6-digit), plus QCEW compound codes (31-33, 44-45, 48-49) and the synthetic 'Total all industries' code (10). Includes parent titles at each level and sector/goods-producing flags.

tier aTier A: official NAICS code list.economydimension
grain
naics code (all depths)
years
cadence
Every 5 years
overview

overview

2,129 codes at all depths (2-6 digit) + QCEW compound codes + synthetic total.

current vintage — 2022

provenance

source & licensing

authority
U.S. Census Bureau
dataset
NAICS 2022
license
Public domain (U.S. Federal Government work)
citation
U.S. Census Bureau, NAICS 2022.
schema

fields

nametypedefinition
hierarchy_depthint64 · countNumber of significant digits in the code, indicating hierarchy level (2=sector, 3=subsector, 4=industry group, 5=industry, 6=national industry). QCEW compound codes use depth=2.
is_goods_producingboolTrue for goods-producing NAICS sectors (11, 21, 23, 31-33) per the BLS definition; false otherwise.
is_service_producingboolTrue for all sectors except goods-producing sectors and Government (92) per the BLS definition; false otherwise.
naics_2digitstring2-digit sector code that is the ancestor of this code. Null for codes added by QCEW.
naics_2digit_titlestringOfficial title of the 2-digit sector ancestor.
naics_3digitstring3-digit subsector code that is the ancestor of this code. Null for 2-digit codes.
naics_3digit_titlestringOfficial title of the 3-digit subsector ancestor.
naics_4digitstring4-digit industry group code that is the ancestor of this code. Null for codes with hierarchy depth less than 4.
naics_4digit_titlestringOfficial title of the 4-digit industry group ancestor.
naics_5digitstring5-digit industry code that is the ancestor of this code. Null for codes with hierarchy depth less than 5.
naics_5digit_titlestringOfficial title of the 5-digit industry ancestor.
naics_codekeystringThe NAICS 2022 code string (2- to 6-digit, or a QCEW compound code such as '31-33'). Primary key uniquely identifying each row across all hierarchy depths.Part of primary key. Joins dim.naics_codes on naics_code.
naics_titlestringOfficial NAICS 2022 title for this code.
sector_labelstringHuman-readable sector label derived from the 2-digit prefix (e.g. 'Manufacturing', 'Healthcare').
vintagestringNAICS classification vintage year for this code (always '2022' for current data).
relationships

joins

primary key
naics_code
common joins
not provided
usage

how to use this table

method

Denormalized NAICS 2022 hierarchy with parent titles per level.

do not use for

NAICS vintages other than 2022.

last updated · Jul 7, 2026