A process for stereoselective synthesis of lamivudine, comprising (a)glycosylation of compounds of formula(I) and cytosine or protected cytosine, separating the resulting products bycrystallization to afford intermediates of formula(II); (b) removing the protecting groups of intermediates of formula (II) toobtain lamivudine.