Conclusion: A single sub-anesthetic dose (0.3 mg kg−1) of ketamine can significantly improve the postoperative anxiety and depression of colorectal cancer patients and reduce the levels of IL-6, IL-8, and TNF-α. Here, TNF is linked to depressive disorder.