To study the purification process of rosmarinic acid (RA) from rosemary by ultrasonic-assisted macroporous resins (MRs), and to explore the effect of ultrasonic power between 50 W and 100 W and temperature between 25 ℃ and 45 ℃ on the adsorption/desorption characteristics of RA on MRs. RA content was determined by high performance liquid chromatography (HPLC), and the best resin type was selected by adsorption capacity and desorption rate. The mechanism of ultrasound-assisted adsorption was discussed from the perspectives of adsorption kinetics and thermodynamics, and the effects of ultrasonic power and ethanol volume fraction on the desorption process were discussed through desorption kinetics. Ultrasonic assisted MRs adsorption/desorption can be used as a green and efficient method to enrich and purify RA in rosemary.