The invention relates to a sucrose octasulfate of magnesium, having general formula I, the preparation method thereof and the use of same in the pharmaceutical and/or cosmetic field, wherein 0≦n≦4, n is an integer and Y represents OH, Cl, Br, I, NO3, C6H5O7, CH3CO2, CF3CO2 or —OCH3.