Sortase A (SrtA) is an attractive target for developing new anti‐infective drugs that aim to interfere with essential virulence mechanisms, such as adhesion to host cells and biofilm formation. Herein, twenty hydroxy, nitro, bromo, fluoro, and methoxy substituted chalcone compounds T1‐20 were synthesized, antimicrobial activities and molecular modeling strategies against the SrtA enzyme were investigated. The most active compounds were found to be T2, T4, and T19 against Streptococcus mutans (S. mutans) with the MIC values; 1.93, 3.8, 3.94 µg/mL, and docking scores; ‐6.46, ‐6.63, ‐6.73 kcal/mol, respectively. Also, these three active compounds showed better activity than the chlorohexidine (CHX) (MIC value: 4.88 µg/mL, docking score: ‐6.29 kcal/mol) in both in vitro and in silico. Structural stability and binding free energy analysis of S.mutans SrtA with active compounds T2, T4, and T19 were measured by molecular dynamic (MD) simulations throughout 100 nanoseconds time. It was observed that the stability of the critical interactions between these compounds and the target enzyme was preserved. To prove further, in vivo biological evaluation studies could be conducted for the most promising precursor compounds T2, T4, and T19, and it might open new avenues to the discovery of more potent for SrtA inhibitors.