A method for isolating the main components (psilocybin and psilocine) from Psilocybe semilanceata mushrooms, their identification and measurement by thin-layer and gas-liquid chromatography, chromatographic mass-spectrometry, and inverse-phase high-performance liquid chromatography is developed.