Conversion of 1,3,5-triazinanes into 5-phosporyl-1,2,3,4tetrahydropyrimidines is achieved efficiently through the microwaveassisted reaction with phosphoryl diazomethanes. Both trialkyl and triaryl 1,3,5-triazinanes were converted by diazomethyldiarylphosphine oxides, dialkyl diazomethylphosphonates, and alkyl diazomethyl(aryl)phosphinates and functionalized simultaneously in good to excellent yields. The reaction is a sequence of 1,3,5-triazinane fragmentation, tandem nucleophilic addition of the generated formaldimines and phosphoryl diazomethanes, and final N,N-acetalization.