Highlights SPE and UPLC-MS/MS was validated for analysis of malachite green in wastewater SPE bio-sorbent, a lignocellulose biomass was prepared from moringa oleifera pods Methanol was found to be the most efficient extracting solvent Analysis time was found to be <1 min with excellent peak resolution and symmetry Optimized method has been applied for the analysis of industrial wastewater samples