Converting the solid waste into high-value products were significant to environmental protection and resources saving. Waste cigarette filters, were made of cellulose acetate, a common kind of solid waste in daily life. In this work, waste cigarette filters were used as cellulose precursors and decorated with bimetallic MOFs to fabricate a light-weight, monolithic and porous carbon foam. The specific surface area and pore size of as-prepared carbon foams can be regulated through changing the mass ratio of ZIF-8 to ZIF-67. Importantly, as-prepared samples exhibited good electrochemical performances when accessed a great balance between the surface area and conductivity. The sample of C/Zn/Co-0.5:0.5 exhibited an excellent electrosorption capacity for methylene blue, which was high up to 2847 mg g−1. Moreover, it had a superior stability, and the removal efficiency for methylene blue remained above 90 % after 5 cycles. Thus, this study successfully realized the conversion of waste cigarette filters into porous materials, which can be regarded as an effective and economic adsorbent used in wastewater treatment.