The firm opens soon. Guides and calculators are already free to use —get notified when we open
Tax

Tax loss carryforward in Morocco: time limits, exceptions and how to offset losses

A tax loss can be offset against profits for the next four financial years, while the depreciation portion carries forward indefinitely. Method, tracking and example.

Published 10 min readLevel: BeginnerEl Arabi Aich

In brief
  • A financial year’s tax loss can be deducted from the profit of the following year, and if insufficient, from subsequent years up to the fourth year following the loss-making year (General Tax Code (CGI), art. 12).
  • Losses attributable to depreciation regularly recorded in the accounts and deducted may be carried forward indefinitely.
  • Deducting a carried-forward loss does not eliminate the minimum corporate tax contribution (cotisation minimale), which remains payable outside the 36-month exemption period.
  • Maintaining a tracking schedule by year of origin prevents tax losses from expiring unused.

A business that loses money is not penalised twice: the loss can be offset against future profits, reducing the tax due in those years. However, the right to carry losses forward is time-limited, and letting a tax loss expire through lack of tracking is a very common mistake.

The rule under Article 12

The General Tax Code (CGI) sets out two principles:

  1. Ordinary carryforward: a financial year’s tax loss may be deducted from the profit of the following financial year. If there is no profit, or if the profit is insufficient, the remaining balance may be deducted from the profits of subsequent financial years up to the fourth financial year following the loss-making year.
  2. Exception for depreciation (and amortisation): the time limit does not apply to the portion of the loss corresponding to depreciation regularly recorded in the accounts and included in the deductible expenses of the financial year. This portion can be carried forward indefinitely.

The tax loss is offset in the corporate tax return when computing taxable profit.

A step-by-step example

A company records the following taxable results (before loss carryforward):

Financial year Taxable result
Y −900,000 (including 300,000 in depreciation)
Y+1 +200,000
Y+2 +100,000
Y+3 +150,000
Y+4 +250,000
Y+5 +600,000

The loss in year Y breaks down into two parts:

  • Ordinary tax loss: MAD 600,000, available for carryforward up to and including Y+4.
  • Depreciation-related loss: MAD 300,000, available for carryforward indefinitely.

Offset schedule:

Financial year Profit Ordinary loss offset Depreciation loss offset Taxable profit
Y+1 200,000 200,000 0 0
Y+2 100,000 100,000 0 0
Y+3 150,000 150,000 0 0
Y+4 250,000 150,000 (balance) 100,000 0
Y+5 600,000 0 (expired) 200,000 400,000

At the end of Y+4, MAD 200,000 of depreciation-related loss remained. Only the ordinary loss had reached its expiry date (and it was fully used). In Y+5, corporate tax (IS) is calculated on MAD 400,000, giving MAD 80,000 at 20%.

Note on ordering: the CGI does not prescribe a mandatory order between ordinary losses and depreciation-related losses; prudent practice is to use up the time-limited portion first.

A second example: two consecutive losses and a partial expiry

A company’s taxable results (before loss carryforward) are: Y: −500,000; Y+1: −200,000; Y+2: +100,000; Y+3: +120,000; Y+4: +150,000; Y+5: +300,000; Y+6: +500,000. No depreciation is included in the losses: all losses are ordinary.

The loss from Y can be carried forward up to and including Y+4; the loss from Y+1 up to and including Y+5. The oldest loss is offset first:

Financial year Profit Offset against Y loss Offset against Y+1 loss Taxable profit Corporate tax at 20%
Y+2 100,000 100,000 0 0 0
Y+3 120,000 120,000 0 0 0
Y+4 150,000 150,000 0 0 0
Y+5 300,000 expired 200,000 100,000 20,000
Y+6 500,000 500,000 100,000

At the end of Y+4, the Y loss expires: 500,000 − (100,000 + 120,000 + 150,000) = 130,000 lost. Regardless of the order chosen, this loss could not be saved, because available profits during the carryforward window for Y’s loss (Y+2 to Y+4) totalled only 370,000. The more recent Y+1 loss had to wait until Y+5 to be offset, which preserved it.

Practical takeaway: when a tax loss nears expiry and a profit is achievable, the timing of transactions and the schedule of genuine income and expenses (invoicing a service, making a delivery, deciding on a provision) should be planned with your tax adviser, while respecting the economic reality of the financial year.

Tax losses, minimum contribution and tax instalments

A loss-making company pays no corporate tax on profits, but it remains liable for the minimum corporate tax contribution (cotisation minimale) outside the exemption period (art. 144). For the following year’s quarterly tax instalments, the reference tax is either the corporate tax due or the minimum contribution if higher: a loss-making year with a minimum contribution of MAD 3,000 therefore results in quarterly instalments of 25% × MAD 3,000 = MAD 750 each. See the articles on corporate tax instalments and the minimum corporate tax contribution.

How much is a carried-forward tax loss worth?

A tax loss is not just a figure on a schedule: it represents future tax savings, provided it is used before it expires. Take an ordinary loss of MAD 1,000,000 recorded in year Y, using a 20% corporate tax rate for illustration, and taxable profits of MAD 100,000, 150,000, 200,000 and 250,000 in Y+1 to Y+4.

Financial year Profit Loss offset Taxable profit Corporate tax saved (20%)
Y+1 100,000 100,000 0 20,000
Y+2 150,000 150,000 0 30,000
Y+3 200,000 200,000 0 40,000
Y+4 250,000 250,000 0 50,000
Total used 700,000 140,000
Expired loss 300,000 Tax saving lost: 60,000

Out of a MAD 1,000,000 loss, 300,000 is forfeited due to insufficient profits within the four-year window. If the company had been able, through genuine business decisions (invoicing a service earlier, delivering before year-end), to bring forward MAD 300,000 of profit from Y+5 into Y+4, it would have saved an extra MAD 60,000 in tax. This shows why it pays to calculate each year, alongside the budget, the absorption capacity for every carried-forward loss.

The depreciation trade-off: why you must book depreciation even in a loss year

A struggling company may be tempted to skip booking depreciation so as to report a smaller accounting loss. For tax purposes, this is an expensive mistake.

Decision Accounting result Carried-forward loss Consequence
Depreciation of 300,000 recorded −900,000 600,000 ordinary + 300,000 depreciation (unlimited) The 300,000 remains available indefinitely
Depreciation not recorded −600,000 600,000 ordinary The 300,000 is lost: unrecorded depreciation is not deductible later

Recording depreciation even in a loss-making year preserves an unlimited carryforward right. It is also required under accounting principles: depreciation is mandatory even where there is no profit (see the article on accounting principles).

Tax losses and corporate events

Situation Impact on the tax loss Precaution
Change of director or shareholders In principle, no impact on the carryforward right Check the rules under Article 12 and the special merger regime
Sale of the company A company’s tax losses remain with it, though their value to the buyer depends on operations Tax due diligence quantifies the usable loss
Merger into a profitable company Transfer of losses is governed by the merger tax regime Obtain specialist advice before relying on the loss
Tax audit covering the loss-making year Possible reassessment of the loss amount Retain supporting records from the year of origin, even several years later
Very short financial year The loss carries forward like any other Same rules apply

Tracking losses in a spreadsheet: column template

A simple tracking table is enough for any SME.

Column Content
A Financial year of origin
B Opening ordinary tax loss
C Opening depreciation-related loss
D Final year to offset ordinary loss (year of origin + 4)
E, F, G, H Amounts offset in subsequent financial years
I Remaining ordinary loss balance
J Remaining depreciation-related loss balance
K Alert (ordinary balance > 0 and current year = D)

With formulas (=MIN(balance, profit) for the offset and =B-SUM(E:H) for the remaining balance), the alert triggers automatically. Reviewing the schedule at each year-end alongside the estimated taxable profit allows you to take action before expiry.

What tax inspectors check during an audit

A tax inspector auditing a financial year in which a loss was offset will verify:

  1. The year of origin: was the loss properly recorded and declared?
  2. The depreciation portion: was depreciation regularly recorded in the accounts and tax-deductible?
  3. The time limit: is the offset of the ordinary portion taking place within the following four financial years?
  4. The amounts: does the offset stay within the available loss?
  5. The order of offset: was the oldest loss offset first?

For every loss-making financial year, keep the tax return package (liasse fiscale), the tax reconciliation schedule (tableau de passage) and supporting documents for material expenses. These records must be retained beyond the statutory ten-year period for as long as the loss is still being used.

What cannot be carried forward

  • A tax loss does not generate a tax refund (there is no loss carry-back).
  • It does not eliminate the minimum corporate tax contribution (CGI art. 144), which remains payable even without profit after 36 months of operation.
  • An expired loss (beyond the fourth following year) is permanently lost, excluding the depreciation portion.
  • A loss arising from irregular accounts may be disallowed by the tax authorities, even during a later, non-time-barred financial year in which it is used.

Monitoring losses: the dashboard table

Maintain a schedule broken down by financial year of origin:

Year of origin Ordinary loss Expiry Offset in Y+1 Y+2 Y+3 Y+4 Balance
Y 600,000 Y+4 200,000 100,000 150,000 150,000 0

Add a “depreciation-related loss” column and run an annual expiry check during year-end closing.

Mergers or changes in business activity

Carrying over tax losses in a restructuring transaction is strictly regulated (special merger regime and continuity-of-business conditions). Before relying on an existing tax loss in an acquisition or merger, have its usability confirmed by a tax adviser.

Best practices

  1. Record all depreciation charges, even in a loss-making year: an unrecorded charge is lost, along with the indefinite carryforward right.
  2. Document the calculation of every tax loss in the tax reconciliation schedule.
  3. Avoid artificially inflating expenses to create a tax loss: they will be added back on audit.
  4. Plan ahead: if a significant profit is expected, check the expiry date of each loss before deferring revenue or accelerating expenses.

Quick reference: tax loss carryforward in seven figures

Benchmark Value
Ordinary loss carryforward period Up to the fourth financial year following the loss-making year
Depreciation portion carryforward period Unlimited
Corporate tax rate used to value the loss (example) 20%
Value of an ordinary MAD 1,000,000 loss if fully used MAD 200,000 in tax saved
Loss unused if profits during the window fall short Tax saving lost
Minimum contribution during a loss period Payable outside exemption (at least MAD 3,000)
Documents to keep Tax return package, tax reconciliation schedule, supporting records for the loss year

Five habits to adopt:

  • Record all depreciation, even in a loss year, to preserve the unlimited carryforward portion.
  • Track every loss in a schedule showing its final expiry year and an annual alert.
  • Offset the oldest loss first, as it expires soonest.
  • Build expiry dates into the budget: when a strong profit is forecast, check what losses remain available.
  • Have loss usability verified before any sale or merger, as loss transfers are strictly regulated.

Special cases and borderline situations

A company changes its business activity. The carryforward right survives in principle, but the tax authorities may examine the continuity of the business; seek confirmation before relying on an old loss.

A company is absorbed in a merger. Transferring tax losses in merger transactions is subject to strict conditions; obtain a tax adviser’s opinion beforehand.

The loss results from a contested tax reassessment. The final loss amount depends on the outcome of the dispute; update the tracking schedule after each ruling.

A company ceases trading with unused losses. Unabsorbed losses are lost upon cessation: review available options with your adviser (disposal, asset sales, offsetting liquidation income).

Losses are large and long-standing. Draw up a usage schedule against profit forecasts: an expiring loss is a permanent loss of tax savings.

Frequently asked questions

How many years can an ordinary tax loss be carried forward?

A tax loss can be deducted from the profit of the following financial year; if there is no profit or the profit is insufficient, the remaining balance may be deducted from the profits of subsequent financial years up to the fourth year following the loss-making financial year.

Is depreciation treated differently?

Yes. The time limit does not apply to the portion of the loss corresponding to depreciation regularly recorded in the accounts and included in the deductible expenses of the financial year (art. 10-I-F-1°-b). That portion can be carried forward indefinitely.

Does a loss-making company still pay tax?

Yes, the minimum corporate tax contribution (minimum MAD 3,000) remains payable, except during the first 36 months of operation. It is calculated on turnover and other operating income, not on profit.

Can a company choose the order in which multiple losses are offset?

In practice, the oldest loss is offset first so that it does not expire. This rule of prudence follows directly from the limited carryforward period.

Reference texts
  • General Tax Code (CGI) 2026, art. 12 — tax loss carryforward
  • CGI 2026, art. 10-I-F-1°-b — depreciation charges
  • CGI 2026, art. 144 — minimum corporate tax contribution (cotisation minimale)

This article presents general rules as at the date shown; it does not replace an analysis of your situation. The French version of the texts prevails.

El Arabi Aich

Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.

Related articles

A question about your situation?

Tell us about your project: we reply within 48 business hours with a draft engagement letter.