Discharges of toxic dye wastewater have harmful effects and irreparable damage to water resources, soil, living organisms and ecosystems. Methylene blue, which is one of the most widely used dyes in the industry, is due to the presence of benzene rings in its chemical structure, resistant to biodegradation and is persistent in nature. Therefore, removal of methylene blue from wastewater as one of the most important environmental pollutants is very important. Among the available techniques for purification of dyes, simple and inexpensive adsorption techniques are one of the most effective methods for removing dye from wastewater. In this study, the effectiveness of a Dapsone-covalent organic polymer in the adsorption of methylene blue from aqueous solutions was investigated. The effective factors in achieving optimal adsorption, including pH and contact time, as well as the effect of amount of adsorbent and different temperature conditions on adsorption process were investigated. The UV-Visible spectrometer was used to measure the dye adsorption. At room temperature and the contact time of 15 minutes, the maximum adsorption capacity was 1668 mg/g. The dye adsorption behavior was evaluated with Langmuir, Freundlich, Temkin and Dubinin-Radushkevich isotherms, and it was observed that the adsorption process was more consistent with Langmuir isotherm model (R 2 =0.995). Investigation of adsorption kinetics with pseudo-first order, pseudo-second order, and intra-particle diffusion equations showed that the pseudo-second order kinetic model (R 2 =0.999) is more in line with the results of this study. Also, the accuracy of the method was in the range of 0.5-3.0% (relative standard deviation).