Diarrhea is a leading cause of death in piglets. XiaoJianZhong (XJZ) and Jingsananli-sepsis (JSS) were two traditional Chinese medicine (TCM) prescriptions to prevent and treat intestinal diseases, including diarrhea and inflammatory disease. Here, we investigated the effects of XJZ and JSS on diarrhea rate, growth performance, colonic inflammation, and caecum microbiota in piglets. A total of 18 piglets were selected and randomly divided into three groups. Control group was supplied with basal diets, while TCM1 and TCM2 groups were, respectively, supplied with XJZ and JSS in basal diets. Decreased diarrhea rate, colonic or caecal pH, and elevated apparent nutrient digestibility were observed in both TCM groups. Meanwhile, both prescriptions alleviated colonic inflammation by decreasing mRNA expression of proinflammatory cytokines and suppressing the TLR4/MyD88/NF-κB signaling pathway. Additionally, TCM1 and TCM2 prescriptions ameliorated caecum microbiota composition and increased the abundance of beneficial bacteria, together with regulations on several genes that are responsible for signaling pathways involved in cancers and metabolic diseases. Importantly, both TCM1 and TCM2 significantly promoted the average daily gain (ADG) and reduced the feed : gain (F : G) ratio. In conclusion, both TCM prescriptions effectively decreased diarrhea rate and increased growth performance by elevating apparent nutrient digestibility and gut health, via relieving colonic inflammation and ameliorating gut microbiota composition of piglets.