The influence on the enantiomeric resolution of the nature of the cationic BGE component (sodium, ammonium or potassium) and that of the anionic component (chloride, formate, methanesulfonate or camphorsulfonate) as well as the concentration of heptakis(2,3-di-O-methyl-6-O-sulfo)-beta-cyclodextrin (HDMS-beta-CD), the selected chiral selector, was studied in nonaqueous capillary electrophoresis (NACE). For this purpose, two D-optimal designs with 33 and 26 experimental points were applied. Three beta-blockers (atenolol, celiprolol and propranolol) and three local anesthetics (bupivacaine, mepivacaine and prilocaine) were selected as basic model compounds. Both cationic and anionic BGE components were found to have a deep impact on the enantiomeric resolution of the investigated analytes but it is the cationic component that has shown the strongest influence. Indeed, in some cases, the change of the latter led to a complete loss of enantioresolution. Based on the observed results, two NACE systems were recommended, namely ammonium formate and potassium camphorsulfonate in a methanolic solution containing HDMS-beta-CD and acidified with formic acid, in order to separate efficiently the enantiomers of basic drugs.