Short answer: An HS code is a product classification number from the Harmonized System, which the World Customs Organization (WCO) maintains. The first six digits are the same in every country that uses the system: two digits for the chapter, two for the heading and two for the subheading. The United States adds four more digits in the Harmonized Tariff Schedule of the United States (HTSUS), where digits seven and eight are the U.S. tariff rate line and digits nine and ten are a statistical suffix. Everything after the sixth digit is national, which is why one product can carry different full codes in different countries.
Customs authorities use this code to decide what a product is, what duty it owes and which trade rules apply. For importers, exporters and freight forwarders, it is the difference between a shipment that clears and one that gets flagged, delayed or hit with unexpected fees.
Who maintains the Harmonized System?
The Harmonized System is maintained by the World Customs Organization, an intergovernmental body based in Brussels. The WCO looks after the HS nomenclature and updates it every five to six years. According to the WCO, more than 200 countries and economies use the HS as the basis for their customs tariffs and trade statistics, and over 98% of the merchandise in international trade is classified under it.
The first six digits of an HS code are identical everywhere the system is used. A shipment of roasted coffee leaving Colombia and a shipment of roasted coffee arriving in Japan share the same opening six digits. That common language is what makes modern trade statistics, free trade agreements and customs cooperation possible. (We go deeper on this shared base in what the first six digits of an HS code mean under the WCO Harmonized System.)
Countries diverge in what comes after those six digits.
Pick a time on the calendar that loads next — no email back-and-forth.
How is an HS code structured?
An HS code is built as a hierarchical tree that you read two digits at a time. At the top sit 21 broad sections grouping related industries: live animals, vegetable products, chemicals, textiles, machinery and so on. Inside the sections are chapters, then headings, then subheadings.
What do the first two digits of an HS code mean?
The first two digits of an HS code identify the chapter. There are 99 chapters, each covering a category of goods. Chapter 09 covers coffee, tea, maté and spices. Chapter 61 covers knitted apparel. Chapter 84 covers nuclear reactors, boilers and machinery. Not every chapter number holds goods, though: the Canada Border Services Agency’s tariff guide notes that Chapter 77 is reserved by the WCO for future use, and Chapters 98 and 99 are reserved for each country’s own use.
What does the four-digit heading tell you?
The four-digit heading narrows a chapter down to a specific product family. Digits three and four, read together with the chapter, make the heading. Within Chapter 09, heading 0901 is reserved for coffee, whether or not roasted or decaffeinated, plus coffee husks and substitutes containing coffee.
What does the six-digit subheading tell you?
The six-digit subheading describes the product with real specificity. Subheading 0901.21 covers coffee that is roasted and not decaffeinated. Subheading 0901.22 covers coffee that is roasted and decaffeinated. Same heading, different attributes, different code.
That six-digit subheading is the international common ground. From there, every country builds its own extension.
How does the U.S. turn a six-digit HS code into a ten-digit HTS number?
The United States adds four digits to the WCO’s six-digit base in the Harmonized Tariff Schedule of the United States (HTSUS), the document that governs U.S. import classification. The U.S. International Trade Commission (USITC) publishes the HTSUS, and U.S. Customs and Border Protection (CBP) enforces it at the border. The four extra digits split into two pairs that do different jobs.
Digits seven and eight are the U.S. tariff rate lines. They subdivide the international subheading into categories that matter for American duty rates and trade policy. Two products that share a six-digit code internationally can face very different U.S. tariffs depending on what digits seven and eight say.
Digits nine and ten are the statistical suffix. They don’t usually change the duty owed. They break the tariff line down further for the Census Bureau, which uses them to publish detailed import and export statistics. That is how a trade economist can tell you how much coffee the U.S. imported last year, and also how much of it was certified organic, arrived in retail-ready packaging, or came in containers under a certain weight.
So a fully classified U.S. import code might look like 0901.21.0030. The first six digits match the WCO standard; the last four carry U.S.-specific tariff and statistical detail.
Why does the same product have different codes in different countries?
The same product has different full codes in different countries because international harmonization stops at six digits, and each country writes its own digits from the seventh onward. The European Union uses an eight-digit Combined Nomenclature (CN), then adds two more digits, called TARIC, for measures such as anti-dumping duties. Canada also uses a ten-digit code, but digits seven through ten reflect Canadian tariff policy. Japan, China, India, Brazil and the United Kingdom all keep their own national extensions.
Take a particular grade of stainless steel pipe. It might be 7304.41.6045 in the United States, 7304.41.0010 in Canada, and 7304.41.00 with a different TARIC suffix in the European Union. The first six digits agree. Everything after them is local.
There is a second reason for divergence, and it happens inside the shared six digits. It is interpretive. Customs authorities sometimes disagree about which heading or subheading best describes a borderline product. A multifunctional device, a novel material or a product that combines features from two chapters can be classified one way in one country and another way somewhere else, especially before the WCO issues guidance.
Can you reuse a foreign supplier’s HS code on a U.S. entry?
You cannot copy a foreign supplier’s full classification onto a U.S. entry and assume it will hold up. The first six digits are a shared language, but digits seven through ten have to be determined under U.S. rules, using the HTSUS and CBP rulings. Those digits decide the duty, eligibility for trade preference programs and statistical reporting.
Reading a tariff heading well is a real skill. It means understanding the section notes, the chapter notes and the General Rules of Interpretation (GRI), the legal rules that decide between competing classifications; our guide to reading the General Interpretative Rules correctly walks through them. But it starts with knowing what each pair of digits means and where it comes from. Once you can see the structure, the code reads as what it is: a carefully built map of everything the world buys and sells.
Frequently asked questions
How many digits does an HS code have?
The international HS code has six digits: chapter, heading and subheading, two digits each. National schedules add more. The U.S. HTSUS uses ten digits, the EU an eight-digit Combined Nomenclature plus two TARIC digits, and Canada ten.
What is the difference between an HS code and an HTS code?
An HS code is the six-digit international code from the WCO’s Harmonized System. An HTS code is the ten-digit U.S. version from the Harmonized Tariff Schedule of the United States. It keeps the same first six digits and adds a two-digit U.S. tariff rate line and a two-digit statistical suffix.
Are the first six digits of an HS code the same in every country?
The first six digits of the HS nomenclature are the same in every country that uses the Harmonized System. Customs authorities can still disagree about which six-digit subheading fits a borderline product, such as a multifunctional device or a novel material. So the same physical product can sometimes be classified under different six-digit codes in two countries.