Disclosed is a topical drug for treating breast cancer and preparation method thereof. The topical drug comprises the following ingredients in parts by weight: 5-10 parts of Astragalus, 3-5 parts of Oldenlandia diffusa, 3-5 parts of dandelion, 5-10 parts of Lycoris radiate, 5-8 parts of Carapax trionycis, 3-5 parts of Pinellia pedatisecta, 2-3 parts of Acorus calamus, 3-5 parts of Ferula sinkiangensis, 3-5 parts of doubleteeth pubescent angelica root, 4-6 parts of Cryptotaenia japonica Hassk, 3-5 parts of Whitmania pigra Whitman, 5-8 parts of Wedelia chinensis, 6-8 parts of Echinacea purpurea, 4-6 parts of Folium Eriobotryae, 3-5 parts of Sedum sarmentosum, 5-10 parts of Angelicae sinensis, 2-5 parts of asparagus, 2-3 parts of scorpio, 5-8 parts of Rubia cordifolia L., 2-3 parts of alfalfa extract, 3-5 parts of extract of Jew's ear from mulberry trees, 5-7 parts of myrrh, 3-6 parts of nutgrass galingale rhizome and 3-5 parts of pericarpium citri reticulatae viride.