BACKGROUND Bladder cancer is a type of cancer with a high incidence in men. Plasma electrosurgery (PES) is often used in the treatment of bladder cancer. Postoperative complications often cause depression and anxiety in patients after surgery. AIM To investigate the current state of depression and anxiety after PES in patients with non-muscle-invasive bladder cancer and analyze the factors affecting them. METHODS A retrospective study was conducted to compare the baseline data of patients by collecting their medical history and grouping them according to their mental status into negative and normal groups. Logistic regression analysis was used to explore the risk factors affecting the occurrence of anxiety and depression after surgery in patients with bladder cancer. RESULTS Comparative analyses of baseline differences showed that the patients in the negative and normal groups differed in terms of their first surgery, economic status, educational level, and marital status. A logistic regression analysis showed that it affected the occurrence of anxiety in patients with bladder cancer, and the results showed that whether the risk factors were whether or not it was the first surgery, monthly income between 3000 and 3000-6000, secondary or junior high school education level, single, divorced, and widowed statuses. CONCLUSION The risk factors affecting the onset of anxiety and depression in bladder cancer patients after PES are the number of surgeries, economic status, level of education, and marital status. This study provides a reference for the clinical treatment and prognosis of bladder cancer patients in the future.