Over the past 20 years, the biodiversity associated with shaded coffee plantations and the role of diverse agroforestry types in biodiversity conservation and environmental services have been topics of debate. Endophytic fungi, which are microorganisms that inhabit plant tissues in an asymptomatic manner, form a part of the biodiversity associated with coffee plants. Studies on the endophytic fungi communities of cultivable host plants have shown variability among farming regions; however, the variability in fungal endophytic communities of coffee plants among different coffee agroforestry systems is still poorly understood. As such, we analyzed the diversity and communities of foliar endophytic fungi inhabiting Coffea arabica plants growing in the rustic plantations and simple polycultures of two regions in the center of Veracruz, Mexico. The endophytic fungi isolates were identified by their morphological traits, and the majority of identified species correspond to species of fungi previously reported as endophytes of coffee leaves. We analyzed and compared the colonization rates, diversity, and communities of endophytes found in the different agroforestry systems and in the different regions. Although the endophytic diversity was not fully recovered, we found differences in the abundance and diversity of endophytes among the coffee regions and differences in richness between the two different agroforestry systems of each region. No consistent pattern of community similarity was found between the coffee agroforestry systems, but we found that rustic plantations shared the highest number of morphospecies. The results suggest that endophyte abundance, richness, diversity, and communities may be influenced predominantly by coffee region, and to a lesser extent, by the agroforestry system. Our results contribute to the knowledge of the relationships between agroforestry systems and biodiversity conservation and provide information regarding some endophytic fungi and their communities as potential management tools against coffee plant pests and pathogens.