Background: Depression and long non-coding RNA (lncRNA) have been reported to be associated with tumor progression and prognosis in gastric cancer (GC). This study aims to build a GC risk classification and prognosis model based on depression-related lncRNAs (DRLs). Methods: To develop a risk model, we performed univariate Cox regression and least absolute shrinkage and selection operator (LASSO) regression analyses using RNA sequencing data of GC from The Cancer Genome Atlas (TCGA) and depression-related genes (DRGs) from previous studies. Kaplan-Meier analysis, receiver operating characteristic (ROC) curve analysis, nomogram construction, pathway enrichment analysis, assessment of immunological features, and drug sensitivity testing were conducted using a series of bioinformatics methods. Results: Seven DRLs were identified to build a prognostic model, whose robustness was verified in an internal cohort. Subsequent prognostic analyses found that high risk scores were associated with worse overall survival (OS). Univariate and multivariate analyses revealed that the risk score could be used as an independent prognostic factor. Furthermore, the ROC curve indicated that the risk score had higher diagnostic efficiency than traditional clinicopathological features. The calibration curve confirmed the accuracy and reliability of the nomogram. Gene ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) enrichment analyses showed that there were differences in digestive system and nervous system-related pathways between the high- and low-risk groups. Results of tumor mutational burden (TMB) and tumor immune dysfunction and exclusion (TIDE) analyses indicated that patients in the low-risk group had a better response rate to immunotherapy. Finally, the results of drug sensitivity analysis showed that risk score could influence sensitivity to EHT 1864 in GC. Conclusion: We have successfully developed and verified a 7-DRL risk model which can assess the prognosis and immunological features and guide individualized therapy of GC patients.