Egg galleries of Tomicus piniperda attacking Pinus yunnanensis were investigated during different period of trunk attack in mid Yunnan Province. 30 Genus of fungi,which belong to 12 families,were isolated. Among them,12 are saprophytes,10 facultative fungi and 8 parasites. Moreover,there is no obvious differentiation in the dominant populations including Debaryomyces,Penicillium and Paecilomyces with the damage level of localities and there exists no close interior relation between bark beetle attacks and dominant populations. Besides these,blue stain fungi which identified as Leptographium spp.were isolated from Tomicus piniperda and trunk tunnels.