Capillary elctrophoresis is a modern separation technique, especially the extremely high efficiencies and minimal requirements with regard to buffers, samples and solvents lead to a dramatic increase of applications in the last few years.This paper offers an introduction to the technique of micellar elektrokinetic chromatography as a special kind of capillary electrophoresis. Caffeine and other purine compounds have been determined in foodstuff (tea, coffee, cocoa) as well as in pharmaceutical formulations. Different sample preparation procedures which have been developed with regard to the special properties of the sample matrices are discussed in the paper.This preparation facilitates the separation in many cases. So students have to solve a relatively simple separation problem by variation of buffer pH, buffer components and separation parameters. By doing a calibration for the analyzed purine compounds they will learn about reproducibility in capillary electrophoresis.