Adenosine triphosphate (ATP) is a small molecule that is released to the urine from bladder urothelial cells and the bladder mucosal band of the human body. In certain cases, ATP can serve as a biomarker in bladder disease. For the practical applicability of luminescent sensors for ATP in urine, it is significant to find a new strategy for making the detection progress simple and available for in-field urine analysis. Here, a novel luminescent lanthanide coordination polymer (Tb-BPA) was designed and synthesized for quick and sensitive detection of ATP through luminescence quenching with a quenching constant of 4.90 × 103 M–1 and a detection limit of 0.55 × 10–6 M. Besides, Tb-BPA has excellent anti-interference ability and can detect ATP in simulated urine with a small relative standard deviation (<4%). Moreover, the luminescent polyacrylonitrile nanofiber films modified by Tb-BPA were prepared by electrospinning and were used for ATP visual detection. Notably, this film is easy to recover and reuse, and maintains good detection performance after at least 7 cycles.