Panela is produced in 30 countries; Colombia is the second producer of panela after India. In the panela production process, residual biomass is generated in the mill for the extraction of sugarcane juices, which generate problems for the producers who use it as fuel for the heating of the burners in the production process, generating gas toxic (CO2). The bagasse in its cell wall contains cellulose, one of the most abundant polymers in nature, offering alternatives in the food and environmental conservation industries. Another disadvantage for panela producers is in the process of clarification, vegetable mucilages from each region are used, such as balsa, guácimo and caldillo, which has been affected by its indiscriminate use, which has led to an increase in its cost and use alternative flocculants. A cationic flocculant is proposed from residual biomass of sugarcane bagasse, performing a cellulose extraction of the biomass and carrying out a selective chemical modification of the cationic dialdehyde cellulose (CDAC), and comparing the flocculation of the cationic flocculant with the balsa brought from the trapiche Buena Vista in the municipality of Santana Boyacá. Cellulose and CDAC were characterized by techniques such as infrared spectroscopy with Fourier transform (FT-IR), Raman, X-ray diffraction (XRD), a thermal properties study by thermogravimetry (TGA) and differential scanning calorimetry. (DSC) corroborating the successful extraction of cellulose with a yield of 50% and the modification to CDAC, the clarifying capacity of the cationic flocculant is efficient compared to the native balsa of the Boyacá region.