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