What is an HS code, and how do you find yours?
A plain-English guide to HS codes: how the six digits are built, why countries add more, and a step-by-step method for finding the right code for your product.
By border.bot team, , 5 min read. Updated
Topics: hs codes, classification, basics
Every product that crosses a border is declared to customs with a number. That number, the HS code, decides how much duty is charged, whether the goods need a licence or inspection, and which line of the trade statistics they land in. Get it right and your parcel clears quietly. Get it wrong and you risk delays, penalties or a customer who refuses a surprise bill at the door.
This guide explains what an HS code is, how its digits are built, and a practical method for finding the right one for your product.
What an HS code is#
HS stands for the Harmonized Commodity Description and Coding System, usually shortened to the Harmonized System. It is maintained by the World Customs Organization (opens in a new tab) and used by customs authorities in almost every country as the common language for describing goods.
The system covers everything that can be traded, from live animals to aircraft, and arranges it from raw materials to finished, manufactured products. Because the first six digits are shared internationally, a code assigned in one country means the same family of goods in another.
How the digits are built#
An HS code is a hierarchy. Each pair of digits narrows the description:
| Level | Digits | Example | Meaning |
|---|---|---|---|
| Chapter | 2 | 61 | Articles of apparel and clothing accessories, knitted or crocheted |
| Heading | 4 | 6109 | T-shirts, singlets, tank tops and similar garments, knitted or crocheted |
| Subheading | 6 | 6109.10 | Of cotton |
Above the chapters sit 21 sections, which group related chapters. Section XI, for example, covers textiles and textile articles. There are 97 chapters, with chapter 77 reserved for future use.
Six digits is where the international system stops. Countries then add their own digits for tariff rates and statistics, which is why the same T-shirt has a longer, country-specific code in the United States, the European Union, the United Kingdom and Canada. We explain those national codes in HS vs HTS vs CN/TARIC: the digits explained.
The rules behind every classification#
Classification is not a keyword search. It follows the General Rules for the Interpretation of the Harmonized System (often called GRIs or GIRs), applied in order:
- Headings and notes come first. Classification is decided by the wording of the headings and the section and chapter notes. Section and chapter titles are for reference only.
- Incomplete goods and mixtures. An unfinished or unassembled article is classified as the finished article if it already has its essential character. Mixtures and combinations of materials are dealt with under the next rule.
- When more than one heading fits. Prefer the most specific description; if that doesn’t settle it, classify by the material or component that gives the goods their essential character; if it is still a tie, take the heading that comes last in numerical order.
- Goods that fit nowhere go under the heading for the goods they are most akin to.
- Cases and packing. Fitted cases, such as a camera case sold with the camera, and normal packing materials usually follow the goods they hold.
- Subheadings are compared with each other using the same rules, only at the same level.
In practice, rule 1 decides the large majority of products. The trap is reading only the short heading text: the chapter and section notes often include or exclude goods explicitly, and they are legally binding.
A step-by-step method for finding your code#
1. Describe the product precisely#
Customs classifies what the product is, not what it is called. Write down:
- what it is, in plain words (“insulated stainless steel drinking bottle”);
- what it is made of, with percentages for blends;
- what it does and who it is for;
- how it is made, when that matters (knitted or woven, moulded or machined);
- whether it is a set, a part or an accessory.
2. Find the section and chapter#
Start broad. Is it a textile article, a machine, a plastic article, a toy? Skim the section titles to find the right neighbourhood, then read the notes at the start of the section and chapter. They often redirect you: certain textile goods, for instance, are excluded from the apparel chapters.
3. Choose the heading#
Compare the four-digit headings within the chapter. Apply rule 1 strictly: the heading text plus the notes. If two headings seem to fit, work through rule 3.
4. Narrow to the subheading#
Within the heading, choose the six-digit subheading, comparing only subheadings at the same level (rule 6). Material and function are the usual deciders here.
5. Extend to the destination’s digits#
Look up the subheading in the tariff of the country you are shipping to and pick the national line. The destination’s official tariff, such as the US Harmonized Tariff Schedule (opens in a new tab) or the UK Trade Tariff (opens in a new tab), is the authority for those extra digits.
6. Sanity-check against rulings#
Search published rulings for similar products. The US publishes its customs rulings in CROSS (opens in a new tab), and the EU publishes binding tariff information decisions. A ruling on a near-identical product is strong evidence; a ruling that disagrees with you is a warning sign.
7. Write down your reasoning#
Record the description you classified, the heading and notes you relied on, and any rulings you checked. If customs ever questions the code, this is your defence, and it makes re-checking easy when the tariff changes.
Common mistakes#
- Classifying by product name. “Yoga set” or “gift box” says nothing about material or function.
- Reusing your supplier’s code. The exporter’s code may be for a different country, a different tariff version, or simply wrong.
- Padding a six-digit code with zeros. National digits are real subdivisions, not filler.
- Ignoring materials. For textiles, plastics and metals, the material often decides the heading.
- Mixing up parts and accessories. Parts frequently classify with the machine they belong to, but there are many exceptions in the notes.
- Never revisiting codes. The HS is amended periodically (the current edition is HS 2022, and the next is scheduled for 2028), and national tariffs change more often.
When to get a binding ruling#
If a product is high-value, regulated, or genuinely ambiguous, ask the destination’s customs authority for an advance or binding ruling. It takes time, but it gives you legal certainty for that product. A licensed customs broker can also review your classification.
How border.bot helps#
Our free HS code classifier follows the same logic: describe the product or paste its page, choose the destination, and you get the code in that country’s format with the official description at every level, a confidence score, the reasoning and the closest alternatives. Uncertain results are flagged for review, so you know which products to check further.
More guides
All guidesHS vs HTS vs CN/TARIC: the digits explained
Why one product has a 6-digit HS code, a 10-digit US HTS code, an 8-digit EU CN code and a 10-digit TARIC code, and which one goes on which document.
, 4 min read
Classify products from Claude and ChatGPT
Connect the border.bot MCP server to Claude, ChatGPT or Cursor, then classify products, check origin and estimate landed cost from a chat. Setup and tips.
, 4 min read. Updated
The EU’s €3 customs duty on parcels under €150
Since 1 July 2026 the EU charges a temporary €3 customs duty on low-value parcels, once per tariff classification. What it covers, who pays and how it adds up.
, 2 min read