The region of Alto Capibaribe, in the Brazilian semiarid, faces an environmental issue due to contamination from textile activities. Inadequate release of dyes and other toxic substances threatens human health and water resources, such as alluvial reserves. Thus, biochar, a low-cost adsorbent produced by biomass pyrolysis, helps mitigate these problems by increasing soil retention capacity. This study analyzed the effect of applying biochar, produced from coffee husks, a biomass already established in biochar production, at temperature of 530 °C with a pyrolysis time of 10 to 12 hours, in a homemade metallic furnace, resulting in a product with 67.11% carbon. This biochar was applied to evaluate the mobility of the textile dye Red Drimaren, at a concentration of 25 mg.L-1, used for garment dyeing in local industries, in a subsurface layer of an alluvial deposit located in the dry bed of the Capibaribe River. Fourier Transform Infrared Spectroscopy (FTIR) showed that the highest spectral vibrations are in the range of 1400-1800 cm-1, indicating the presence of amine and amide functional groups, favoring the biosorption process. The pH in water is higher than in KCl for all situations, with biochar being basic and the alluvial soil being acidic. The zero charge point values are equal to 6.96 and 7.96 for the proportions Soil+0.25%BC and Soil+1.00%BC, respectively. Layers with 0.25%BC and 1.00%BC added had an increase in adsorptive capacity of 31.68% and 8.62%, respectively, compared to the natural soil sorption capacity. Kinetic data best fit the pseudo-second-order model, and intra-particle diffusion was not the determining mass transfer process nor the occurrence of the adsorption process. Linear and Freundlich isotherm models consistently described the process under varying concentrations, and the Langmuir model did not show a valid physical significance.