Inherently layered magnetic materials, such as magnetic M n+1 AX n (MAX) phases, offer an intriguing perspective for use in spintronics applications and as ideal model systems for fundamental studies of complex magnetic phenomena. The MAX phase composition M n+1 AX n consists of M n+1 X n blocks separated by atomically thin A-layers where M is a transition metal, A an A-group element, X refers to carbon and/or nitrogen, and n is typically 1, 2, or 3. Here, we show that the recently discovered magnetic Mn 2 GaC MAX phase displays structural changes linked to the magnetic anisotropy, and a rich magnetic phase diagram which can be manipulated through temperature and magnetic field. Using first-principles calculations and Monte Carlo simulations, an essentially one-dimensional (1D) interlayer plethora of two-dimensioanl (2D) Mn-C-Mn trilayers with robust intralayer ferromagnetic spin coupling was revealed. The complex transitions between them were observed to induce magnetically driven anisotropic structural changes. The magnetic behavior as well as structural changes dependent on the temperature and applied magnetic field are explained by the large number of low energy, i.e., close to degenerate, collinear and noncollinear spin configurations that become accessible to the system with a change in volume. These results indicate that the magnetic state can be directly controlled by an applied pressure or through the introduction of stress and show promise for the use of Mn 2 GaC MAX phases in future magnetoelectric and magnetocaloric applications.