The endophytic microbiome uses mechanisms such as the secretion of diffusible antibiotic molecules, synthesis and release of volatile organic compounds, and/or toxins to protect plants. The aim of this research was to study the volatile organic compounds (VOCs) profile as well as the diffusible secondary metabolites produced and released by endophytic bacteria isolated from tomato plants that in in-vitro assays prevented growth of pathogenic fungi. Bacteria belonging to seven genera (Acinetobacter, Arthrobacter, Bacillus, Microbacterium, Pantoea, Pseudomonas, and Stenotrophomonas) were isolated from different tissues of tomato plants with and without symptoms of Gray leaf spot, a disease provoked by Stemphylium lycopersici. In vitro, antagonistic assays were performed and the effect of volatile and soluble compounds released by endophytic bacteria on the growth of pathogenic fungi was determined. The VOCs synthesized by the endophytes were extracted, identified and quantified. These isolates representatives of seven bacterial genera inhibited the growth of three fungal pathogens of tomato S. lycopersici, Alternaria alternata and Corynespora cassiicola, which was related to the synthesis of soluble compounds as well as VOCs. Endophytes synthesize and release different VOCs, probably due to the different type of interaction that each bacterium establishes with the fungus, presenting a range of fungal growth inhibition.