HS code meaning: What it is, examples & how to find it
Every product in world trade has an address, and it's written in six digits. That address is the HS code—a Harmonized System classification number maintained by the World Customs Organization (WCO) that gives customs authorities a common language for identifying products across borders.
Once a product is assigned its HS code, that classification determines how it is treated in international trade, from the duty rates and import requirements applied at the border to the trade statistics used by governments worldwide.
Understanding the meaning and structure of HS codes is essential for accurate customs declarations and efficient global shipments.
This guide explains what an HS code represents, how the six-digit structure works with examples, how to find the correct classification for your product, and the key considerations for importing into Egypt.
What is an HS code?
HS stands for Harmonized System, formally the Harmonized Commodity Description and Coding System: the international product-classification language developed and maintained by the World Customs Organization (WCO) and used by customs administrations across the world. The system gives every tradable product a place in a single hierarchy, so a shipment of roasted coffee or network switches is classified the same way at its first six digits whether it lands in Alexandria or Rotterdam.
Universal classification: one system, used globally, updated periodically in editions.
The customs and duty basis: the code determines which tariff rate and which import requirements apply.
Trade data: governments compile import and export statistics by HS code.
Six digits are international: the first six digits are the shared standard; anything beyond them belongs to individual countries.
HS code structure & example (what it looks like)
The code is a hierarchy that narrows from broad to specific, two digits at a time:
85
Chapter
digits 1 and 2
23
Heading
digits 3 and 4
51
Subheading
digits 5 and 6
....
National extension
digit 7 onward
| Digits | Level | What it identifies |
|---|---|---|
First 2 | Chapter | The broad product family |
First 4 | Heading | The product group within the chapter |
First 6 | Subheading | The specific product, internationally standardized |
7th onward | National extension | Country-specific detail for tariffs and statistics |
Example:
A good example of HS classification in the technology sector is flash memory. The HS system classifies products by moving from a broad category to a more specific product description:
These first six digits—8523.51—represent the internationally recognized HS classification used across countries that follow the Harmonized System.
Beyond the six-digit level, countries may add additional digits to create their own tariff and statistical classifications. Egypt follows this approach by extending the international HS code with additional national digits. The complete Egyptian tariff code combines the globally recognized six-digit HS classification with Egypt’s own extensions, and this full code is what determines the applicable duty rate, import requirements, and customs treatment in Egypt.
This example also highlights an important point: the HS code classifies what the product is for customs purposes, not how it functions in a specific technical application. Separate systems, such as export-control classifications like ECCN, may apply when determining whether technology or equipment requires export authorization.
How to find your HS code?
The lookup question has a reliable method, and it runs from your product's characteristics down through the hierarchy:
Describe the product by what it is, not what it's called
Classification follows material, function, and composition, so start from those characteristics rather than the brand or marketing name.
Work down the structure
Find the chapter that fits the product family, then the heading, then the subheading that matches most specifically.
Use an official lookup
Confirm against official sources: the WCO's HS database for the international six digits, and the national tariff of the importing country, the Egyptian customs tariff for shipments to Egypt, for the extended code and rate.
Confirm with a specialist for anything borderline
Products that straddle categories, kits, and multi-material goods are where classification disputes live, and a customs broker or classification specialist settles them before customs does.
One caution that protects you: don't copy a code from a similar-looking product listing online. Codes age, editions change, and someone else's classification is not evidence for yours; the official tariff is.
Why HS codes matter (and the cost of getting them wrong)?
The code isn't administrative decoration; it's the number everything else is calculated from:
Duty and VAT follow the code
The tariff rate applied to your shipment is the rate attached to its classification, as the tariff guide explains.
Requirements follow the code
Whether goods need regulatory approvals or face restrictions is determined by what they're classified as.
Misclassification costs both ways
The wrong code means overpaying duty on every shipment, or underpaying and facing reassessment, penalties, delays, and in serious cases, seizure.
Clearance speed follows accuracy
Classification queries are among the most common reasons shipments wait at Egyptian ports, covered in the importing to Egypt guide.
HS code vs. HTS code
Every HTS code starts with an HS code, but the reverse is not true. The HS code is the global six-digit product classification maintained by the WCO, while the HTS code adds additional national digits used for import duties and customs reporting.
| Feature | HS Code | HTS Code |
|---|---|---|
Definition | The six-digit international product classification system maintained by the World Customs Organization (WCO). | A country's tariff schedule that extends the HS code with additional digits for national use. |
Number of Digits | 6 digits | More than 6 digits (varies by country, such as 8–10 digits). |
Purpose | Provides a globally standardized product classification for international trade. | Determines country-specific duty rates, import requirements, and trade statistics. |
Relationship | The international base classification. | Every HTS code begins with an HS code and adds extra digits for national tariff and statistical purposes. |
Used By | Countries worldwide. | Individual countries with their own tariff schedules (e.g., the U.S. HTS, EU TARIC). |
India's HSN (Harmonized System of Nomenclature) follows the same principle. It is India's national classification system built on the six-digit HS code and extends it with additional digits for GST, customs, and domestic taxation purposes.
HS codes for importing into Egypt
At Egyptian customs, the HS code is where clearance starts: the Nafeza filing carries it, the duty and VAT are calculated from the extended Egyptian code, and any approval requirements attach to it. That makes classification the first decision of the import, not a detail at the end, and it's part of what we carry as your registered importer through the importer of record service, where the code is confirmed before the goods move rather than argued after they arrive.