The present invention relates to a medicine for treating renal failure, which is characterized in that the medicine consists of raw materials as follows: 5-100 parts by weight of snakegourd, 50-1000 parts by weight of wick, 20-1500 parts by weight of red fushen, 10-100 parts by weight of shanzhizi, 10-100 parts by weight of white peony, 10-100 parts by weight of angelica. The medicine has the effect of treating renal failure, saving renal with calculous, through sanjiao, changing to precious, separating qing and zhuo, removing blood stasis and restoring deficiency syndrome, diminishing inflammation and discharging fire, clearing away damp-heat, eliminating feeling of repletion, conducing relieving oneself, removing tibial medium pain, regulating yin-yang, cleaning source etc. The medicinehas the obvious curative effect in treating bladder heat accumulate, gonorrhoea atresia, liquid channel atresia, astringent heat pain, and is used for removing smear, bean juice, residual urine, red acerbity, white urine, blood urine and pain, heat hematochezia, renal failure, sanjiao arthralgia due to stagnation of qi and nephritis etc.