Biological edge effects are often assessed in high quality focal habitats that are negatively influenced by human-modified low quality matrix habitats. A deeper understanding of the possibilities for positive edge effects in matrix habitats bordering focal habitats (e.g. spillover effects) is, however, essential for enhancing landscape-level resilience to human alterations. We surveyed epixylic (dead wood inhabiting) forest-interior cryptogams (lichens, bryophytes, and fungi) associated with mature old-growth forests in 30 young managed Swedish boreal forest stands bordering a mature forest of high conservation value. In each young stand we registered species occurrences on coarse dead wood in transects 0-50 m from the border between stand types. We quantified the effect of distance from the mature forest on the occurrence of forest-interior species in the young stands, while accounting for local environment and propagule sources. For comparison we also surveyed epixylic open-habitat (associated with open forests) and generalist cryptogams. Species composition of epixylic cryptogams in young stands differed with distance from the mature forest: the frequency of occurrence of forest-interior species decreased with increasing distance whereas it increased for open-habitat species. Generalists were unaffected by distance. Epixylic, boreal forest-interior cryptogams do occur in matrix habitats such as clear-cuts. In addition, they are associated with the matrix edge because of a favourable microclimate closer to the mature forest on southern matrix edges. Retention and creation of dead wood in clear-cuts along the edges to focal habitats is a feasible way to enhance the long-term persistence of epixylic habitat specialists in fragmented landscapes. The proposed management measures should be performed in the whole stand as it matures, since microclimatic edge effects diminish as the matrix habitat matures. We argue that management that aims to increase habitat quality in matrix habitats bordering focal habitats should increase the probability of long-term persistence of habitat specialists.