The present study evaluated the antibacterial potential of endophytic fungi isolated from Dillenia indica L. and identified bioactive compounds responsible for their antimicrobial activity. A total of 25 endophytic fungi were preliminarily screened for their antibacterial activity against human pathogenic bacteria i.e., Escherichia coli, Staphylococcus aureus, Pseudomonas aeruginosa and Bacillus subtilis by dual culture assay. The strains having antibacterial activity were selected and crude extracts were prepared from them. The crude extracts of different fungi were screened for antibacterial activity by agar well diffusion assay. The ethyl acetate extract of Fomitopsis meliae showed the highest activity against selected human pathogenic bacteria with a zone of inhibition ranging from 15-29 mm. The GC-MS analysis of ethyl acetate extract of F. meliae showed 40 compounds. The predominant compounds were Dodecane (8.87%), Ethyl 2-thiopheneacetate (4.12%), Tetradecane (13.86%), Hexadecane (12.05%), Octadecane (6.67%), Benzaldehyde, 4-(1methylethyl (10.83 %), Griseofulvin (3.31%).