BACKGROUND: Sugarcane provides many secondary metabolites for the pharmacological and cosmetic industries. Secondary metabolites, such as phenolic compounds, flavonoids, and anthocyanins, have been studied, but few reports focus on the identification of alkaloid and non-alkaloid phytocompounds in sugarcane.RESULTS: In this study, we identified 40 compounds in total from the rinds of cultivated sugarcane varieties (including eight alkaloids, 24 non-alkaloids, and eight others) by using the liquid chromatography-tandem mass spectrometry (LC-MS/MS) approach. Among these compounds, 31 were novel and are reported for the first time in sugarcane. Some alkaloids such as 3-indoleacrylic acid, N,N-dimethyl-5-methoxytryptamine, tryptamine, 6-hydroxynicotinic acid, and 6-deoxyfagomine are identified the first time in sugarcane rind. Four alkaloids such as trigonelline, piperidine, 3-indoleacrylic acid, and 6-deoxyfagomine are found abundantly in sugarcane rind and these compounds have promising pharmaceutical value. Some phytocompounds such as choline and acetylcholine (non-alkaloid compounds) were most common in the rind of ROC22 and Yuetang93/159 (YT93/159). Hierarchical cluster analysis and principal component analysis revealed that the ROC22, Taitang172 (F172), and Yuetang71/210 (YT71/210) varieties were quite similar in alkaloid composition when compared with other sugarcane varieties. We have also characterized the biosynthesis pathway of sugarcane alkaloids. The rind of F172, ROC22, and YT71/210 showed the highest total alkaloid content, whereas the rind of ROC16 revealed a minimum level. Interestingly, the rind extract from YT71/210 and F172 showed maximum antioxidant activity, followed by ROC22. CONCLUSION: Our results showed the diversity of alkaloid and non-alkaloid compounds in the rind of six cultivated sugarcanes and highlighted the promising phytocompounds that can be extracted, isolated, and utilized by the pharmacological industry.