Treating bacterial infections triggered by multidrug‐resistant bacteria is a global priority. Issue of multidrug resistance can be managed by inhibiting bacterial quorum sensing mechanism. Quorum‐sensing inhibitors (QSIs) are promising alternatives to antibiotics. Herein, a library of FDA‐approved anthelmintic medications was screened using in silico techniques for LuxR protein associated with the quorum‐sensing (QS) mechanism of Staphylococcus aureus. Drug repurposing can reduce the time and financial risk of drug development. Seven FDA‐approved drugs (Fenbendazole, Mebendazole, Flubendazole, Praziquantel, Oxyclozanide, Rafoxanide, and Albendazole) showed strong binding affinity to the LuxR protein with binding free energy less than −6.00 kcal/mol. Molecular dynamic simulation (100 ns) of the docked complexes revealed that Fenbendazole and Rafoxanide remain at the binding pocket of the LuxR protein most of the time. During the whole simulation period, backbone of all seven complexes displayed small fluctuation in the RMSD and Rg. The free energy landscape of LuxR–Rafoxanide and LuxR–Fenbendazole complexes showed promising stability compared to the rest of the complexes. Both the complexes showed excellent MMPBSA binding free energy: −92.882 ± 15.636 kJ/mol (LuxR–Rafoxanide) and −74.873 ± 9.233 kJ/mol (LuxR–Fenbendazole). The reactivity of the ligands was ascertained from their DFT‐based various descriptors.