We conducted floristic and community analyses to compare the floristic composition, forest structure, taxonomic richness, and species diversity between two tiankeng (large doline, or sinkhole) habitats and two outside-tiankeng habitats of forest fragments in a degraded karst area in southwestern China. We found remarkably higher taxonomic richness in the tiankeng habitats than in the outside-tiankeng habitats at the species, generic, and familial levels. The inside-tiankeng habitats had higher floristic diversity but lower dominance. The remarkably higher uniqueness at all taxonomic levels and the much larger tree size in the two tiankeng habitats than in the outside-tiankeng habitats demonstrated the old-growth and isolated nature of the tiankeng flora. Plot-scale species richness, Shannon-Wiener index, Pielou’s evenness, and Berger-Parker dominance significantly differed across habitats. Heterogeneity in floristic composition at the species, generic, and familial levels was extremely significant across habitats. In pairwise comparisons, except for the Chuandong Tiankeng-Shenmu Tiankeng pair, all the pairs showed significant between-habitat heterogeneity in floristic composition. Our results suggest that as oases amidst the degraded karst landscape, tiankengs serve as modern refugia that preserve old-growth forest communities with their rich floristic diversity, and can provide a model for habitat conservation and forest restoration in that area.