The invention provides an externally-applied drug for treating skin eczema and eczematous dermatitis and a preparation method thereof. The externally-applied drug is prepared from miconazole nitrate, chloramphenicol, urea, triamcinolone acetonide acetate, stearic acid, Vaseline, glycerol monostearate, glycerol, purified water, triethanolamine, lauryl sodium sulfate and ethylparaben. The externally-applied drug can effectively treat and prevent fungus and bacterium single infection and concurrent infection diseases. The externally-applied drug can effectively treat and prevent skin fungus and bacterium single infection and concurrent infection, eczema, eczematous dermatitis and other skin diseases, and the recovery process of various skin diseases is accelerated. Meanwhile, the skin layer rapidly and fully absorbs all the ingredients of the externally-applied drug, all the ingredients are in compatibility in corresponding proportions, the treatment effect of the externally-applied drug prepared through the preparation method is remarkably improved, and the externally-applied drug has the effects of relieving itching, diminishing inflammation, achieving sterilization and eliminating skin surface symptoms, and especially has the obvious effect on various kinds of fungal infection and severe infantile eczema.