Opencast limestone mines or limestone quarries are considered challenging ecosystems for soil fungi as they are highly degraded land with specific conditions, including high temperature, prolonged sunlight exposure, and a lack of organic matter, moisture, and nutrients in soil. In such ecosystems, certain fungi can survive and have a crucial function in maintaining soil ecosystem functions. Unfortunately, we know very little about taxonomic diversity, potential functions, and the ecology of such fungi, especially for a limestone quarry in a tropical region. Here, we characterized and compared the living soil fungal communities in an opencast limestone mine, including mining site and its associated rehabilitation site (9 months post-rehabilitation), with the soil fungal community in a reference forest, using the amplicon sequencing of enrichment culture. Our results showed that living fungal richness in the quarry areas was significantly lower than that in the reference forest, and their community compositions were also significantly different. Living fungi in the mining sites mostly comprised of Ascomycota (Eurotiomycetes and Sordariomycetes) with strongly declined abundance or absence of Basidiomycota and Mucoromycota. After nine months of rehabilitation, certain taxa were introduced, such as Hypoxylon spp. and Phellinus noxius, though this change did not significantly differentiate fungal community composition between the mining and rehabilitation plots. The majority of fungi in these plots are classified as saprotrophs, which potentially produce all fifteen soil enzymes used as soil health indicators. Network analysis, which was analyzed to show insight into complex structures of living fungal community in the limestone quarry, showed a clear modular structure that was significantly impacted by different soil properties. Furthermore, this study suggests potential taxa that could be useful for future rehabilitation.