ethicillin-resistant Staphylococcus aureus (MRSA) is a dangerous pathogen that causes various serious infectious diseases in humans. The phenomena of drug uptake, antibiotic resistance, and bacterial disruption are rapidly increasing due to the misuse of antibiotics, which is hindering the effectiveness of modern antibiotic therapies primarily used to treat this globally prevalent pathogen. Penicillin-binding protein 4 (PBP4) is a bacterial enzyme belonging to the penicillin-binding protein family. This enzyme plays a crucial role in the synthesis and maintenance of bacterial cell walls, which are essential for bacterial survival. In this study, the authors employed a molecular docking method to identify flavonoids capable of binding to the catalytic site of PBP4. The results revealed that 39 flavonoids exhibited stronger binding affinity to PBP4 compared to the co-crystallized ligand. Among them, the top five compounds with the strongest binding affinities were Umbralisib, Quercitrin, Isosilybin, Kaempferol-3-O-rutinoside, and Eriocitrin. Notably, Umbralisib exhibited the highest binding affinity (-11.05 kcal/mol) and formed two hydrogen bonds with the amino acids Ser262, Ser75, as well as four hydrophobic interactions with the amino acids Phe241, Ala182, Leu115, and Tyr291. The obtained results provided valuable foundational information for future in-depth research on the application of these compounds in the treatment or adjunctive therapy of MRSA infections in the future.