Gene expression pattern analysis revealed that 270 genes related to depression and cervical cancer, including tumour necrosis factor (TNF), were significantly upregulated in cervical cancer patients, while vascular endothelial growth factor A (VEGFA), transcription factor AP-1 (JUN), and insulin-like growth factor I (IGF-I) were associated with prognosis in cervical cancer patients (all P < 0.05). This evidence concerns the gene VEGFA and major depressive disorder.