Abstract
This paper analyzes Morocco's progressive transition toward a more flexible exchange rate regime using an agent-based modeling (ABM) framework. Nine simulations with three levels of flexibility (±20%, ±50%, and full float), capture the multi-layered interaction between exchange-rate fluctuations, firm-level behaviours, and macroeconomic dynamics. The results uncover that while greater flexibility can boost competitiveness, fiscal space, and export responsiveness, it also accentuates firm-level vulnerabilities, especially for import-dependent sectors. Exporters experience double exposure to both cost and financing volatility, while importers face liquidity constraints that grow under full float. Sectorial layers highlight the structural heterogeneity of Morocco's economy, and macroeconomic findings expose that only intermediate flexibility (±50%) could balance stability and adaptability. The study highlights the importance of gradual reform sequencing, developed hedging instruments, and stronger domestic value chains to guarantee that monetary flexibility translates into sustainable and inclusive growth.