The invention relates to the technical field of traditional Chinese medicines, in particular to a medicine for treating renal fibrosis and a preparation method thereof. The 31 traditional Chinese medicinal materials provided by the invention have the effects of anti-renal fibrosis, anti-heart-kidney syndrome, anti-heart failure, anti-nephrotic syndrome and/or anti-renal failure medicines; a composition prepared from rhizoma atractylodis macrocephalae, puffball, lysionotus pauciflorus and periostracum cicadae can inhibit renal tubular cell epithelial-mesenchymal transition and inhibit the transcription level of key genes, and therefore renal fibrosis, heart-kidney syndrome, heart failure, nephrotic syndrome and renal failure can be effectively treated.