The invention provides a traditional Chinese medicine preparation for treating ankylosing spondylitis. The preparation is prepared by repeated verification of clinical tests, accords with the theory of traditional Chinese medicine. In the traditional Chinese medicine preparation, ovate tylophora root and rhizome, pseudo-ginseng flower, glabrous sarcandra glabrous herb, delavay schefflera root, desmodium racemosum thunb, hance pepper stem and leaf, ligusticum, scorpion, notopterygium root, safflower carthamus, loofah sponge, radix clematidis, evening primrose, leguminosae root, rostrate lepidogrammitis, slender-spike gouania stem and leaf, radix cyathulae and ligusticum wallichii used as monarch and minister drugs have the effects of tonifying kidney, expelling cold, dredging channels, clearing heat, removing toxicity, drying dampness and inducing diuresis; snake grape root, Chinese yam, tortoise shell, radix rehmanniae praeparata, herba siegesbeckiae, marigold flower, bauhinia root, ginseng leaf, semen brassicae, cassia twig, cornus officinalis, herba ecliptae, grape, apple, banana and mulberry serving as adjuvant drugs are used for reinforcing the effect of monarch and minister drugs, guiding the medicinal materials to directly reach the focus, and have the effects of tonifying liver and kidney, eliminating phlegm, removing blood stasis, clearing heat, inducing diuresis and dredging meridians and collaterals. The traditional Chinese medicine preparation has unique curative effect on treating ankylosing spondylitis and arthralgia, and can be used for radically relieving pains of patients.