The present invention provides a mastitis ointment for animals as well as a preparation method and medication thereof. The mastitis ointment is a compound preparation made from ten Chinese medicinal materials with the following weight proportion: 50 to 70g of dandelion, 50 to 70g of tokyo violet herb, 40 to 60g of cortex phellodendri amurensis, 40 to 60g of wild chrysanthemum, 40 to 60g of common selfheal, 40 to 60g of common bletilla, 30 to 50g of earthworm, 30 to 50g of mulberry branch, 30 to 50g of carbonized hair and 30 to 50g of pricklyash berry. The mastitis ointment has the efficacies of clearing toxic heat, promoting blood circulation for removing blood stasis, reducing swelling, discharging pus and removing obstruction in collaterals, which mainly cures earlier acute mastitis, red swelling and thermal pain, carbuncle-abscess and yellowish swelling; moreover, the mastitis ointment is suitable for curing breast diseases of cows, pigs and other livestock such as clinical and recessive mastitis, acromastitis and breast lump, as well as pyogenesis, empyema, breast red swelling and thermal pain, breast skin temperature increase and no latex caused by mechanical and sucking damages. The mastitis ointment based on the production technology of the traditional Chinese black plaster makes certain improvements, thus being more suitable for treatment of cow mastitis.