In conclusion, our study demonstrated the adverse prognostic role of TNFSF11 in lung cancer, and also discovered a negative correlation between TNFSF11 and GPX4. Here, TNFSF11 is linked to lung carcinoma.