The dynamics of loop formation is investigated for a flexible polymer owing to the reversible intrachain reaction. The polymer is made of N hard spheres tethered by inextensible bonds, and the two reactive sites with binding energy -epsilon are randomly l