All articles
Duties & ClassificationJuly 18, 202610 min read

HS Codes Explained: How to Find Yours and Why It Decides the Duty You Pay

Every product that crosses a border carries a number, and that number does more work than almost anything else on the paperwork. It tells customs what your goods are, sets the duty rate they attract, decides which taxes and trade rules apply, and flags whether a licence or inspection is needed. It is called an HS code, short for Harmonized System, and it is used by customs authorities in more than 200 countries covering almost all of world trade. Get it right and your shipment clears smoothly at the duty you expected. Get it wrong and you can overpay for years, underpay and face penalties, or watch a container sit at the border while someone argues about what is inside it. Here is how the system is built, how to find the correct code, and where classification goes wrong.

6 digits
the internationally standardised part of an HS code; countries add more digits for their own tariffs
200+
countries and economies that classify goods with the WCO Harmonized System
~98%
of world merchandise trade classified under the Harmonized System
~5,600
six-digit HS subheadings, grouped into 99 chapters and 21 sections

Source: World Customs Organization, Harmonized System (HS 2022).

Look up an HS code

Find the right Harmonized System code for your product and see how classification drives the duty, taxes, and paperwork on every shipment.

Search HS codes

What an HS code is, and who runs it

The Harmonized System is a global product-classification framework maintained by the World Customs Organization. It gives every traded product a numeric code so that a customs officer in one country reads the same code the same way as one on the other side of the world. More than 200 countries and economies use it, and it covers close to 98% of merchandise trade. When you see a commodity code, a tariff code, or an HTS number, the first six digits are the international HS code underneath.

The reason it exists is simple: trade needs a common language for goods. Without it, every country would describe products its own way and nothing would line up, not duties, not statistics, not trade agreements, not restrictions. The HS is that shared language, and the WCO updates it about every five years to keep pace with new products. The current edition is HS 2022.

One number, a lot of consequences

Your HS code determines the duty rate your goods attract, the import taxes that apply, whether a trade agreement can lower the rate, and whether a licence, quota, or inspection is triggered. It also feeds the trade statistics governments publish. A single misclassification can therefore change what you pay on every shipment of that product, which is why classification is worth getting right once, properly.

How the code is built, digit by digit

An HS code looks like a random string until you see the structure. It is a nested hierarchy that gets more specific as you read left to right:

  • Chapter (first 2 digits). The broad category. Chapter 09 is coffee, tea, and spices; Chapter 85 is electrical machinery. There are 99 chapters grouped into 21 sections.
  • Heading (first 4 digits). A product group within the chapter. Under Chapter 09, heading 0901 is coffee.
  • Subheading (first 6 digits). The internationally standard level. 0901.21 is roasted coffee, not decaffeinated. These six digits are the same in every country that uses the HS.
  • National digits (7 to 10). Countries add more digits for their own tariff and statistics. The US HTS uses 10, the EU Combined Nomenclature uses 8, and TARIC extends to 10. These extra digits set the precise duty rate.

So the first six digits are universal and the rest are local. When a supplier in one country gives you a code and your customs uses a longer one, the six-digit core should still match. If it does not, someone has classified the product differently, and that is worth resolving before the goods ship.

How to find the right code

Classification is a skill, but the method is learnable. A reliable approach:

  • Describe the product precisely. What it is made of, what it does, and how it is presented for sale. A cotton t-shirt, a knitted polyester jacket, and a leather belt all sit in different places. Material and function drive the code.
  • Work down the hierarchy. Find the right section and chapter first, then the heading, then the subheading. Do not jump straight to a six-digit guess from a search box.
  • Read the section and chapter notes. The HS has legal notes at the top of each section and chapter that include or exclude specific goods. They override a plain-language reading and are where most classification arguments are settled.
  • Use the General Rules of Interpretation. The HS has six ordered rules for tricky cases: sets, mixtures, incomplete goods, and items that could fit two headings. They decide the tie, in order.
  • Check the destination country's own tariff. The six-digit HS is universal, but the duty rate lives in the national extension. Confirm the full code and rate in the importing country's tariff schedule, not just the six-digit stem.
  • When the value or volume is high, get a ruling. Most customs authorities issue binding classification rulings. For a product you will ship for years, a ruling turns a judgment call into a certainty and protects you from later reassessment.

Six digits are global, the duty is local

The first six digits of an HS code are identical in every country that uses the Harmonized System, but the duty rate is set by the extra national digits each country adds. That means a supplier's six-digit code is a starting point, not the final answer: you still have to confirm the full eight or ten digit code, and the rate, in the tariff of the country you are importing into.

Why misclassification is expensive

A wrong HS code is not a paperwork typo, it is a financial and compliance exposure:

  • Overpaying duty. Classify into a higher-duty heading than necessary and you quietly overpay on every single shipment, sometimes for years before anyone notices.
  • Underpaying and penalties. Classify too low and customs can reassess, backdate the difference, and add penalties and interest. Underpayment is the customs authority's job to find, and they do.
  • Delays and holds. A code that does not match the goods, or that triggers a licence or inspection you did not expect, can strand a shipment at the border and rack up demurrage while it waits.
  • Missed trade-agreement savings. Preferential duty under a free-trade agreement is tied to the correct classification and origin. The wrong code can forfeit a lower rate you were entitled to.
  • Compliance risk. Persistent misclassification, even innocent, can flag your business for audit. Consistent, defensible classification is part of being a low-risk importer.

The bottom line

An HS code is the six-digit number the whole trading world uses to identify your product, and it sits underneath the duty you pay, the taxes you owe, the agreements you can use, and the checks you face at the border. The first six digits are the same everywhere; the digits after them are national and set the actual rate, so a supplier's code is where you start, not where you stop. Classify carefully, from the material and function of the goods, using the section and chapter notes and the interpretation rules, and confirm the full code and rate in the destination country. For anything high-value or high-volume, a binding ruling turns guesswork into certainty. Do it well once and every future shipment clears at the rate you planned, instead of becoming an argument at the border.

Look up an HS code

Find the right Harmonized System code for your product and see how classification drives the duty, taxes, and paperwork on every shipment.

Search HS codes

Frequently asked questions

What is an HS code?

An HS code, short for Harmonized System code, is an internationally standardised number used to classify traded products. It is maintained by the World Customs Organization and used by more than 200 countries and economies, covering close to 98% of world trade. The first six digits are the same in every country that uses the system and identify the product; individual countries then add further digits to set their own duty rates and collect statistics. Customs authorities use the code to decide the duty rate, applicable taxes, trade rules, and whether any licence or inspection is required.

How many digits is an HS code?

The international HS code is six digits, structured as a two-digit chapter, a four-digit heading, and a six-digit subheading. Individual countries extend it for their own tariffs: the European Union's Combined Nomenclature uses eight digits, and both the United States HTS and the EU's TARIC go to ten. The first six digits are always identical across countries; the extra national digits determine the precise duty rate, so a full import code is usually eight or ten digits depending on the destination.

How do I find the right HS code for my product?

Start by describing the product precisely, including what it is made of and what it does, since material and function drive classification. Work down the hierarchy from section and chapter to heading and subheading rather than guessing a six-digit code directly, and read the legal notes at the top of each section and chapter, which include or exclude specific goods. For difficult cases, apply the HS General Rules of Interpretation, which resolve sets, mixtures, and goods that could fit two headings. Finally, confirm the full code and duty rate in the destination country's own tariff, and for high-value or high-volume products, request a binding classification ruling from customs for certainty.

What happens if I use the wrong HS code?

Using the wrong HS code can cost you in several ways. If the code carries a higher duty than necessary, you quietly overpay on every shipment. If it carries a lower duty, customs can reassess the goods, backdate the difference, and add penalties and interest. A code that does not match the goods, or that unexpectedly triggers a licence or inspection, can hold the shipment at the border and generate demurrage. It can also forfeit preferential duty you were entitled to under a trade agreement, and repeated misclassification can flag your business for audit.

Who maintains the Harmonized System?

The Harmonized System is maintained by the World Customs Organization, an intergovernmental body based in Brussels. The WCO sets the international six-digit structure and updates it roughly every five years to reflect new products and trade patterns; the current edition is HS 2022. Individual countries and customs unions then build their national tariff schedules on top of that six-digit base, adding further digits for their own duty rates and statistics, which is why the codes align internationally at six digits but diverge beyond that.