Anatectic magmas form plutons or accumulate in the core of anatectic domes. Both scenarios have distinct implications on the behaviour of the continental crust during orogenic evolution from collision to collapse. Considering a stepwise extraction of melt, we simulate the evolution of anatectic melt and of solid residues produced in the crust from collision to collapse using thermodynamic modelling. We also simulate the effect of entrainment of source material (restite-unmixing and peritectic assemblage entrainment) on the compositional range of the resulting magmas. The results are then compared to the compositions of lower crustal xenoliths and of peraluminous granites in both plutons and anatectic dome in the southeastern French Massif Central (SE-FMC). From our calculations, we identify two type of anatectic melts (1) cool-and-wet produced at low-temperature ( 750 °C) which only release fluids at the end of crystallisation. When emplaced around 0.4 GPa, cold-and-wet melts are produced by muscovite-dehydration melting reactions; hot-and-dry are produced by biotite-dehydration melting. In the SE-FMC, the Velay dome is cored by the Velay granite, intruded by small bodies of Velay leucogranite and surrounded by plutons made of either two mica leucogranite (MPG) or cordierite-bearing granite (CPG). MPG and Velay leucogranite compositions are best reproduced by cool-and-wet magmas. CPG and Velay granite compositions are best reproduced by hot-and-dry magmas. Melt extraction after biotite dehydration melting leaves residues that are similar in composition to lower-crustal xenoliths. Magmas forming plutons migrate freely toward the upper crust forming plutons with distinct compositions. On the contrary, to form a dome, magmas are retained on the way up. The emplacement and accumulation of magma at deeper level enhances (or trigger) melting due to the addition of heat (from hot-and-dry) and fluids (from cool-and-wet). The accumulation of magma and the in situ melting increases melt fraction and has consequence to weaken the middle crust and leads to the formation of an anatectic dome. We suggest that magmas are retained due to lithological heterogeneities in the crust. In the case of the Velay dome, a large orthogneiss formation similar to the Velay orthogneiss formation may have played that role.