An efficient method for the stereoselective synthesis of 2-amino-2-deoxy-d-arabinose and 2-deoxy-d-ribose is described. The key step in this method was accomplished by the nucleophilic addition of methyl isocyanoacetate to 2,3-O-isopropylidene-d-glyceraldehyde with high erythro-selectivity (nearly 100%). Subsequent intermolecular cyclization predominantly gave the desired oxazoline derivative (trans-form), in which two new chiral centers were formed. The oxazoline derivative was efficiently converted to both 2-amino-2-deoxy-d-arabinose and 2-deoxy-d-ribose.