Obligations déclaratives à la sortie (cession, franchissement de seuil à la baisse, clôture des comptes)
Exiting Morocco cleanly is a five-step paper chain: trade, tax, threshold notice, FX proof, account closure.

Exit checklist for a foreign investor: (1) the trade is executed through a société de bourse and settled via Maroclear (J+3); (2) the account-keeper / depositary bank operates any applicable withholding tax and remits it to the DGI (individuals not covered by an intermediary must self-file within 30 days of the month of disposal); (3) any DOWNWARD crossing of the 5% / 10% / 20% / 1/3 / 50% / 2/3 thresholds must be notified to the issuer, the AMMC and the Exchange within 5 business days; (4) repatriation is executed by the intermediary bank against evidence of the original FX inflow and of tax clearance; (5) on total exit, the securities account and the non-resident FX/convertible-dirham accounts are closed with the depositary bank.