An optimal concentration of the dye solutions at optimal pH was added to raw sugarcane bagasse adsorbent separately with varying masses of 0.2g, 0.4g, 0.6g and 0.8g and optimal time with stirring speed, the mixture was filtered and analysed by UV-VIS. The effect of pH on the adsorption of methylene blue dye from aqueous solution was analyzed, using 0.2g of sugarcane bagasse as the adsorbent, as shown in Table and Figure . An increase in the quantity of dye absorbed was observed as the pH increased. Specifically, the percentage removal of methylene blue increased rapidly from pH 2 to 6, reaching an optimum at pH 6, followed by a less rapid decrease at pH 8. The adsorption behavior can be attributed to the chemistry of the solute and the active sites of the adsorbent. At lower pH values, the adsorbent surface is surrounded by hydrogen ions, which compete with methylene blue ions for binding sites. At higher pH levels, the surface of the biomass particles becomes negatively charged due to the ionization of the OH groups on the cellulose-based biomass surface, enhancing the adsorption of the positively charged dye cations through electrostatic attraction.