The invention relates to a process and apparatus of extraction with the use of vacuum and can be used to extract the bioactive agents from raw materials. The method of extraction of materials, includes the heating the extractant, the preliminary extraction of raw materials with the heated rollers by means of extractant, the impregnation of raw material with extractant and extraction of raw materials in vacuum-impulsive mode by cycles, which include the heating with hot coolant gas not exceeding 39° C. and a creation of vacuum in the chamber in the regime of quick vacuum-impulsive exposure with stepwise multiple pressure drop from the atmospheric pressure to the pressure not more 0.0001 MPa, followed by keeping under vacuum to stabilize the temperature of the mixture and the vacuum relief at the end of the cycle. The distilled water, or organic solvents or mixtures thereof are used as the extractants.