Bioactive compounds are of considerable interest due to their antioxidant properties and potential beneficial health effects. Thus, this study aimed to optimize and model the ultrasound-assisted extraction process (UAE) of response variables total anthocyanins (TA) and total phenolic content (TPC) from raspberries, and to compare the optimized extraction process with the conventional one. The variables used were time (5 to 75 min), temperature (30 to 70°C), and solid: liquid ratio (1:5 to 1:15 m/v), applied to the Box-Behnken Design (BBD). The optimal condition of the UAE process occurs at a temperature of 70°C and a solid: liquid ratio of 1:12.5 m/v, for both response variables. The optimal time for extraction of TA occurs in 22.5 min predicting the content of 23.181 mg/100 g of the fruit and for TPC occurs in 57.5 min predicting the content of 156.30 mg GAE/100 g of the fruit. On validation of the optimized conditions, less than a 5% difference ware found between the predicted and experimental values (24,131 mg/100 g of fruit for TA, and 149.226 mg GAE/100 g of fruit for TPC). When comparing the optimized UAE with the conventional extraction, it wares observed that UAE increased (p