The Filali unit corresponds to a Barrovian crustal section consisting of micaschists at the top that evolve into migmatitic paragneiss at the base. The latter are separated from the overlying micaschists and the underlying Beni Bousera complex (peridotites and an extremely thinned HP granulitic cover) by extensional detachments. Three metamorphic stages are distinguished in the Filali migmatites:a prograde kyanite-bearing metamorphic assemblage (M1), a syn-thermal peak sillimanite-bearing assemblage (M2) and a retrograde cordierite-bearing assemblage (M3). Phase equilibrium modelling constrains P-T conditions of 6.75-7.25 Kbar and 510-550℃, 6.8-8.2 kbar and 755-805℃ and 3-5.25 and 600-765℃ for M1, M2 and M3 stages, respectively, indicating a clockwise P-T path. The early two stage of this trajectory corresponds to an isobaric heating of the base of the Filali unit, related to their tectonic juxtaposition against the underlying Beni Bousera complex through an extensional detachment. This prograde evolution gave rise to anatexis of the Filali gneiss through dehydration melting of muscovite and biotite, and is followed by a near-isothermal decompression during their exhumation through the detachment that separates them from the micaschists. These migmatitic rocks, like the underlying Beni Bousera peridotites and their HP granulite cover, are involved in a differential extensional unroofing linked to the Lower Miocene back-arc extension associated with the westward retreat of Alpine subduction.