According to the method for measuring the content of the components in the iron ore through the X-ray fluorescence spectrometry, ammonium bromide is used as a mold release agent, the mold release effect is good, the wall hanging phenomenon is remarkably reduced, and a platinum crucible needs to be repaired after being used for about 90 days under the normal condition, so that the platinum crucible is protected, serious corrosion to the platinum crucible is avoided, and the service life of the platinum crucible is prolonged. The service life of the platinum crucible is prolonged, and the maintenance cost of the platinum crucible is reduced; the X-ray fluorescence spectrophotometer can normally detect TiO2, the TiO2 does not need to be independently detected, and the detection period is shortened; according to the method, the content of elements or components in the iron ore is determined by adopting the X-ray fluorescence spectrometry, TFe, SiO2, Al2O3, CaO, MgO, S, P, TiO2 and MnO in the iron ore are determined by optimizing the material ratio, the process steps and the process parameters, and the method has relatively high precision and accuracy and is convenient, rapid and efficient.