The invention discloses a preparation method of sunscreen octyl triazone and the prepared octyl triazone and its application. The method comprises: step 1, carrying out esterification reaction between p-nitrobenzoic acid and isooctyl alcohol, Product I is obtained; step 2, product I undergoes hydrogenation reaction in the presence of a catalyst, after the reaction is completed, filter and distill under reduced pressure to obtain product II; step 3, add solvent to product II, and heat up to reflux, add solution A , to react, after post-treatment, to obtain octyl triazone. In the present invention, the sunscreen agent octyl triazone is efficiently prepared by using cheap and easily available p-nitrobenzoic acid as a raw material through esterification, hydrogenation, and coupling, and at the same time, isooctyl p-aminobenzoate is obtained, and the obtained octyl The triazone has high chromatographic purity and high yield, and has the advantages of less three wastes, low cost, environmental protection, simple operation, easy control, and easy realization of industrial production.