The invention relates to a method for preparing naringin or hesperidin, which comprises the following operating steps of: 1) drying and crushing fruits, fruit peels and fruit residues containing the naringin or the hesperidin, and respectively filling the crushed materials into an extraction kettle of a pressure solvent extraction device; 2) selecting an extraction solvent, setting an extraction pressure, an extraction temperature, an extraction static time and an extraction frequency, extracting with the pressure solvent extraction device, and collecting the extract liquor; and 3) concentrating the extract liquor in vacuum, centrifugating the extract liquor or filtering the extract liquor to remove insoluble substances, adjusting pH of the clear liquid, cooling the clear liquid to crystallize or precipitate, recrystallizing the coarse crystals, drying the coarse crystals, or re-dissolving the precipitate for re-precipitation, and obtaining a pure product of the naringin or the hesperidin. Compared with the conventional solvent extraction method, ultrasonic-assisted extraction method and microwave-assisted extraction method, the preparation method has the advantages of high speed, capability of repeatedly extracting, safety, high efficiency, and simple post treatment such as concentration and purification.