A method of quickly determining ascorbic acid and sorbic acid by capillary zone electrophoresis with ultraviolet detection was developed. The choice of background electrolyte, wavelength, injection time and applied voltage were discussed. Ascorbic acid and sorbic acid were well separated in 80mmolL(-1) boric acid-5mmolL(-1)borax (pH = 8.0) in 5min at the detecting wavelength of 270nm. Under the optimum condition, the method has linear ranges of 2.54-352.00mgL(-1) for ascorbic acid and 1.08-336.39mgL(-1) for sorbic acid with the detection limit of 1.70mgL(-1) for ascorbic acid and 0.54mgL(-1) for sorbic acid, respectively. Other organic acids in fruit juices have no effect on the detection. This method is very feasible and simple and can be used to detect ascorbic acid and sorbic acid in fruit juices.