The invention describes the extraction method to obtain the highest amount of resveratrol from wasted biomass produced by grapes processing. Resveratrol, which is found rich in the grapes, especially in grape skin and seed, is one of the most potent antioxidant, and can help to fight cell-damaging free radicals and promote cardiovascular health. Based on the most performing extraction methods to obtain resveratrol from plant material, the invention provides the optimized method of extracting the highest amount of resveratrol from wasted biomass from grapes processing.