Starting from a single suitable functionalised epoxide, a highlyefficientstereoselectivesynthesis of d-erythro-sphingosine and d-lyxo-phytosphingosine is described. The approach allows the formal preparation of all stereoisomers of these sphingoid structures.