Composites formed by TiO2/babassu mesocarp were synthesized by the sol-gel method with a percentage variation of 3 % and 5 % (w/v) called 3BBT and 5BBT, respectively. The materials were characterized by X-Ray Diffraction (XRD), Scanning Electron Microscopy (SEM), UV–Vis Diffuse Reflectance Spectroscopy, and surface area was calculated by the Brunauer–Emmett–Teller method (BET). Electrochemical studies were carried out, and photocurrent data was obtained as a function of the variation in gallic acid concentration and applied potential. The photocatalytic efficiency of the material was investigated by the degradation of the Methylene Blue (MB) dye under light. The antimicrobial activity of the materials was tested on Gram-positive and Gram-negative strains. XRD showed that the composites obtained are in the anatase crystallographic phase, and the increase in the percentage of babassu mesocarp influenced the reduction of peak intensity and crystallite size. The microscopy showed a more porous aspect of the 3BBT material and a denser aspect of the 5BBT material. It was confirmed by textural characterizations, which showed reduced pore volume and specific surface area of 5BBT compared to 3BBT. Increasing the percentage of polysaccharides caused a reduction in the band gap energy of TiO2 (Eg = 2.90 eV and Eg = 2.47 eV for 3BBT and 5BBT, respectively). The electrochemical study showed that the composites could detect gallic acid, providing increased sensitivity according to the increased applied photocurrent. They also showed good precision for the photoelectrochemical measurements, as verified in the repeatability test (2.66 % and 3.68 % RPD for 3BBT and 5BBT, respectively). The 3BBT showed greater photocatalytic capacity, discoloring 63.4 % of the MB dye in 120 min under light and electrons are the main species involved in photocatalytic activity demonstrated by 3BBT. Antibacterial tests indicated that the 5BBT material exhibits a greater capacity to inhibit E. coli and S. aureus bacteria.