miR-129-5p and TNFSF10 were associated with the risk of bladder cancer (P < 0.05); the difference in AUC values for the diagnosis of bladder cancer by lncRNA XIST (AUC = 0.739), miR-129-5p (AUC = 0.850) and TNFSF10 (AUC = 0.753) was statistically significant (P < 0.01), and the three genes combined AUC was 0.900, 95%CI was 0.842–0.958 with a sensitivity of 83.3% and specificity of 86.7%. This evidence concerns the gene XIST and urinary bladder cancer.