A pre-type sensitizer for a lanthanide complex on an oligonucleotide was successfully converted to a perfect final structure in a target DNA/RNA-templated reaction, without any chemical reagent or enzyme, under neutral conditions. The final form of the lanthanide-oligonucleotide provided a long-lived luminescence signal, appropriate for time-gated luminescence analysis and signal amplification. Target DNA/RNA-assisted time-gated luminescence analysis is a powerful tool for elimination of autofluorescence and detection of target RNA in living bacterial cells.