Using the abandoned agricultural by-product corncobs, the most commonly used methylene blue (MB) dyestuffs were removed. This experiment is very meaningful because it is the recycling of resources and the use of environmentally friendly adsorbents. According to the Hauser ratio and porosity analysis, the corncob has a good flow ability of the adsorbent material and many pores, which is very advantageous for MB adsorption. As a result of the experiment, MB concentration of less than 0.005 g/L was very efficiently removed with 10 g/L of bioadsorbent corncob and the maximum adsorption capacity of corncob for MB dyes was obtained at 417.1 mg/g. In addition, adsorption process of MB onto corncob was a physical process according to adsorption energy analysis. Corncob can efficiently and environmentally remove MB in aqueous solution, and is very cost effective and can recycle the abandoned resources.