To observe the effects of allogeneic and autologous transfusion on cellular immunity, humoral immunity and secretion of serum inflammatory factors and perforin during the perioperative period in patients with malignant tumors. A total of 80 patients (age: 38-69 years; body weight: 40-78 kg; ASA I - II) receiving radical operation for gastro-intestinal cancer under general anesthesia were selected. All the patients were divided into four groups based on the methods of infusion and blood transfusion: blank control group (Group C), allogeneic transfusion group (group A), hemodiluted autotransfusion Group (Group H) and hemodiluted autotransfusion + allogenic transfusion Group (A+H group). Venous blood was collected when entering into the surgery room (T0), immediately after surgery (T1) and 24h (T2), 3d (T3) and 7d (T4) after surgery, respectively. Moreover, flow cytometry was applied to assess changes of peripheral blood T cell subpopulations and NK cells. Enzyme linked immunosorbent assays were performed to determine levels of IL-2, IL-10, TNF-α and perforin. Immune turbidimetry was employed to determine the changes in serum immunoglobulin. Both CD3+ and NK cells showed a decrease at T1 and T2 in each group, among which, in group A, CD3+ decreased significantly at T2 (P<0.05) compared with other groups, and CD3+ and NK cell reduced obviously only in group A at T3 and T4 (P<0.05). CD4+ cells and the ratio of D4+/CD8+ were decreased in groups A, C and A+H at T1 and T2 (P<0.05). No significant intra- and inter-group differences were observed in CD8+ of the four groups (P<0.05). IL-2 declined in group C at T1 and T2 (P<0.05) and showed a decrease in group A at each time point (P<0.05). Moreover, IL-2 decreased in group A + H only at T1. No significant difference was found in each group at T1 (P<0.05). More significant decrease in group C at T2, T3 and T4 compared with group A (P<0.05), and there were no significant differences among other groups (P>0.05). IL-10 increased at T1 and T2 in each group (P<0.05), in which it had an obvious increase in group A, and increase of IL-10 occurred only in group A at T3 and T4 (P<0.05). TNF-α level rose at T1 (P<0.05), no inter- and intra-group difference was found in perforin in all groups (P<0.05). Compared with the preoperation, both IgG and IgA level decreased at T1 in each group (P<0.05), and they declined only in Group A at T2 and T3 (P<0.05), and these parameters were back to the preoperative levels in other groups. No significant differences were observed between preoperative and postoperative IgG and IgA levels in each group at T4 (P>0.05). No obvious inter- and intra-group changes were found in IgM in the four groups (P>0.05). Allogeneic transfusion during the perioperative period could obviously decrease the number of T cell subpopulations and NK cells and the secretion of stimulating cytokines and increase the secretion of inhibiting cytokines in patients with malignant tumors, thus causing a Th1/Th2 imbalance and transient decreasing in the content of plasma immune globulin. Autologous transfusion has little impact and may even bring about some improvement of postoperative immune function in patients with tumors. Therefore, cancer patients should receive active autologous transfusion during the perioperative period in place of allogeneic transfusion.