Mesoporous Mg-Al composite oxides with excellent structural and surface properties. A highly homogeneous incorporation of Mg into the mesoporous framework of alumina. A superior structural stability up to 1000 °C coupled with a large surface area. A salt effect from the addition of Mg(NO3)2·6H2O to explain the formation mechanism.