6-Allyl(diallyl, prop-2-yn-1-yl)amino-1-R-pyrazolo [3,4-d]pyrimidin-4(5H)-ones reacted with iodine to give angularly fused 8-iodomethyl-7,8-dihydro-1-R-imidazo[1,2-a]pyrazolo[4,3-e]pyrimidin-4(6H)-ones which were treated with sodium acetate to obtain 8-methylidene-1-R-7,8-dihydroimidazo[1,2-a]pyrazolo-[4,3-e]pyrimidin-4(6H)-ones as a result of elimination of hydrogen iodide. 8-Methylidene-1-R-7,8-dihydroimidazo[1,2-a]pyrazolo[4,3-e]pyrimidin-4(6H)-ones were converted into 8-methyl-1-R-imidazo[1,2-a]pyrazolo-[4,3-e]pyrimidin-4(5H)-ones on heating to the melting point. 8-Methylidene-1-phenyl-7,8-dihydroimidazo-[1,2-a]pyrazolo[4,3-e]pyrimidin-4(6H)-one underwent isomerization into linearly fused 6-methyl-1-phenyl-1,8-dihydro-4H-imidazo[1,2-a]pyrazolo [3,4-d]pyrimidin-4-one on heating in sulfuric acid.We previously showed [1, 2] that cyclization of 6-allyl(prop-2-yn-1-yl)sulfanylpyrazolo[3,4-d]pyrimidin-4(5H)-ones by the action of iodine or sulfuric acid provides a convenient method for the synthesis of 4H-pyrazolo[4,3-e]thiazolo[3,2-a]pyrimidin-4-one derivatives. Taking into account pronounced pharmacological effect of their bioisosters (in particular, imidazo[1,2-a]pyrazolo[4,3-e]pyrimidines are efficient phosphodiesterase inhibitors [3-6]), it seemed important to develop new preparatively simple procedures for the synthesis of such compounds. Known procedures [3,7] generally include a number of steps and utilize difficultly accessible reagents. Furthermore, compounds having functional substituents in the imidazole ring cannot be obtained by the known methods, whereas the presence of such substituents is necessary for subsequent modifications with pharmacophoric fragments.A promising synthetic approach to the desired compounds may be that based on electrophilic cyclization of pyrazolo[3,4-d]pyrimidines having allylamino or prop-2-yn-1-ylamino group in the 6-position. In the present work we used 6-chloropyrazolo[3,4-d]pyrimidin-4(5H)-ones Ia and Ib as initial compounds to develop a convenient procedure for the synthesis of 6-allylamino-, 6-diallylamino-, and 6-(prop-2-yn-1-ylamino)-1-R-pyrazolo[3,4-d]pyrimidin-4(5H)-ones II-ІV and studied in detail their cyclization by the action of iodine, as well as some interesting transformations of the cyclization products (Scheme 1).The presence in molecules ІI-ІV of two nucleophilic centers (N 5 and N 7 ) could give rise to formation of both angularly and linearly fused cyclization products. However, reactions of ІI-ІV with 3 equiv of iodine in acetic acid at room temperature and subsequent treatment with sodium sulfite resulted in the formation of only angular 8-iodomethyl-substituted 1H-imidazo[1,2-a]pyrazolo[4,3-e]pyrimidin-4(6H)-ones Va, Vb, VIa, VIb, and VII. Pyrazolopyrimidines IIIa and IIIb having two allyl groups on the exocyclic nitrogen atom reacted only at one allyl fragment. 6-Allyl derivatives VIa and VIb thus obtained were used as reference compounds for the determination of the position of hydrogen atom in compounds Va, Vb, and VII containing a guanidine fragme...