Background: Uveal melanoma (UM) is the most common intraocular tumor in adults. Ferroptosis is a newly recognized process of cell death, which is different from other forms of cell death in terms of morphology, biochemistry and genetics, and has played a vital role in cancer biology. The present research aimed to construct a gene signature from ferroptosis-related genes that have the prognostic capacity of UM. Methods: UM patients from The Cancer Genome Atlas (TCGA) were taken as the training cohort, and GSE22138 from Gene Expression Omnibus (GEO) was treated as the validation cohort. A total of 103 ferroptosis-related genes were retrieved from the GeneCards. We performed Kaplan-Meier and univariate Cox analysis for preliminary screening of ferroptosis-related genes with potential prognostic capacity in the training cohort. These genes were then applied into an overall survival-based LASSO Cox regression model, constructing a gene signature. The discovered gene signature was then evaluated via Kaplan-Meier (KM), Cox, and ROC analyses in both cohorts. The Pearson correlation coefficient examined the correlations between risk score and UM common mutations and autophagy. The analyses of GSEA and immune infiltrating were performed to better study the functional annotation of the gene signature and the character of each kind of immune cell in the tumor microenvironment. Results: A seven-gene signature was found from the training cohort and validated in all cohorts by Kaplan-Meier and Cox regression analyses, revealing its independent prognosis value in UM. Moreover, ROC analysis was conducted, confirming the strong predictive ability that this signature had for UM prognosis. A total of 52.24% (256/490) autophagy-related genes were significantly correlated with risk scores. Analyses of GSEA and immune infiltrating detailed exhibited specific pathways associated with the seven-gene signature, also confirming the crucial role that Mast cells resting played in the prognosis of the seven-gene signature. Conclusions: In this study, a novel ferroptosis-related seven-gene signature (ALOX12, CD44, MAP1LC3C, STEAP3, HMOX1, ITGA6, and AIFM2/FSP1) was built. It could accurately predict UM prognosis and was related to Mast cells resting, which provides the potential for personalized outcome prediction and the development of new therapies in the UM population.