Herein, we report a practical method for de novo preparation of imino-d-ribitol and C-azanucleosides. The diastereopure Iminod-ribitol was synthesized on a multigram scale by simple manipulation, and late-stage anomeric derivatization by regio-and diastereoselective electrochemical C(sp 3 )À H activation enabled the efficient synthesis of the corresponding C-azanucleosides with high β-selectivity.