Objective: To detect the changes in the immune function of opioid-dependent subjects during the withdrawal stage through the administration of Jitai tablet. Methods: Subjects were treated as Jitai tablet alone, Jitai tablet plus buprenorphine and placebo, in a randomized,double-blind, placebo-controlled trial. Before and after the 14(th) day of withdrawal, levels of immunoglobulin (IgM, IgA, IgG), T cell subsets (CD(3)(+), CD(4)(+), CD(8)(+), CD(4)(+)/CD(8)(+)) and cytokines (IL-2, IFN-γ, IL-4, IFN-γ/IL-4) were detected. Results: Compared with healthy people, immunity function before withdrawal among the opioid abusers showed higher levels of IgM, IL-2, IFN-γ, IL-4 and lower level of CD(3)(+)T, as (1.67±0.87) g/L, (14.44±13.50)%, (20.23±15.10)%, (1.97±1.59)%, (47.01±13.62)%, respectively, with difference statistically significant (P<0.05). There was no big difference of other immunity indicators between the two groups (P>0.05). At the 14(th) day of withdrawal in placebo group, levels of IL-4 returned to normal while IFN-γ/IL-4 ratio increased by 3.43 times (P<0.05). Levels of IgA, IgG, CD(4)(+) and CD(4)(+)/CD(8)(+) ratio fluctuated within normal range. There were no significant changes in other immunity indicators (P>0.05). Compared with placebo group, fluctuation of IgG and IgM decreased in Jitai group during withdrawal period, together with a normal level of IgM at the 14(th) day. Level of IL-4 abnormally rose up by 0.54 times in Jitai tablet plus buprenorphine group, while IFN-γ/IL-4 ratio been switched back at the 14(th) day of withdrawal. Other immune indicators were not affected by medical interventions. Conclusion: We noticed that certain impairment of the immune function might be restored by Jitai tablet during the withdrawal period.