A facile method for the one-pot preparation of homodinucleotides of AZT and d4T from corresponding nucleoside 5′-phosphoropiperidates with 4,5-dicyanoimidazole (DCI) as the activator has been developed.