This study further demonstrated whether psychological distress could affect cognitive function by influencing the level of IL‐1β, TNF‐α, and IL‐4, which provides evidence for paying increasing attention to the mental health of breast cancer patients and early implementation of psychological intervention. This evidence concerns the gene TNF and breast carcinoma.