Fungi inhabiting dead spruce were identified by 454-sequencing.
Fungal richness increased with the loss of wood density.
Brown-rot fungi peaked during intermediate and mycorrhizal fungi in the later decay stages.
Modeled fungal habitat requirements can be applied in forest management planning.