Anethum graveolensL. has been known as an aromatic, medicinal, and culinary herb since ancient times. The main purpose of this study was to determine the chemical composition, antibacterial, antibiofilm, and anti-quorum sensing activities of the essential oil (EO) obtained by hydro-distillation of the aerial parts. Twelve components were identified, representing 92.55% of the analyzed essential oil. Limonene (48.05%), carvone (37.94%), cis-dihydrocarvone (3.5%), and trans-carvone (1.07%) were the main identified constituents. Results showed that the obtained EO was effective against eight bacterial strains at different degrees. Concerning the antibiofilm activity, limonene was more effective against biofilm formation than the essential oil when tested using sub-inhibitory concentrations. The results of anti-swarming activity tested againstP.aeruginosaPAO1 revealed thatA. graveolensinduced more potent inhibitory effects in the swarming behavior of the PAO1 strain when compared to limonene, with a percentage reaching 33.33% at a concentration of 100 µg/mL. The ADME profiling of the identified phytocompounds confirms their important pharmacokinetic and drug-like properties. The in-silico study using molecular docking approaches reveals a high binding score between the identified compounds and known target enzymes involved in antibacterial and anti-quorum sensing (QS) activities. Overall, the obtained results highlight the possible use ofA. graveolensEO to prevent food contamination with foodborne pathogenic bacteria.