[reaction: see text] A versatile, efficient, and simple method for the preparation of various 1-chloroethyl phosphates and phosphoramidates is described. The protected chlorophosphates or phosphoramidates are synthesized to the vinyl derivative under mild conditions, followed by conversion to the chloroethylidene phosphate or phosphoramidate by dry HCl gas, resulting in good to excellent yields. 1-Chloroethyl phosphates and phosphoramidates are excellent building blocks for the synthesis of novel ethylidene-linked phosphate prodrugs.