The medicinal plants Centella asiatica, Curcuma xanthorrhiza, Guazuma ulmifolia, and Hydrocotyle verticillata are widely used in Indonesian traditional medicine, but little is known about their associated endophytic fungi. This research aimed to study the diversity of endophytic fungi derived from functional parts of these plants and to evaluate their potential as antifungal agents against the plant pathogenic fungus Fusarium oxysporum. A total of 17 isolates of endophytic fungi were obtained: nine from leaves of G. ulmifolia, three each from leaves of C. asiatica and H. verticillata, and two from rhizomes of C. xanthorrhiza. The genus Colletotrichum was found in all plants studied, but each plant was associated with different species. Colletotrichum aeschynomenes was associated with C. xanthorrhiza, C. siamense was associated with C. asiatica, and C. tropicale was associated with G. ulmifolia and H. verticillata. The species Curvularia affinis, Diaporthe tectonae, Lasiodiplodia mahajangana, Parengyodontium album, Talaromyces trachyspermus, and Speiropsis pedatospora were found only in G. ulmifolia; while Didymella coffeae-arabicae and Muyocopron laterale were found only in H. verticillata. The endophytic fungi showed inhibition activity against F. oxysporum with inhibition values of 6.0-78.9%, T. trachyspermus JBd10 and C. affinis JBd14 gave the highest inhibition activity.