This study demonstrates volatile organic compounds (VOCs) production as one of the defense mechanisms of the antagonistic endophyte Nodulisporium sp. GS4d2II1a, and the volatile changes in two times of the fungal growth; and, as result of its intra and interspecific interactions with the plant pathogen Pythium aphanidermatum. The antifungal activity of the volatile and diffusible metabolites was evaluated by means of three types of antagonism bioassays and by organic extract agar dilution. VOCs were obtained by gas chromatography coupled to mass spectrometry from 3- and 5-day Nodulisporium sp. cultures, as well as from its interspecific in vitro antagonistic interaction with the oomycete P. aphanidermatum, and its intraspecific Nodulisporium sp.-Nodulisporium sp. interaction. The GS4d2II1a strain completely inhibited the growth of two fungi and seven oomycetes by replacing their mycelia in simple antagonism bioassays and by producing in vitro volatile and diffusible metabolites that acted synergistically in multiple antagonism bioassays. Additionally, VOCs inhibited the growth of three oomycetes and one fungus in antagonism bioassays using divided plates. A total of 70 VOCs were detected, mainly including mono and sesquiterpenes, especially eucalyptol and limonene. Multiple correspondence analysis revealed four different volatile profiles, showing that volatiles changed with the fungus age and its intra and interspecific interactions. The metabolites produced by Nodulisporium sp. GS4d2II1a could be useful for biological control of fungal and oomycetes plant pathogens of economically important crops.