BackgroundOvarian cancer (OC) has the highest mortality rate among gynecological malignancies. Current treatment options are limited and ineffective, prompting the discovery of reliable biomarkers. Exosome lncRNAs, carrying genetic information, are promising new markers. Previous studies only focused on exosome-related genes and employed the Lasso algorithm to construct prediction models, which are not robust.Methods420 OC patients from the TCGA datasets were divided into training and validation datasets. The GSE102037 dataset was used for external validation. LncRNAs associated with exosome-related genes were selected using Pearson analysis. Univariate COX regression analysis was used to filter prognosis-related lncRNAs. The overlapping lncRNAs were identified as candidate lncRNAs for machine learning. Based on 10 machine learning algorithms and 117 algorithm combinations, the optimal predictor combinations were selected according to the C index. The exosome-related LncRNA Signature (ERLS) model was constructed using multivariate COX regression. Based on the median risk score of the training datasets, the patients were divided into high- and low-risk groups. Kaplan-Meier survival analysis, the time-dependent ROC, immune cell infiltration, immunotherapy response, and immune checkpoints were analyzed.Results64 lncRNAs were subjected to a machine-learning process. Based on the stepCox (forward) combined Ridge algorithm, 20 lncRNA were selected to construct the ERLS model. Kaplan-Meier survival analysis showed that the high-risk group had a lower survival rate. The area under the curve (AUC) in predicting OS at 1, 3, and 5 years were 0.758, 0.816, and 0.827 in the entire TCGA cohort. xCell and ssGSEA analysis showed that the low-risk group had higher immune cell infiltration, which may contribute to the activation of cytolytic activity, inflammation promotion, and T-cell co-stimulation pathways. The low-risk group had higher expression levels of PDL1, CTLA4, and higher TMB. The ERLS model can predict response to anti-PD1 and anti-CTLA4 therapy. Patients with low expression of PDL1 or high expression of CTLA4 and low ERLS exhibited significantly better survival prospects, whereas patients with high ERLS and low levels of PDL1 or CTLA4 exhibited the poorest outcomes.ConclusionOur study constructed an ERLS model that can predict prognostic risk and immunotherapy response, optimizing clinical management for OC patients.