Coffee husk (CH) was physically and chemically treated with autoclaving (SCH) and NaOH (NCH) to develop low-cost adsorbent for the removal of methylene blue (MB) from synthetic wastewater, and their adsorption efficiencies were evaluated in batch mode. The prepared adsorbent was characterised by SEM, FTIR and point of zero charge. The central composite rotatable design (CCRD) was employed to optimise the adsorption process parameters such as pH, adsorbent dosage and initial MB concentration. The second-order quadratic model fitted best with the experimental adsorption data, and ANOVA results showed that the developed model was significant. The linear terms in the model significantly influence the adsorption capacity of SCH and NCH, but interaction terms were not significant. At optimised conditions, the developed adsorbents can remove > 90% of MB from the aqueous solution. Freundlich model showed a better fit with the adsorption isotherm data with R 2 greater than 0.95. Kinetics of MB adsorption onto SCH and NCH followed the pseudo-second-order model. The maximum monolayer adsorption capacity was found to be 129 and 200 mg/g for SCH and NCH, respectively. The present study showed that pretreated coffee husk waste can be used as an alternative for expensive adsorbents for the removal of dyes from wastewater.