Pyrene labeled pyrrolocytidine was incorporated into an oligonucleotide to construct ends free and self-quenched molecular beacon in which the fluorophore containing pyrrolocytidine was placed in the middle of the stem and used for the detection of a target DNA with an excellent efficiency.