In this work, we focus on the identification of novel fungal peroxygenase gene belonging to the peroxidase-peroxygenase superfamily. We applied a metagenomic approach on soil samples from primeval forest and appropriate bioinformatics tools for analysis of obtained genomic DNA sequence. Peroxidases are ubiquitous metalloenzymes that are able to reduce reactive peroxides, mainly hydrogen peroxide, into water, whereas several substrates can be concomitantly oxidized during their catalytic reaction. Our purpose was to collect unique peroxygenase sequence data originating from a preserved biotope for a robust phylogenetic reconstruction of a particular gene family coding for highly versatile heme-thiolate peroxidases that has peculiar yet undiscovered representatives among ectomycorrhizal fungi. We identified unique DNA sequence, 812 bp long, from ectomycorrhizal Suillus species coding for a heme-thiolate peroxidase with 1 typical intron that appears distinctive for Carpathian forests. After translation in corresponding protein sequence 251 amino acids long we could identify typical signatures of this peroxygenase. On the proximal side of heme we found the conserved P-C-P triad responsible for efficient ligation of heme iron thus influencing the reactivity of this peroxidase. On the distal side we recognized the E-H-D-X-S-L motif for interaction with a stabilizing magnesium ion. Maximum likelihood reconstruction of protein phylogeny revealed with a high bootstrap support the presence of a monophyletic HTP4 clade originating in numerous Suillus representatives. Together with sister clades of edible Boletus and poisonous Paxillus containing diverse peroxygenases these newly discovered heme catalyst can be considered for application of oxyfunctionalization of organic molecules.