HTS code
Definition
An HTS code (Harmonized Tariff Schedule Code) is the 10-digit number the United States uses to classify a product being imported, so customs can set the duty rate, check trade-program eligibility, and record trade statistics for that good.
The full US system is the Harmonized Tariff Schedule of the United States (HTSUS), maintained by the US International Trade Commission (USITC) and enforced at the border by US Customs and Border Protection (CBP).
It builds on the global six-digit Harmonized System (HS) code but adds four US-specific digits, so an HS code from a foreign supplier is only the first half of the number US customs actually needs.

The 10-digit HTS code 0901.21.0010, broken into its five parts — the first six digits are the global HS code, the duty rate is set at eight digits, and the last two are for trade statistics.
Think of the whole tariff schedule as one giant filing cabinet with a drawer for every product on earth. To find any single item, you open the right drawer, then the right folder, then the right file inside it. An HTS code is just the label that records which drawer, folder, and file your product lives in. It is 10 digits long, and you read it left to right, with each step narrowing from "roughly what is this" down to "this exact thing."
Two words come up constantly once you start reading the schedule, so it helps to pin them down first:
A section is one of the 22 big themed parts the schedule is split into, like "live animals and animal products," "textiles and clothing," or "machinery and electrical equipment." Sections exist only to help a human find their way around. They are numbered with Roman numerals (I to XXII), and they never appear in the code itself.
A chapter is the next level down, and this is where the code actually starts. There are 99 chapters, each one a single product family, and the chapter number is the first two digits of every HTS code. Chapter 09 is coffee, tea, and spices. Chapter 61 is knitted clothing. Chapter 85 is electrical machinery. The range is huge, running from Chapter 01 (live animals) at one end to Chapter 97 (works of art and antiques) at the other. A few slots are set aside rather than used for products, so Chapter 77 sits empty and Chapters 98 and 99 are reserved for special US rules.
From there, each pair of digits zooms in further. Take the coffee code from the diagram, 0901.21.0010, and watch it narrow:
It starts in Chapter 09, the drawer for coffee, tea, maté, and spices.
Inside that, heading 0901 is the folder for coffee specifically, as opposed to tea or pepper. A "heading" is just a group of related products sitting inside a chapter.
Subheading 0901.21 narrows again, this time to roasted coffee that has not been decaffeinated.
The final digits pin down the exact commercial detail, which here is certified-organic roasted coffee.
Here is what each part of the 10 digits is doing:
Chapter (first two digits): the broad product family. Chapter 61 is knitted clothing, Chapter 85 is electrical machinery, Chapter 87 is vehicles. This is the widest bucket, and there are 99 chapters in all.
Heading (next two digits): a group of related products inside that chapter. Within Chapter 61 (knitted clothing), heading 6109 is the group for T-shirts and similar tops.
Subheading (digits five and six): a finer split inside the heading, and the point where the international part ends. Those first six digits are the HS code that more than 200 countries share, so the first six digits of a T-shirt are the same whether it lands in the US, Germany, or Japan.
US tariff line (digits seven and eight): the first US-only piece, and the one that matters most for your wallet, because this is where the legal text and the actual duty rate are set.
Statistical suffix (last two digits): the finest level, used by the US Census Bureau to track trade data. On its own, it does not change what you owe.
Putting that together, the code tells customs the product family, the standard (Normal Trade Relations) duty rate, and whether the good qualifies for a lower rate under a trade agreement. Separate Chapter 99 codes can then stack extra tariffs on top, which is where a lot of today's headline tariffs actually live.
Where it's used
Every business that imports goods into the US relies on HTS codes: importers of record, manufacturers sourcing foreign parts or raw materials, freight forwarders, and licensed customs brokers.
The people who assign or check the code are usually the customs broker, an in-house trade-compliance team, and the operations and finance staff who own landed cost and duty budgets. The code is required at the customs entry stage where it appears on the entry summary (CBP Form 7501) and on the commercial invoice, filed electronically through CBP’s Automated Commercial Environment (ACE) when the shipment arrives at a US port.
How it's used
Here’s how the customs process works:
Classify the product. Work out what it is made of, what it does, and how it is built, following the six General Rules of Interpretation plus the binding section and chapter notes.
Find the code. Search the official USITC HTS Search Tool (hts.usitc.gov), then confirm against the legal text and CBP’s CROSS database of past rulings. For certainty, request a binding ruling from CBP.
Enter it on the paperwork. The 10-digit code goes on the entry summary and the commercial invoice, filed through ACE.
Drive the duty math. CBP uses the code and country of origin to pick the rate column, then applies that rate to the entered value. Extra tariffs are added with separate Chapter 99 codes on the same entry.
Clear the port. The shipment is released if no issues are found, and CBP later "liquidates" the entry as its final duty assessment.
Where to find your HTS code
Free, official tools — no account needed
USITC HTS Search Tool
The official US import schedule. Search by product keyword or code and drill down to the full 10 digits. This is the authoritative source.
CBP CROSS
A database of past Customs rulings. Check how CBP has already classified goods like yours — stronger than guessing from the schedule.
Census Schedule B Tool
For exports, not imports — a different (though related) code. Do not use it to find an import HTS code.
Still unsure?
For a legally certain answer, request a binding ruling from CBP — they confirm the correct code in writing.
Examples
Here are some examples of items we are familiar with:
Start with something simple: a cotton T-shirt. 6109.10.0004
You are shipping in plain cotton tees, so you begin at the widest bucket and work down. Clothing that is knitted lives in Chapter 61, which gets you the first two digits. Inside that chapter, the folder for T-shirts and similar tops is heading 6109. Now customs wants to know what the shirt is made of, and subheading 6109.10 is the cotton one. Those six digits are the international HS code, so far identical to how any country would classify the same shirt. The US then adds its own piece: 6109.10.00 is the tariff line that sets the duty, and here that is 16.5%. The last two digits, 6109.10.0004, just record the exact style, in this case a men's white short-sleeve tee with no pocket or trim. One shirt, one code, 16.5% owed.
Now jump to a completely different aisle: a smartphone. 8517.13.0000
Nothing about clothing carries over. Electronics sit in Chapter 85, electrical machinery and equipment, so the code opens somewhere entirely new. Heading 8517 covers gear for transmitting voice or data, and subheading 8517.13 is for smartphones specifically. Here is the surprise: when you reach the US tariff line, 8517.13.00, the duty rate is Free. A high-value phone can cross the border owing nothing, while that humble cotton tee owes 16.5%. The rate has nothing to do with how expensive or advanced the product is, and everything to do with which line it lands on.
Finish with the code from the diagram above: roasted coffee. 0901.21.0010
Food takes us somewhere else again. Coffee, tea, and spices share Chapter 09, and coffee gets its own folder at heading 0901. From there the schedule cares about how the coffee was processed, so subheading 0901.21 is roasted coffee that has not been decaffeinated. Like the smartphone, the US tariff line 0901.21.00 comes in at Free. The final digits, 0901.21.0010, single out one very specific version, certified-organic roasted coffee, which shows how far down the last two digits can reach.
Line the three up and the lesson is obvious. A cotton T-shirt owes 16.5%, while a smartphone and a bag of roasted coffee both walk in Free. Swap that shirt's cotton for polyester, or drop the organic certification on the coffee, and you slide onto a different line with a different rate. Small details decide the code, and the code decides the bill.
Types and variations
HTS codes are not one of those terms that come in lots of flavors. There is really just one system: the ordinary 10-digit product code, which covers everything in Chapters 1 through 97. Almost every code you will ever touch is one of these. What actually trips people up is two special chapters that behave differently, and a small set of lookalike codes that are easy to confuse with the real thing. Let's take them in that order.
Two special chapters that ride along
Chapters 98 and 99 are not product families like the rest. The key thing to understand is that they do not replace your normal code. Instead, you write one of them as a second code, sitting right next to the product code on the same entry, and it adjusts what you actually owe. Picture the product code as the item on your receipt, and these as a coupon or a surcharge stapled next to it. The item itself does not change, but the final total does.
Chapter 98 usually works in your favor. It covers special situations where you earn a break. Say you make parts in the US, ship them abroad to be assembled into a finished product, then bring that product home. A Chapter 98 code can mean you pay duty only on the foreign labor that was added, rather than on the whole item all over again.
Chapter 99 usually works against you. This is where temporary and extra tariffs live, including the Section 232 and Section 301 duties that have been all over the news. When one of those applies, it appears as a Chapter 99 code alongside your product code, piling cost on top of the normal rate.
Three lookalikes people mix up
One idea untangles all of these at once: every one of these codes is built on the same six-digit core, the HS code. Think of those six digits as a shared first name that every country in the system agrees on. After that, each country adds its own last name, and what the code is for depends on who is using it.
HTS code vs HS code. The HS code is just those first six digits, the international standard the whole world starts from. The HTS code is the US version that adds four more digits on the end, ten in total. You would quote the six-digit HS code on an international document like a supplier's invoice, but customs needs the full ten-digit HTS code before it will let goods into the US. Six digits gets you to the right neighborhood; ten gets you the exact house.
HTS code vs Schedule B. These two are twins facing opposite directions. Both are US ten-digit codes and share the same first six digits, but the HTS code (run by the USITC) is for goods coming in, and it sets the duty you pay. Schedule B (run by the Census Bureau) is for goods going out, and it mostly exists to count exports. In a pinch an HTS code can stand in for a Schedule B number on an export, but it never works the other way around.
US HTS vs other countries' codes. Every country in the system shares those same first six digits, then adds its own tail. The US uses ten digits, the EU uses eight (with extra digits bolted on for certain rules), and others sit somewhere in between. So the same bag of coffee has matching first six digits in New York, Hamburg, and Tokyo, but the digits after that, and the duty attached to them, are different in every one.
FAQ
How many digits is an HTS code?
A US HTS code is 10 digits. The first six are the international Harmonized System (HS) code shared worldwide, and the last four are added by the United States for its own duty rates and trade statistics. Since the duty rate itself is set at the eight-digit level, always confirm the full 10-digit code before filing an entry, rather than stopping at six or eight.
Who assigns HTS codes?
The US International Trade Commission maintains the schedule, and US Customs and Border Protection interprets it and issues binding rulings. But no one hands you a code. The importer of record is the one responsible for choosing the correct one, using reasonable care, and while a supplier or broker can help, that legal responsibility always stays with the importer.
Is an HTS code the same as an HS code?
No. The HS code is the global six-digit standard from the World Customs Organization, used by more than 200 countries. The HTS code is the US-specific 10-digit version that takes those six digits and adds four more. A "harmonized code" from an overseas supplier is usually only the six-digit HS portion, so you still need to work out the full US HTS code before you can import.
Where do I find the correct HTS code?
Start with the official USITC HTS Search Tool at hts.usitc.gov, searching by product keyword or code and drilling through chapter, heading, and subheading. Because keyword search can mislead, check the legal text and chapter notes, then review CBP's CROSS database of past rulings to see how similar goods were treated. For anything unclear, request a binding ruling from CBP.
What happens if I use the wrong HTS code?
The wrong code means the wrong duty, so you either overpay and lose margin, or underpay and create a liability. Misclassification can also trigger shipment holds, cargo exams, penalties under 19 U.S.C. §1592, and audit exposure, and the importer of record carries all of that even when a broker filed the entry. The one bit of good news is that disclosing your own errors early tends to reduce the penalty.
Turn documents into decisions.
See how Docxster gets you from inbox to insight in minutes, not days. Bring your toughest workflow — we'll show you what it looks like solved.

