Abstract: The present invention relates to an improved process for the preparation of 6-0-methylerythromycin A derivatives, intermediates of clarithromycin, by selective methylation of erythromycin A derivative in a mixture of a acyclic or cyclic alkanes having C6-C10 carbon atoms, and a polar aprotic solvent using a methylating agent in the presence of a bsed under mild conditions.