Morocco Stock Tax Calculator (2025)

Calculate your exact capital gains tax (TPI) instantly. Updated with the latest Moroccan Finance Law rates.

Moroccan Stock Taxes Explained

1. Capital Gains Tax (TPI)

When you sell a stock for a profit on the Casablanca Bourse, the state levies a 15% tax on the net capital gain. Your broker usually withholds this automatically at the source, meaning the money deposited into your account is already after-tax.

2. What about Capital Losses?

If you sell a stock at a loss, you don't pay tax on it. In Morocco, you can offset these capital losses against capital gains made within the same calendar year.

3. The PEA Exemption

The Plan d'Epargne en Actions (PEA) is a tax-advantaged account designed to encourage long-term investing in the Moroccan economy. If you hold a PEA for 5 years without making any withdrawals, your capital gains drop to 0%. (Note: A PEA has a maximum deposit limit of 2,000,000 MAD).

💡 Note on Dividends

This calculator is for Capital Gains (selling shares at a profit). Dividends are taxed separately. As of 2025, the withholding tax on dividends is dropping progressively. Check our Learn section for more details on dividend taxes.

Tax Breakdown

Gross Profit / Loss5000.00 MAD
Capital Gains Tax (TPI) 15%-750.00 MAD
Net Profit4250.00 MAD

Want a portfolio that tracks taxes automatically?

BoursaLik is the only Moroccan app that shows you your Net Liquidation Value — your portfolio value with all taxes and fees already deducted.

Start Tracking for Free