A procedure for quantitative analysis of trace element magnesium (Mg) in soft capsules (mainlycontaining vitamins, trace elements and herbal extracts) using atomic absorption spectroscopy(AAS) has been established.The sample was treated to convert the Mg compound to Mg+2 ion form in solution by heatingthe sample on a boiling water bath with 10% hydrochloric acid solution, with the addition ofPolysorbate 80. The sample was diluted with 1% hydrochloric acid solution, with the addition ofLaCl3 in the final solution for AAS measurement. The standard solutions were prepared by dilutingthe 1000 µg/ml magnesium stock standard solution with 1% hydrochloric acid solution. Using anatomic absorption spectrometer equipped with a Magnesium hollow cathode lamp and an acetyleneair flame, measure the atomic absorption of the standard and test solutions at the maximum spectralline of Magnesium at 285.2 nm. Calculate the results using the standard curve method.The method validation results showed that the method has high specificity, linear range from 0.1µg/ml to 0.5 µg/ml with correlation coefficient R2 = 0.9972, high accuracy (from 99.19 -101.39%),good repeatability with small CV% values (0.44 to 0.91%), the method's determination range isfrom 0.18 to 0.32 µg/ml