Disclosing the behavior under hydrostatic pressure of rhombohedral MgIn2Se4 by means of first-principles calculations.