Our findings highlight the potential circRNA- and lncRNA-mediated ceRNA regulatory mechanisms in the pathogenesis of depression and as potential biomarkers in depression cancer comorbidity through the pathways of IL-17 or histidine metabolism. This evidence concerns the gene IL17A and major depressive disorder.