The textile industry is one of the most important industries in the European Union. The main environmental problems of the textile industry are the high water consumption, the generated pollution, the variety of chemicals used and the high energy demand. Recently, adsorbents with a large specific surface area and low weight, such as aerogels, have attracted great interest as promising materials for removing dyes from polluted water. Cellulose aerogels are inexpensive and non-toxic. Langmuir and Freundlich isotherms were chosen as the best method to describe the performance of the adsorbent. In this study, the adsorption efficiency of Congo red, Naphthol green B, Rhodamine B and Methylene blue were determined by using an adsorbent synthesized from paper and cardboard waste. The total organic carbon concentration was chosen as an indicator of the concentration of the dyes in the solutions. The aerogel capsules had 5% cellulose content. It was found that the adsorption capacity of the aerogel in the solutions of Congo red varied from 0.028 mg/g to 14.483 mg/g; in the solutions of Naphthol green B, from 0.013 mg/g to 7.698 mg/g; in the solutions of Rhodamine B, from 0.020 mg/g to 8.768 mg/g; and in the solutions of Methylene blue, from 0.024 mg/g to 13.538 mg/g.