The invention relates to a medicament for controlling swine fever, which consists of the following components in part by weight: 0.1 to 0.5 part of moroxydine, 0.5 to 1.5 parts of bezoar antitoxic bolus, 3 to 11 parts of weeping forsythiae, 1 to 8 parts of golden thread, 5 to 14 parts of licorice, 1 to 7 parts of bupleurum, and 2 to 12 parts of amur corktree bark. In the medicament, the moroxydine has an inhibitory action on a plurality of viruses such as influenza virus, parainfluenza virus, rhinovirus, corona virus, adenovirus and the like. Calculus bovis artifactus has an effect of allaying a fever and resisting inflammation. The weeping forsythiae has an effect of resisting bacteria. The golden thread has an effect of detoxifying. The licorice is neutral in nature and sweet in taste, acts on twelve regular channels, and has pharmacological effects of detoxifying, eliminating phlegm, relieving pains, relieving spasm or even resisting cancer and the like. The medicament has the principle indications of dispersing to allay a fever, and invigorating vital functions to soothe the liver, and is used for treating cold fever, alternate attacks of chills and fever, malaria, stagnation of qi due to depression of the liver, and sternal rib swelling pain. The medicament can enhance the immunity of a pig and the disease resistance of the pig, and can effectively control the swine fever.