The present invention pertains to a process for obtaining a single enantiomer, d or l, of threo-methylphenidate, comprising resolution of a mixture of the enantiomers; racemisation of the unwanted enantiomer, to give a mixture of all four stereoisomers; and separation of the erythro stereoisomers, to leave the same mixture of enantiomers for resolution.