The rise of microbial resistance and emerging infections pose significant health threats. Natural products from endophytic fungi offer a promising source of novel compounds with the potential as major drug leads. This research aims to screen Myrtus communis and Moringa oleifera for endophytic fungi and screen their metabolites for antibacterial and antifungal potential. Six endophytic fungal strains were isolated using a potato dextrose agar (PDA) medium. The M. communis isolates were designated MC1, MC2, and MC3, and the M. oleifera isolates were named MO1, MO2, and MO3. Preliminary bioactivity testing revealed that the MC3 isolate exhibited significant growth inhibition against multidrug-resistant bacterial and fungal pathogens, including Staphylococcus aureus, Enterococcus faecalis, Bacillus subtilis, Pseudomonas aeruginosa, Escherichia coli, Candida albicans, and Candida glabrata. The MC3 isolate was identified as Fusarium oxysporum through morphological and microscopic methods. For metabolite production, the fungal strain was cultured in potato dextrose broth (PDB) medium at 28°C for 14days in a shaking incubator. The metabolites were purified using various chromatographic techniques, HPLC and GC-MS. The GC-MS analysis of the bioactive compound containing fungal strain (F. oxysporum) revealed multiple compounds at different retention times using the NIST-20 Library. Based on RSI values and probability indices, two compounds were targeted for further purification. Structure elucidation was performed using 1D and 2D nuclear magnetic resonance (NMR) experiments on a Varian 500 NMR machine. The compounds identified were ethyl iso-allocholate (C26H44O5, exact mass 436.32) and 1-monolinoleoyl glycerol trimethylsilyl ether (C27H56O4Si2, exact mass 500.37). The MS (NIST-20) library facilitated the investigation of the in silico antimicrobial activity of these compounds against the elastase virulence protein of P. aeruginosa and protease Sapp1p from C. parapsilosis. Both the compounds were docked with druggable proteins using the Glide induced fit docking (IFD) algorithm. The ethyl iso-allocholate and 1-monolinoleoyl glycerol trimethylsilyl ether compounds showed binding scores - 10.07kcalmol-1 and - 7.47kcalmol-1 against elastase, and - 8.16kcalmol-1 and - 6.89kcalmol-1 against aspartic protease, respectively. In vitro studies confirmed the inhibitory activity of these compounds against multidrug-resistant P. aeruginosa and E. faecalis. Ethyl iso-allocholate exhibited higher bioactivity against P. aeruginosa with inhibition rates of 41%, 27%, and 35% at concentrations of 1000, 500, and 250µgmL-1, respectively. These results suggest that bioactive compounds from F. oxysporum have the potential as antimicrobial agents, warranting further research.