HS code

Also known as: Harmonized System code

On this page 7

An HS code is a numeric product classification from the Harmonized System, the international nomenclature that customs authorities use to identify traded goods and apply duties, taxes, quotas and controls. In cross-border commerce, every physical product that crosses a border needs a correct HS code on its customs declaration, because the code decides how much the buyer or seller pays and which import rules apply.

The system is maintained by the World Customs Organization and is used by well over 200 economies. Its first six digits are shared internationally, while individual countries add further digits for their own tariff and statistical needs. The synonym Harmonized System code is used interchangeably with HS code.

How the Harmonized System structures an HS code

An HS code is hierarchical: each pair of digits narrows the product description. The nomenclature is organized into 21 sections and about 97 chapters, which divide into roughly 1,200 headings and more than 5,000 six-digit subheadings. Sections group broad product families, such as textiles or machinery, while chapters and headings describe materials, functions and degree of processing.

The table below breaks down a typical code for a cotton T-shirt, a product that online fashion stores ship daily.

LevelDigitsExampleMeaning
Chapter261Knitted or crocheted apparel
Heading46109T-shirts, singlets and other vests
Subheading66109.10Of cotton
National tariff line8 to 10Country-specificDuty rate and statistical detail
Anatomy of an HS code for a knitted cotton T-shirt

Classification is governed by the General Interpretive Rules, six rules applied in strict order. The first rule says that heading texts and legal notes decide, not the titles of sections or chapters. Later rules handle incomplete articles, mixtures, sets and products that seem to fit several headings, often by identifying the component that gives the item its essential character.

National extensions beyond six digits

The international HS code stops at six digits, so each customs territory extends it to define its own duty rates. Using only the six-digit code is usually enough to start an export, but the import declaration needs the full national tariff line of the destination country.

Territory or systemCode lengthMain use
International HS6 digitsShared basis for all members
EU Combined Nomenclature8 digitsEU tariff and trade statistics
EU TARIC10 digitsEU measures such as anti-dumping duties
US Harmonized Tariff Schedule10 digitsUS import duties and statistics
US Schedule B10 digitsUS export statistics
Common national and regional extensions

Because the extensions differ, the same product can carry different eight- or ten-digit codes in two countries while sharing the first six digits. Merchants that sell globally therefore store the six-digit code as a master attribute and map destination-specific tariff lines separately.

Why the HS code matters for online sellers

The HS code drives several cost and compliance outcomes at once. It determines the import duty rate, affects whether a shipment qualifies for preferential rates under trade agreements, and triggers product-specific rules such as licensing, safety certificates or restrictions on dual-use goods.

In checkout design, the code feeds landed cost calculation. Under Delivered Duty Paid terms, the merchant collects duties and import taxes at checkout and therefore needs an accurate code to quote the right total. Schemes such as the EU Import One-Stop Shop concern VAT collection rather than duty, but a correct classification is still required on the declaration.

The following table shows how the HS code relates to neighboring concepts that cross-border teams handle together.

ConceptWhat it answersRelation to the HS code
HS codeWhat is the productBasis for all tariff treatment
Import dutyHow much tariff is dueRate is looked up by code
Rules of originWhere the product comes fromOften defined as a change in HS code
Customs declarationWhat is being imported and by whomCarries the code as a mandatory field
De minimis thresholdBelow which value duty is waivedApplies regardless of code in most cases
HS code and related cross-border concepts

Classifying products correctly

Reliable classification starts from what the product is made of and what it does, not from its marketing name. A “smart bottle” may fall under plastics, metal articles or electrical apparatus depending on its material and function. Classifiers read the legal section and chapter notes, apply the interpretive rules in order and document the reasoning.

  • Record material composition, function and intended use for every product in the catalog.
  • Check the explanatory notes to confirm the scope of the selected heading.
  • Request a binding ruling from the destination customs authority for high-volume or ambiguous items.
  • Review codes when the nomenclature is amended, roughly every five years, as with the 2022 edition.

Tools that suggest codes from product descriptions speed up the work, but suggestions are not legally binding. The importer of record remains responsible for the declared code.

Common classification mistakes and their consequences

Misclassification is one of the most common causes of customs delays in e-commerce shipping. Errors can lead to underpaid duties, penalties, seized goods or refunds that are difficult to claim later.

MistakeConsequencePrevention
Using a generic code for many productsWrong duty rates and auditsClassify each product type separately
Classifying by product nameCode does not match the goodsClassify by material and function
Ignoring nomenclature updatesDeclarations with invalid codesReview codes after each HS edition
Copying the supplier’s code blindlyExport code used for importVerify the destination tariff line
Choosing a lower-duty code deliberatelyPenalties and loss of trustDocument reasoning and seek rulings
Typical HS code errors

A plain-language summary

An HS code is like a postal code for products. Just as a postal code tells the mail service where a letter should go, the HS code tells customs officers what kind of item is in a box, anywhere in the world.

Customs uses this number to decide how much tax and duty to charge and whether any special rules apply. If the number is wrong, the parcel may be delayed, cost more or be sent back. Getting the code right once saves trouble on every shipment that follows.

An example from practice

A small online store in the United States sells handmade leather wallets and canvas tote bags to customers in Europe. At first, it declares every parcel under one general code for “bags”, and several shipments are held at customs while officers request product details.

The owner reclassifies the catalog by material and function: leather wallets under heading 4202 for articles carried in the pocket or handbag, and cotton totes under the subheading for textile-surfaced bags. The store adds the six-digit codes to its product data and its shipping software maps them to the eight-digit EU tariff lines. Checkout now shows accurate duties under Delivered Duty Paid terms, and customs holds drop to almost zero within the next quarter.