Objective To explore the regularity of traditional Chinese medicine for the treatment of type 2 diabetes mellitus complicated with osteoporosis in patients with kidney deficiency and blood stasis syndrome. Methods Medical information of 193 cases with kidney deficiency and blood stasis syndrome and type 2 diabetes mellitus complicated with osteoporosis treated with Chinese medicine was collected. The frequency of traditional Chinese medicine treatment, four gas and five flavors, core herbs, and herb pairs, et al., were analyzed through data mining technology and association regularity. Results A total of 582 prescriptions were collected, containing 255 type of herbs. The application frequency of poria cocos, atractylodes macrocephala koidz, astragalus membranaceus, alisma orientale, rehmannia, and cinnamomum cassia presl were more than 40%. There were 92 warm herbs, 156 sweet herbs, and 123 meridian belonging to the liver herbs. Complex network diagram showed that poria cocos, carthamus tinctorius, astragalus membranaceus, alisma orientale, atractylodes macrocephala koidz, cinnamomum cassia presl, citrus reticulata blanco, and bupleurum chinense were the core herbs. The association regularity of traditional Chinese medicines showed that atractylodes macrocephala koidz - poria cocos, poria cocos - dioscotea opposita thunb, atractylodes macrocephala koidz - citrus reticulata blanco and dioscotea opposita thunb, et al., were commonly used herb pairs. Conclusion It is preliminarily summarized that the herb medication regularity is characterized by cold together with warm, complementary together with diarrhea, and mainly sweet for kidney deficiency and blood stasis patients with type 2 diabetes mellitus complicated with osteoporosis. [ABSTRACT FROM AUTHOR]