The invention discloses an externally used traditional Chinese medicine for relieving pain and promoting healing after a hepatobiliary surgery. The externally used traditional Chinese medicine for relieving pain and promoting healing after the hepatobiliary surgery is prepared from the following raw materials in parts by weight: 10-20 parts of Herba Sedi, 5-15 parts of Caragana brevifolia Komar., 6-14 parts of Adeps melis, 10-20 parts of Caragana jubata (Pall.) Poir., 4-6 parts of Butea monosperma, 15-25 parts of Cortex Firmianae, 15-25 parts of Radix Ampelopsis, 1-5 parts of Radix Salviae Miltiorrhizae, 1-5 parts of Radix Angelicae Sinensis, 10-20 parts of Radix Arnebiae, 10-20 parts of Radix Glycyrrhizae and 1-3 parts of Radix seu Caulis Acanthi Ilicifolii. The externally used traditional Chinese medicine has effects of promoting blood circulation and dispelling blood stasis, and promoting the circulation of QI to relieve pain, directly acts on an operative wound when externally used, enters the grain of skin and the texture of the subcutaneous flesh from pores by applying the medicine on the outside of the skin, and has effects of inducing menstruation and dredging collaterals to remove blood stasis and promote circulation of qi; and the effect of relieving pain is definite, toxic and side effects are small, addiction does not exist, resources are abundant, stimulation of the medicine to the intestines, the stomach, the liver and the gall is reduced, local dressing can be realized, the medicine directly reaches the focus to promote the effect of reliving pain, pain of oral administration and intramuscular administration is avoided, and the development prospect is wide.