A generic capillary zone electrophoresis with diode array detection was developed for the simultaneous determination of five anthelmintic drugs (albendazole, fenbendazole, flubendazole, mebendazole, levamisole) used in human and veterinary medicine. The separation of structurally related benzimidazole derivatives was resolved by addition in the background electrolyte of randomly methylated β-cyclodextrin (RAMEB). The optimization of the analytical conditions was carried out using a "one factor at a time" tehnique. Optimized conditions were found to be 50 mM phosphate buffer at pH 1.9, 5 mM RAMEB as buffer additive, applied voltage + 25 kV, system temperature 20 °C, injection parameters 50 mbar/1 s. Good analytical performance with regards to linearity, reproducibility, accuracy and robustness was achieved. The method was applied for the determination of analytes from pharmaceutical preparations.