Tax and regulations
Morocco VAT calculation 2026: from net (HT) to gross (TTC), with examples
The formulas for calculating VAT in Morocco in 2026, from net to gross and from gross to net, with worked examples at 20% and 10%, rounding to the cent and the mistakes to avoid.
By BILLX team5 min read
Calculating VAT in Morocco is an everyday task: pricing a quote, checking a supplier invoice or finding the net amount behind a price shown including tax. The formulas are simple, but working in the wrong direction, for example taking 20% off a gross price, gives the wrong VAT amount and therefore a wrong return.
Here are the VAT rates in Morocco in 2026, the three formulas you need (net to gross, gross to net, VAT amount) and worked examples checked to the cent. In Morocco, net is written HT (hors taxe) and gross TTC (toutes taxes comprises). To go faster, the Morocco VAT calculator does all of this for free, line by line.
Calculating VAT in Morocco, step by step
VAT rates in Morocco in 2026
Article 99 of the 2026 General Tax Code (CGI) provides for two rates: 20%, the standard rate, and 10%, the reduced rate, which only covers the transactions listed in the article, such as accommodation, catering and services provided by café operators. The 7% and 14% rates no longer exist. Some transactions are exempt (art. 91 and 92) or out of scope (art. 89): no VAT is invoiced. The details are in our guide to VAT in Morocco.
Morocco VAT calculation: from net (HT) to gross (TTC)
The formula: VAT = net × rate, then gross = net + VAT. In other words, gross = net × 1.20 at 20% and net × 1.10 at 10%.
- At 20%: MAD 4,500.00 net → VAT MAD 900.00 → MAD 5,400.00 gross.
- At 10%, for a group meal in a restaurant: MAD 2,350.00 net → VAT MAD 235.00 → MAD 2,585.00 gross.
From gross (TTC) to net (HT): divide, never subtract a percentage
The formula: net = gross ÷ (1 + rate), then VAT = gross − net.
- At 20%: MAD 6,000.00 gross ÷ 1.20 = MAD 5,000.00 net, so MAD 1,000.00 of VAT.
- At 10%: MAD 1,650.00 gross ÷ 1.10 = MAD 1,500.00 net, so MAD 150.00 of VAT.
The classic mistake is 6,000 × 20% = MAD 1,200, or 6,000 × 0.80 = MAD 4,800 net. The 20% applies to the net amount, not to the gross: this shortcut overstates the VAT by MAD 200.
Finding the VAT amount from the gross price
When you only have the gross amount, a shortcut skips the net step: at 20%, VAT = gross ÷ 6 (because 20/120 = 1/6); at 10%, VAT = gross ÷ 11 (because 10/110 = 1/11). With the examples above: 6,000.00 ÷ 6 = MAD 1,000.00 and 1,650.00 ÷ 11 = MAD 150.00. The result is the same.
An invoice with several lines, quantity and discount
On an invoice, each line is calculated separately: line net = price × quantity − discount. Example at 20%:
- Line 1: 12 × 350.00 = MAD 4,200.00, 10% discount (MAD 420.00) → MAD 3,780.00 net, VAT MAD 756.00.
- Line 2: 3 × 125.50 = MAD 376.50 net, VAT MAD 75.30.
- Totals: MAD 4,156.50 net, MAD 831.30 of VAT, MAD 4,987.80 gross.
If lines have different rates, total the VAT per rate: the invoice must show the VAT amount separately (art. 145-III-6°). See the mandatory invoice details.
Rounding to the cent
Each line is rounded to two decimals, half up (0.005 becomes 0.01), then the lines are added up. Example at 20%: MAD 99.99 gross ÷ 1.20 = 83.325, rounded to MAD 83.33 net; the VAT is 99.99 − 83.33 = MAD 16.66. This is the rule used by our HT ↔ TTC VAT calculator and by BILLX invoices, so both give the same total.
From invoiced VAT to VAT payable
The VAT on your sales is VAT collected. In general you pay over the difference between this VAT collected and the deductible VAT on your purchases (art. 101). The return is monthly if taxable turnover for the previous year reaches MAD 1,000,000, and quarterly below that (art. 108). To work it out, use the VAT collected and deductible VAT tool.
| Sector | Default rate | Legal basis (CGI 2026) | Certainty |
|---|---|---|---|
| Restaurants | 10% | Art. 99-B-1° | Legal rate |
| Hotels and accommodation | 10% | Art. 99-B-1° | Legal rate |
| Road freight transport | 10% since 1 January 2026 | Art. 247-XXXXI-G | Subject to conditions |
| Consulting, audit and accounting | 20% | Art. 89-I-12° | Legal rate |
| Building and construction | 20% (social housing exempt) | Art. 89-I-4° and 92-I-28° | Legal rate |
| Pharmaceutical products | Exempt with right to deduct | Art. 92-I-19° | Subject to conditions |
| Retail | 20% | Art. 99-A | Indicative |
Frequently asked questions
How do I calculate 20% VAT in Morocco?
Multiply the net amount by 0.20 to get the VAT, then add it to the net. Example: MAD 1,000.00 net → MAD 200.00 of VAT → MAD 1,200.00 gross.
How do I go from a gross price to a net price?
Divide the gross amount by 1.20 at 20% or by 1.10 at 10%. Example: MAD 1,100.00 gross at 10% → MAD 1,000.00 net and MAD 100.00 of VAT.
Does the 14% rate still exist in 2026?
No. Under article 99 of the 2026 CGI, only 20% and 10% remain. The transitional rates of the reform started in 2024 have reached their final level.
Does an auto-entrepreneur charge VAT?
Their situation is specific: read our article on tax for auto-entrepreneurs in Morocco and have an accountant confirm your case.
Further reading
Tax and regulations
Payment terms in Morocco: law 69-21 and unpaid invoices
What can be said about payment terms in Morocco and law 69-21, and a practical method to track due dates, chase an unpaid invoice and record payment promises.
· 5 min read
Tax and regulations
Auto-entrepreneur invoice in Morocco: template, mandatory details and 2026 rules
What the General Tax Code says about an auto-entrepreneur's invoice in Morocco, what to put on it in practice, and the good habits that get you paid without discussion.
· 5 min read
Tax and regulations
Auto-entrepreneur in Morocco 2026: tax, ceilings and returns
A 0.5% or 1% rate, ceilings of 500,000 and 200,000 MAD, the 80,000 MAD per-client rule, monthly or quarterly returns: the essentials of auto-entrepreneur tax in Morocco.
· 5 min read
Tax and regulations
E-invoicing in Morocco 2026: obligations, the DGI and where the timetable stands
What article 145-IX of the CGI provides, what the DGI had or had not published as of November 2026, and how to prepare your invoices without waiting for an official timetable.
· 5 min read
Tax and regulations
Credit notes in Morocco: how to cancel or correct an invoice
An issued invoice is never deleted: you correct or cancel it with a credit note. Here is when to use one, what it must show and how to number it in Morocco.
· 5 min read