The enantiomeric separation of tramadol hydrochloride and its major metabolites, O-demethyltramadol (M1) and N-demethyltramadol (M2) was studied using cyclodextrin (CD)-mediated capillary zone electrophoresis (CZE). Influence of the choice of type and concentration of CD, capillary temperature, length of capillaries, buffer pH and the addition of polymer modifier on the chiral separation of tramadol and its metabolites was evaluated. It was found that the drug and the metabolites can be baseline-separated simultaneously by using 50 mM phosphate buffer (pH 2.5) containing 75 mM methyl-beta-CD, 220 mM urea and 0.05% (w/v) hydroxypropylmethyl cellulose.