To find the HS code for an export, start with the six-digit Harmonized System code maintained by the World Customs Organization, then look up the full national code (usually eight or ten digits) in the importing country's official tariff: the UK Trade Tariff, the EU's TARIC, the US Harmonized Tariff Schedule, or, for trade inside Africa, the AfCFTA e-Tariff Book. Classify using the General Interpretative Rules, not a keyword search, and if the money at stake is large, ask the importing country's customs for a binding ruling. The code is not paperwork for its own sake. It sets the duty rate, decides which rules of origin your product must meet, and triggers product-specific regulations.
This guide explains how the code is built, how to classify step by step, and where African exporters most often get it wrong, with examples from cocoa, shea and apparel.
How an HS code is built
The Harmonized System is an international nomenclature maintained by the World Customs Organization. The first six digits are common to every country that uses it. Countries add their own digits for tariff and statistical purposes.
| Level |
Digits |
Example |
Set by |
| Chapter |
2 |
18: Cocoa and cocoa preparations |
WCO |
| Heading |
4 |
1803: Cocoa paste, whether or not defatted |
WCO |
| Subheading |
6 |
1803.10: Not defatted |
WCO |
| National tariff line |
8 to 10 |
1803 10 00 00 (UK) |
Importing country or customs union |
Because only the first six digits are shared, "the HS code" on an exporter's invoice and the ten-digit commodity code on the importer's declaration are not the same thing. The importer's broker declares the importing country's code. Your job as exporter is to make sure the six digits you put on your documents match the product, and that your product description is precise enough for the broker to reach the same answer.
The HS changes every few years
The current edition, HS 2022, entered into force on 1 January 2022 with 351 sets of amendments. The next edition is already fixed: the WCO announced in January 2026 that HS 2028 will enter into force on 1 January 2028, with 299 sets of amendments. Codes get split, merged and deleted between editions, so a code copied from an old certificate or a supplier's 2019 invoice may no longer exist. Check the edition your importing country is using on the date of shipment.
Why the right code matters
| What the code controls |
What goes wrong with the wrong code |
| Duty rate |
You pay too much, or underpay and face a demand for the difference plus penalties |
| Preference eligibility |
Rules of origin are written per heading or subheading; under the wrong code you may apply the wrong rule and lose the preference on audit |
| Regulatory controls |
Some regulations list products by HS code; the EU Deforestation Regulation's Annex I is an example |
| Licences and standards |
Import permits, conformity programmes and sanitary checks are often scoped by code |
| Trade statistics |
Your exports are counted in the wrong product line |
The penalties are real. In the United States, for example, 19 U.S.C. § 1592 provides civil penalties for entries made through negligence, gross negligence or fraud, which can include material misclassification. Other customs administrations have equivalent powers to recover duty and penalise errors.
How to classify, step by step
1. Describe the product precisely
Before you search anything, write down what the product is made of, how it was processed, what it is used for, and how it is packed. "Shea" is not a description. "Unrefined shea butter, solid, in 25 kg cartons, for use as a cosmetic and food ingredient" is. Most misclassifications start with a vague description.
2. Find the chapter and heading by reading the legal texts
Classification follows the General Interpretative Rules (GRIs) that open every national tariff. The first rule is the one that matters most: classification is determined by the terms of the headings and any relevant section or chapter notes, not by the chapter titles and not by what a search box suggests. Read the chapter notes; they often exclude products you would expect to find there. Only if the headings and notes do not settle it do you move to the later rules (incomplete or mixed goods, the most specific description, essential character, and finally the heading that occurs last in numerical order).
3. Go down to the six-digit subheading
Compare subheadings at the same level only. Read the subheading notes if the chapter has any.
4. Look up the national code in the importing country's tariff
Use the official source for the destination market:
Third-party lookup sites can help you find a starting point, but they are not authoritative and some carry out-of-date codes. Always confirm on the official tariff and note the date you checked.
5. Check rulings
Customs authorities publish past classification decisions. The US CROSS database and the EU's European Binding Tariff Information database let you see how customs classified products like yours. A ruling issued to someone else is not binding on your shipment, but it shows customs' reasoning.
6. Get a binding ruling when the stakes justify it
If duty or preference turns on the classification, ask for a binding decision before you ship. In the UK, an Advance Tariff Ruling is generally valid for three years as long as the goods and circumstances do not change, and you must apply before the goods are imported. The EU's equivalent is Binding Tariff Information. The importer normally applies, so agree with your buyer who does it.
Examples from African exports
Cocoa: the processing stage changes the code and the duty
Chapter 18 separates cocoa by how far it has been processed: beans (1801), shells and husks (1802), paste or liquor (1803), butter (1804), powder without added sugar (1805), and chocolate and other preparations (1806). The duty can change at each step. In the UK tariff, checked on 17 November 2026, raw cocoa beans carry a 0% third-country duty, while cocoa paste, not defatted carries 8% unless the importer claims a preference with valid proof of origin. For Ghanaian, Ivorian, Cameroonian and Nigerian paste, a preference to 0% was available on that date. So the classification decides whether origin paperwork matters at all. The worked numbers are in the landed-cost walkthrough.
Shea: nut, butter or cosmetic
Shea is a good test of reading the product, not the plant:
- Shea nuts and kernels are oil seeds in heading 1207. In the UK tariff checked on 17 November 2026, heading 1207 has no separate shea line, so they fall under "other oil seeds" (1207.99).
- Shea butter, crude or refined, is a vegetable fat. US Customs rulings on shea butter from Ghana, Côte d'Ivoire and Togo, searchable in CROSS, have placed it in subheading 1515.90 (other fixed vegetable fats and oils).
- A finished skin cream containing shea is no longer a fat. It is a cosmetic preparation, which the HS places in chapter 33.
The commercial point: the same supplier may ship all three, and each needs its own code on the invoice.
Apparel: knitted or woven decides the chapter
Garments are split by construction. Knitted or crocheted apparel is in chapter 61; apparel that is not knitted or crocheted (woven) is in chapter 62. A cotton T-shirt is knitted, in heading 6109. In the UK tariff checked on 17 November 2026, cotton T-shirts carry a 12% third-country duty, with preferences available for many African origins. Apparel rules of origin are strict and often depend on where the fabric was made, so the code and the origin rule have to be checked together. See AfCFTA rules of origin in plain language for how product-specific rules are read.
Classification inside Africa
For trade between AfCFTA state parties, the same six-digit HS applies, and the AfCFTA e-Tariff Book shows each state party's tariff commitments by code. Whether a given product is already trading at a reduced AfCFTA rate depends on the specific tariff line and the countries involved; see is your product trading under AfCFTA yet and the AfCFTA overview.
Common mistakes
- Copying the supplier's code. The seller's code may be right for their export declaration and wrong for your import. Check it yourself.
- Searching by keyword. Search tools surface headings that contain your word, not the heading the legal notes point to.
- Ignoring processing. Roasting, grinding, refining, mixing and packing for retail can all move a product to a different heading.
- Using an old edition. Codes change with each HS edition; HS 2028 arrives on 1 January 2028.
- Vague descriptions on documents. If the invoice says "agricultural products", the broker has to guess, and customs may query the entry.
The short version
Describe the product precisely, classify with the GRIs and the chapter notes, confirm the full code on the importing country's official tariff, and date your check. Where duty or preference turns on the answer, get a binding ruling before the first shipment. Then make the code and the description identical across every document, which is covered in the export documentation checklist.
Frequently asked questions
How many digits does an HS code have?
Six digits are shared internationally. The World Customs Organization sets the two-digit chapter, four-digit heading and six-digit subheading, and each importing country or customs union adds its own digits to make a national tariff line, usually eight or ten digits long. The importer's broker declares that full national code, not the exporter's six digits.
Can I use my supplier's HS code?
Not without checking it. The seller's code may be right for their export declaration and wrong for your import, and a code copied from an old certificate or invoice may no longer exist after an HS edition change. Classify the product yourself using the General Interpretative Rules, then confirm the full code on the importing country's official tariff.
Which HS edition is currently in force?
HS 2022, which entered into force on 1 January 2022 with 351 sets of amendments. The next edition, HS 2028, enters into force on 1 January 2028 with 299 sets of amendments, as the WCO announced in January 2026. Codes get split, merged and deleted between editions, so check the edition your importing country uses on the shipment date.
What is the HS code for shea butter?
1515.90, according to US Customs rulings. Rulings on shea butter from Ghana, Côte d'Ivoire and Togo, searchable in the CROSS database, placed it under other fixed vegetable fats and oils. Shea nuts and kernels are different: they are oil seeds in heading 1207. A finished skin cream containing shea is a cosmetic preparation in chapter 33.
How long is a UK Advance Tariff Ruling valid?
Generally three years, as long as the goods and circumstances do not change. You must apply before the goods are imported, and the importer normally makes the application, so agree with your buyer who does it. The EU's equivalent is Binding Tariff Information. A ruling issued to someone else shows customs' reasoning but is not binding on your shipment.
Are free HS code lookup websites reliable?
Not on their own. Third-party lookup sites can give you a starting point, but they are not authoritative and some carry out-of-date codes. Confirm the code on the importing country's official tariff, such as the UK Trade Tariff, the EU's TARIC, the US Harmonized Tariff Schedule or the AfCFTA e-Tariff Book, and note the date you checked.
AfroSynergy connects international buyers with African exporters. Listings open on 15 January 2027. To source a product or find a counterparty now, send us an enquiry.