Total parenteral nutrition treatment is complex and has serious and detrimental complications, including catheter-related blood stream infections, fluid and electrolyte imbalance, hyperglycemia and hypercalcemia. This research examines how Intravenous Drug Compounding Service (IDCS) figures in total parenteral nutrition prescriptions reviewed by pharmacists, strengthens hospital clinical care and improves patients’ health. For this study, a total of 56164 nutritional prescriptions or medical orders from a hospital in Guangdong from 2016 to 2020 were randomly selected. According to whether IDCS was administered, the patients were divided into two experimental groups: the intervention group and the control group. The types and numbers of irrational prescriptions in the two groups were analyzed and compared, and further analysis of the role of IDCS in improving the level of nutritional prescriptions was performed. The results showed that the rate of irrational prescriptions in the intervention group from 2016 to 2020 was significantly lower than that in the control group, and the difference was statistically significant (P<0.01). The total irrational prescription rate in the intervention group was 32.53‱ on average, which was significantly lower than the 156‱ in the control group. The difference was statistically significant (P<0.01). After the administration of IDCS, the incidence rates of both total prescription errors and formulation errors were significantly lower than the incidence rate of irrational prescriptions without pharmacists’ intervention. The study confirms the importance and necessity of IDCS, so that patients can receive more efficient nutrition and health management services.