The present study proposes the synthesis of a new tannin-based organic coagulant (TBC) for the treatment of water and wastewater. Using the Mannich reaction, the TBC was produced based on tannins extracted from grape stems, combined with ammonium chloride, formaldehyde, and diethanolamine. The concentration of total tannins analyzed by the Folin-Ciocalteu, was 263.9 mg per g of grape stem of stems, and the concentration of condensed tannins analyzed by Vanilina methods 14.95 per g of grape stem. The extract also had a pH of 6.4, density of 0.909 g L-1, kinematic viscosity of 24.88 cP and an initial solids concentration of 3%. The physical-chemical characterization of the TBC revealed characteristics similar to commercial organic coagulants, with a brownish liquid aspect, concentration of 238 g L-1, pH of 1.7, viscosity of 28 cP and a solids concentration of 42%. The FTIR spectrum of TBC showed different peaks when compared to the tannin extract spectrum, especially in the regions of 1990 cm(-1) and 1737 cm(-1). The TBC's effectiveness in the coagulation process was confirmed by the coagulation diagram, which evaluated the best conditions for removing turbidity due to the coagulant dosage and pH variation in water with 50 NTU turbidity induced with kaolin. The TBC was shown to be able to act effectively in the destabilization of colloidal particles and potential applicability in water and wastewater treatment.