A high-performance liquid chromatography (HPLC) method with photo-diode array (DAD) detection was developed to separate and quantify flavonoids in sugarcane leaves and bagasse (= the crushed sugarcane refuse from juice extraction), and in sugarcane juice. Sugarcane flavonoids consist of a complex mixture of aglycones and glycosides (including flavonolignan glycosides), and the HPLC-UV method herein proposed is suitable for their quantification as total flavonoids. This method was applied to analyze samples of cultivated sugarcane, commercial juice and transgenic sugarcane leaves. Sugarcane leaves proved a promising source of flavonoids: an average of 1.10 mg of total flavonoids/g plant material was found in fresh leaves. Moreover, the flavonoid content of sugarcane juice (0.6 mg/mL) is comparable to other food sources of flavonoids previously reported. Transgenic sugarcane leaves ("Bowman-Birk" and "Kunitz") were compared with non-modified ("control") plant samples using the proposed HPLC-UV method, which indicated that the content of total flavonoids in transgenic plants is different from that in non-modified sugarcane.