In Ethiopia, Pinus radiata and Pinus patula are extensively cultivated. Both plantations frequently serve as habitats for edible fungi, providing economic and ecological importance. Our study aims were: (i) to investigate how plantation age and tree species influence the variety of edible fungi and sporocarps production; (ii) to determine edaphic factors contributing to variations in sporocarps composition; and (iii) to establish a relationship between the most influencing edaphic factors and the production of valuable edible mushrooms for both plantation types. Sporocarps were collected weekly from permanent plots (100 m2) established in 5-, 14-, and 28-year-old stands of both species in 2020. From each plot, composite soil samples were also collected to determine explanatory edaphic variables for sporocarps production and composition. A total of 24 edible species, comprising 21 saprophytic and three ectomycorrhizal ones were identified. Agaricus campestroides, Morchella sp., Suillus luteus, Lepista sordida, and Tylopilus niger were found in both plantations. Sporocarp yields showed significant variation, with the highest mean production in 28-year-old stands of both Pinus stands. Differences in sporocarps variety were also observed between the two plantations, influenced by factors such as pH, nitrogen, phosphorus, potassium, and cation exchange capacity. Bovista dermoxantha, Coprinellus domesticus, and A. campestroides made contributions to the variety. The linear regression models indicated that the abundance of specific fungi was significantly predicted by organic matter. This insight into the nutrient requirements of various fungal species can inform for a better plantation management to produce both wood and non-wood forest products. Additionally, higher sporocarps production in older stands suggests that retaining patches of mature trees after the final cut can enhance fungal habitat, promoting diversity and yield. Thus, implementing this approach could provide supplementary income opportunities from mushroom sales and enhance the economic outputs of plantations, while mature trees could serve as a source of fungal inoculum for new plantations.