Pseudomonas aeruginosa, an important opportunistic pathogen, is capable of producing various virulence factors and forming biofilm that are regulated by quorum sensing (QS). It is known that targeting virulence factor production and biofilm formation instead of exerting selective pressure on growth such as conventional antibiotics can reduce multidrug resistance in bacteria. Therefore, many quorum-sensing inhibitors (QSIs) have been developed to prevent or treat this bacterial infection. In this study, wogonin, as an active ingredient from Agrimonia pilosa, was found to be able to inhibit QS system of P. aeruginosa PAO1. Wogonin downregulated the expression of QS-related genes and reduced the production of many virulence factors, such as elastase, pyocyanin, and proteolytic enzyme. In addition, wogonin decreased the extracellular polysaccharide synthesis and inhibited twitching, swimming, and swarming motilities and biofilm formation. The attenuation of pathogenicity in P. aeruginosa PAO1 by wogonin application was further validated in vivo by cabbage infection and fruit fly and nematode survival experiments. Further molecular docking analysis, pathogenicity examination of various QS-related mutants, and PQS signal molecule detection revealed that wogonin could interfere with PQS signal molecular synthesis by affecting pqsA and pqsR. Taken together, the results indicated that wogonin might be used as an anti-QS candidate drug to attenuate the infection caused by P. aeruginosa.