Anethum graveolens is an aromatic plant traditionally used as an antispasmodic and carminative. The objective of this study is to analyze the chemical composition of the essential oils and extracts obtained from seeds gathered in Errachidia, southern Morocco. Additionally, the antioxidant and antimicrobial properties of these oils and extracts will be evaluated. GC-MS analysis of the EO isolated by hydrodistillation revealed that its main compounds were E-anethole (38.13%), estragole (29.32%), fenchone (17.21%), and α-pinene (7.37%). The phenolic components were extracted using the methods of decoction and Soxhlet. The assay of the phenolic compounds showed that A. graveolens seeds contained considerable amounts of polyphenols, flavonoids, and condensed tannins, with variable levels depending on the extract analyzed. HPLC/UV-ESI-MS analyses performed on the decoction revealed a structural diversity of the molecules present in this extract, the most important of which were umbelliferone (12.35%), 3-hydroxyflavone (11.23%), rosmanol (8.95%), biotin (8.36%), emmotin H (4.91%), and coumarin (4.21%). The antioxidant activity, as determined by three techniques (DPPH•, FRAP, and CAT), demonstrated that the essential oils (EOs) and extracts had a potent capacity to counteract detrimental free radicals, control the generation of reactive oxygen species, and mitigate oxidative damages. The antimicrobial activity of the Eos and extracts was carried out in a liquid medium against five strains (E. cloacae, K. pneumoniae, E. coli, S. aureus, and S. epidermidis) and four candidiasis (C. albicans, C. dubliniensis, C. tropicalis, and C. parapsilosis) and Aspergillus niger. The results showed the effectiveness of the EOs compared to the aqueous, ethanolic, and decoction extracts against most of the microorganisms tested. In addition, the ethanolic extract showed antifungal activity that was distinguished from that of the other extracts. The antimicrobial efficacy of the essential oils under study can primarily be attributed to the synergistic interactions among its three principal constituents (E-anethole, estragole, and fenchone). Furthermore, molecular docking and molecular dynamics simulation results reveal significant interactions and stability between the selected bioactive compounds and different target proteins involved in antimicrobial and antioxidant activities. Compounds like 3-hydroxyflavone, emmotin H, trans-caftaric acid, methyl rosmarinate, 1-caffeoyl-beta-D-glucose, and kaempferol exhibited better binding energies with the explored proteins, indicating their potential as antimicrobial and antioxidant agents. Finally, our findings emphasize the significance of A. graveolens seeds as a promising reservoir of advantageous health compounds that can serve as organic substitutes for the presently employed synthetic preservatives.