A novel epigenetic biomarker for detecting bladder cancer and a method thereof. The method comprises following steps: (1) providing a to-be-detected specimen; (2) detecting a CpG sequence methylation status of at least one targeted gene in genome DNA of the to-be-detected specimen, wherein the targeted gene is selected from at least one of the group consisting of ZNF671, PTPRR, SOX1, PAX1, ZNF582, AJAP1, SOX17, EDN3, ST6GAL2, ZNF614, PTGDR, SYT9, SOX8, HS3ST2, POU4F3, ADRA1D, MAGI2, EPO, NEFH, POU4F2, STC2 and THRB; and determining whether the specimen is suffered from cancer or precancerous lesions or not according to whether the methylation status of the targeted gene exists or not, or employing the determination of the existence of the methylation status of the targeted gene as treatment prognosis. The invention also discloses a novel epigenetic biomarker for detecting the bladder cancer, wherein the biomarker comprises a methylated CpG locus of the target gene. The methylated CpG locus can be detected in urine.