In this study, effective and fast removal efficiency of carob powder (as an absorbent material from liquid phase) was investigated by focusing on the dangerous paint methylene blue mixture. The surface texture developed adsorbent was revealed to be porous by characterizing done thanks to scanning through electron microscope. Experiment parameters of pH, ultrasonic frequency, particle size, contact time, temperature and initial concentration of dissolved methylene blue dye were investigated accordingly. Thereafter, Box-Behnken design experiment was applied for adsorption experiments. Regression analysis findings demonstrated that the experimental data is good for to the non-linear model with correlation coefficients of correction value at 0.8899 and 0.9830. The maximum adsorption value was determined as around 256.44 mg/g thanks to the Electro-Search Algorithm, a recent Artificial Intelligence based intelligent optimization technique. Additionally, some alternative intelligent optimization algorithms were also used for determining optimum values. According to the results of the study, the carob bean can be used as an alternative adsorbent and the found optimum values can be employed for that purpose.