In this study, we investigated the interaction between drug combination and the JAK3/STAT5 pathway in immune functions, and our findings revealed that morphine and ketamine may attenuate cancer pain and suppress immune functions through regulation of the JAK3/STAT5 pathway. This evidence concerns the gene JAK3 and cancer.