Blog
August 24, 2026
8 min read

Calculating Moroccan customs duties by product

Import duty, the parafiscal levy and VAT do not share a base. The full cascade, the order of operations, and the documents that make the figure reproducible.

Breakdown of the landed cost of a Moroccan import

Three levies, three different bases. The order of calculation is not an accounting convention: it changes the amount.

The most widespread error in an import calculation is not using the wrong rate. It is applying the right rate to the wrong base. Import duty is levied on the customs value; import VAT is levied on that same value increased by the duties and taxes already assessed. Reversing the order, or forgetting a layer, produces a gap that lands entirely in the margin.

The four amounts to assemble before opening the calculator

1

Customs value

CIF Moroccan frontier, all adjustments included

2

Ten-digit line

It carries the rate; the six-digit subheading does not

3

Proven origin

Preferential or general — two distinct rates

4

Declared procedure

Home use or suspension

None of these four elements can be derived from another. Each has its own supporting document.

Until those four elements are fixed, any figure produced is an estimate. Most often it is the third that is missing: an origin announced by the supplier is not a proven origin, and a preference claimed without valid evidence on the day of declaration is assessed at the general rate.

The cascade on a value of MAD 100,000

The example below is entirely hypothetical. The rates are there to show the mechanics of the cascade; replace them with the ones your line actually carries on the date of the transaction.

StepBaseAssumed rateAmountNext base
Customs value (CIF)100,000100,000
Import dutyCustoms value10%10,000110,000
Parafiscal import levyCustoms value0.25%250110,250
Import VATValue + duty + levy20%22,050
Total due on assessment32,300

Note that VAT is not calculated on 100,000 but on 110,250. A calculation of "10% + 0.25% + 20% = 30.25% applied to 100,000" gives MAD 30,250, which is MAD 2,050 less. On a regular flow, that methodological gap repeats on every declaration.

Import VAT22050 MAD

Recoverable where the right to deduct is open

Import duty10000 MAD

Permanent cost, not deductible

Parafiscal levy250 MAD

Permanent cost

Relative weight of each levy in the example above. VAT dominates, but it is usually recoverable — which import duty never is.

Invoice, freight and adjustments: what enters the customs value

The customs value is not the invoice amount. It starts from the price actually paid or payable, then adds the elements that are not always shown on it and removes those that do not belong.

To add

Freight and insurance to the point of introduction, buying commissions excluded but selling commissions included, the cost of containers and packing, assists supplied free of charge by the buyer (moulds, dies, drawings), royalties and licence fees related to the goods, and any proceeds of resale accruing to the seller.

To exclude, if separated and justified

Transport charges after the point of introduction, installation or assembly costs incurred after importation, the import duties and taxes themselves, interest under a written financing agreement, and discounts actually granted before the declaration.

Each of those lines must be separable in a document. A lump sum for "transport and sundry charges" that mixes pre- and post-arrival legs is not deductible: absent a breakdown, the whole amount stays in the base. The methodological framework is set out in the WTO customs valuation material; the exchange rules applicable to foreign-currency amounts fall under the Office des Changes regulations.

From HS code to cash provision

  1. D−15

    Freeze classification and origin

    Before shipment, not on arrival. A missing preference is discovered while the certificate can still be obtained, not when the goods are on the quay.

  2. D−7

    Cost the expected assessment

    Full cascade on the estimated value, with the ten-digit line retained. The amount provisioned is the total due, not the import duty alone.

  3. D0

    Declare and assess

    Compare the assessment obtained against the amount provisioned. A gap above the threshold you set opens an analysis, not a silent budget adjustment.

  4. D+5

    Reconcile and explain the gap

    Three causes cover nearly every case: customs value recomputed, national line different from the one planned, origin not accepted for want of compliant evidence.

  5. D+30

    Fix the master data

    If the gap comes from a product record or a declaration template, fix it there. Otherwise the same error returns on the next shipment.

Check the line that carries the rate

A rate is never read on a six-digit subheading. Open the full national line and check, on the same record, the import duty rate, the unit of measure expected, and the measures attached — technical control, licence, sanitary restriction.

8471300000Open the tariff record 6109100000Open the tariff record

Receipts and imports: two measures not to confuse

Published customs receipts and the value of imports measure different things. The former aggregate duties, import VAT and domestic taxes actually collected over a budget period; the latter measure the value of flows over a calendar period. Dividing one by the other does not produce an "average rate" usable in a quotation.

The trade series are published in the Office des Changes 2025 indicators, and the administration's activity in the ADII 2024 annual report. The two publications have distinct scopes and calendars: always state which one you are citing.

Before communicating a landed cost to a client or a purchasing committee

Control pointStatusWhat you must be able to show
The ten-digit line is the approved oneRequiredNot the one from the last file, nor the supplier's.
VAT is calculated after duty and the levyRequiredThe ordering error is the most frequent and the most silent.
The preference is backed by valid origin evidenceRequiredOtherwise, cost at the general rate and flag the gap.
Customs value based on the invoice aloneBlockingBlocking if freight, insurance or free-of-charge assists have not been handled.
Post-assessment charges added to the landed costTo doTransit, handling, storage, fees, guarantee cost.

822.2

MAD bn imported

761.3 in 2024

469.1

MAD bn exported

456.3 in 2024

353.1

MAD bn deficit

Not published: calculated below

Morocco's foreign trade, calendar year 2025. Source: Office des Changes, foreign trade indicators to end-December 2025.

The deficit and the coverage ratio are not given as such: they are calculated from the two series. The check consists of recovering the changes the source itself publishes.

QuantityCalculationResultCheck
2025 deficit822,223 − 469,075MAD 353,148 m
2024 deficit761,272 − 456,342MAD 304,930 m
Deficit growth353,148 / 304,930 − 1+15.81%Published: +15.8%
Coverage 2025469,075 / 822,22357.05%
Coverage 2024456,342 / 761,27259.94%
Change in coverage57.05 − 59.94−2.89 pointsPublished: −2.9 points

The last two lines land on the published changes, which validates the reading of the series. That is the only serious use of these aggregates: checking that you are reading the right quantity.

Underlying series: Office des Changes 2025 indicators, product detail in Office des Changes statistics, international comparisons in UN Comtrade.

Update the calculation when the transaction changes

Redo the calculation if the Incoterm changes — it moves the boundary of included freight — if origin changes, if the procedure changes, if the tariff edition changes, or if a retroactive price adjustment occurs after the declaration. That last case is the one most often forgotten: a year-end rebate granted on goods already imported has customs consequences, not only accounting ones.

Related articles