This study describes the application of capillary electrophoresis (CE) to the analysis of ebrotidine and its metabolites as an alternative analytical technique to liquid chromatography. Comparison between UV-diode array spectroscopy and mass spectrometry (MS) using an ion-trap system with electrospray ionization as detection systems has been performed. The quality parameters of the UV detection method were established, obtaining linear calibration curves over the range studied (8-200 mg ml(-1)), limits of detection between 3.4 and 4.3 microg ml(-1), and run-to-run and day-to-day precision lower than 14%. For these compounds the protonated species [M+H]+ and, in some cases, sodium adducts were observed in the MS spectra. Using MS coupled to CE, limits of detection were between 0.5 and 2.6 microg ml(-1).