Biofilms are complex microbial structures that have a significant impact on human health, industry and the environment. These complex structures represent one of the main mechanisms of microbial resistance, and their development constitutes a serious health problem. Therefore, the aim of this study was to verify the potential for inhibition and eradication of bacterial biofilm by salosodine, which is a steroidal alkaloid sapogenin found in plants of the Solanum genus. The antibiotics gentamicin, norfloxacin, ampicillin and the antiseptic agent chlorhexidine gluconate were used as positive controls to compare the results. Solasodin showed significant results in inhibiting the formation of Enterococcus faecalis and Staphylococcus aureus biofilms at the two concentrations tested. And when comparing the effect of solasodine for the two concentrations and the effect of the antibiotic gentamicin, it was found that sapogenin showed a better percentage in inhibiting E. faecalis biofilm formation. And against Pseudomonas aeruginosa, solasodine only inhibited biofilm formation at the highest concentration compared to the control. In the biofilm eradication results, solasodine showed a significant reduction in the biomass of the S. aureus biofilm, and when compared with the percentage reduction of the antibiotics, solasodine showed a relevant result for both concentrations. Only at the lowest concentration did solasodine show a reduction in P. aeruginosa biofilm biomass, a reduction close to that of chlorhexidine gluconate. In terms of activity, solasodine has been shown to have the potential to inhibit biofilm formation. However, further tests are needed to investigate the mechanisms of action of this sapogenin on the bacterial biofilms tested.