BACKGROUND: Gastrointestinal (GI) surgery can significantly affect the nutritional status and immune function of patients. This study aimed to investigate the effects of personalized nutritional care on the recovery of immune function in patients who underwent postoperative GI surgery. AIM: To study examines personalized nutritional care's impact on immune function recovery, nutritional status, and clinical outcomes after GI surgery. METHODS: This observational study included 80 patients who underwent GI surgery between 2021 and 2023. Patients received personalized nutritional care based on their individual needs and surgical outcomes. Immune function markers including lymphocyte subsets, immunoglobulins, and cytokines were measured preoperatively and at regular intervals postoperatively. Nutritional status, clinical outcomes, and quality of life were assessed. RESULTS: Patients receiving personalized nutritional care showed significant improvements in immune function markers compared to baseline. At 4 weeks postoperatively, CD4+ T-cell counts increased by 25% ( CONCLUSION: Personalized nutritional care enhances immune function recovery, improves nutritional status, and reduces complications in patients undergoing postoperative GI surgery, highlighting its crucial role in optimizing patient outcomes following such procedures.