Treatment-resistant depression (TRD) poses significant therapeutic challenges despite available interventions. This study aimed to compare ESC alone and ESC combined with modified electroconvulsive therapy (MECT) or high-frequency repetitive transcranial magnetic stimulation (HF-rTMS) in TRD patients. Ninety participants were randomized into ESC alone, ESC + MECT, and ESC + HF-rTMS groups. Notable differences were observed in Hamilton Depression Rating Scale (HDRS-17) scores at 12 weeks among ESC (14.37), ESC + MECT (10.27), and ESC + HF-rTMS (10.77) groups (P = 0.006). In terms of overall QoL evaluated using the World Health Organization Quality of Life Questionnaire (WHOQOL-BREF) at 12 weeks, the ESC, ESC + MECT, and ESC + HF-rTMS groups scored 2, 3, and 3.5, respectively. ESC + MECT/HF-rTMS groups showed reduced depressive symptoms compared to the ESC group, accompanied by higher overall QoL scores and increased satisfaction with health. Patients receiving ESC + MECT demonstrated no significant alterations in short-term memory and orientation, as measured by the Montreal Cognitive Assessment (MoCA), before and after treatment. Moreover, a decline in language compared to baseline was observed (12 weeks: median: 2, IQR: 2-3; Baseline: median: 1, IQR: 1-3, P = 0.022). The positive impact of ESC with HF-rTMS on cognitive function was evidenced by improvements in all domines MoCA. Combining ESC with MECT or HF-rTMS exhibited enhanced effectiveness in alleviating depressive symptoms and enhancing QoL compared to ESC monotherapy. Specifically, the ESC + HF-rTMS combination displayed potential as a comprehensive treatment strategy for TRD, addressing both emotional and cognitive aspects.