Capillary zone electrophoresis was successfully applied to the enantiomeric resolution of racemic tramadol. Both uncoated and polyacrylamide-coated capillaries were tested for method optimization using either negatively charged or native cyclodextrins (CD) added to the background electrolyte (BGE). The resolution was strongly influenced by the CD type and concentration as well as by the pH and the concentration of the BGE. Among the CDs tested, carboxymethylated-beta-cyclodextrin allowed the baseline separation of tramadol enantiomers. After the method was optimized, it was validated in a coated capillary for enantiomeric analysis of tramadol enantiomers in pharmaceutical formulation, including specificity and elution order, linearity, accuracy and precision, determination of limit of detection (LOD) and quantification (LOQ), enantiomeric purity linearity, freedom from interference, and stability of sample solutions. Precision at the target concentration was less than 2%, with an accuracy higher than 99%. Furthermore, the method was able to detect 0.3% and to quantify 1% of the minor enantiomer in the presence of the major one at the target value.