O[C:2]1[N:7]=[CH:6][N:5]=[C:4]2[NH:8][N:9]=[CH:10][C:3]=12.P(Cl)(Cl)([Cl:13])=O>>[Cl:13][C:2]1[N:7]=[CH:6][N:5]=[C:4]2[NH:8][N:9]=[CH:10][C:3]=1231.1 g. of 4-hydroxypyrazolo[3,4-d]pyrimidine are heated at reflux with 200 ml. of phosphorous oxychloride for 12 hours. The excess phosphorous oxychloride is distilled off and the residue is boiled with benzene. After distilling off the benzene and trituration with petroleum ether, there remain 15.8 g. of 4-chloropyrazolo[3,4-d]pyrimidine as light yellow crystals, m.p. 94°-96°. This product is pure enough for further use.