The invention relates to an application of ginkgolic acid in preparation of an external preparation for treating dermatopathy. The ginkgolic acid comprises ginkgoic acid, ginkgol, ginkgo diphenol, and the like, and can be obtained from extracts of leaves, fruit, exopleura, and rhizome of ginkgo by a chemical separation method. The dermatopathy is infectious, inflammatory, allergic or anaphylactic dermatopathy. External preparations of ginkgolic acid-containing medicaments, cosmetics, or disinfectants for treating dermatopathy comprises 0.001-80% (by weight) of ginkgolic acid, and pharmaceutically common external preparation substrates or acceptable carriers; the preparation has any pharmaceutical dosage form. Pharmacological experimental research shows that the preparation of the invention has significant effect of anti-infection of skin resident pathogens, anti-inflammation, antianaphylaxis, anti-allergy, analgesia, itching relief, and wound heal promotion. Clinical trials show that the preparation of the invention has significant treatment effect on various dermatopathy, has an effective rate of up to 100%, is safe and has no side effect.