An integrated biorefinery is designed for the production of a broad range of products (e.g., bioactive compounds, biofuel, heat and bioelectricity) via multiple conversion pathways and technologies, being supercritical technology applied for the recovery of bioactive compounds from natural sources. In this study, first the effects of the extraction conditions from Brazilian ginseng (Pfaffia glomerata) roots including pressure (10-20 MPa), temperature (323-363 K) and CO2/ethanol proportion ratio (90:10 %, 50:50 % and 0:100 %, w/w) on the β-ecdysone content in the extracts was evaluated. Afterward, a stand-alone bioactive compounds production using supercritical CO2 with 10% ethanol as co-solvent (optimized conditions) is compared with integrated first and second generation ethanol production from sugarcane. Simulations were developed using the commercial simulator ASPEN PLUS ® to represent the different scenarios, which provided data for thermal and economic comparisons. Furthermore, a sensitivity analysis was performed to identify the critical parameters of the proposed integrated biorefinery. Results show that the construction of a supercritical fluid extraction (SFE) plant inside or in close proximity to a sugarcane biorefinery is very promising, since the SFE plant could use directly the ethanol, CO2, heat and electricity already available, avoiding logistics costs. Another interesting point of this new proposal, which can be extended for other bioactive compounds sources besides Brazilian ginseng, is the possibility of the use of the cogeneration system of the sugarcane biorefinery to burn the leftover extracted material and its unused parts left in the field after harvesting, contributing to its integral valorization.