Forest management has an essential impact on the growth of medicinal, edible, and poisonous wood-inhabiting fungi. Identification and cultivation of some edible fungi play an important role in supplying food needs and knowing medicinal fungi can be important for maintaining health and treating many diseases. The purpose of this study was to identify of wood-inhabiting fungi on deadwood of Fagus orientalis trees in the Darabkola forests. Also, we categorized these fungi into medical, edible, and poisonous groups, and investigated the amount of deadwood in these forests. After conducting preliminary field survey, sampling was done from deadwood. Identification of fungi in the fungal laboratory through morphology and extraction of ITS nrDNA region was done and sequenced using ITS1 and ITS4 primers, corrected with BioEdit software and analyzed using the data available in NCBI. The results showed that 40 fungi species were identified, among which, 70% had medicinal and economic values, 22% had edible value, and 8% had toxicity characteristic. The results also showed that Trametes versicolor with 10%, Daldinia concentrica and Trichaptum biforme with 7%, Pleurotus ostreatus, Ganoderma lucidum and Fomes fomentarius with 6% had the highest frequency on deadwoods, respectively. Among them, the families related to Polyporaceae with 38%, Xylariaceae with 15% and Ganodermataceae with 10% had the highest frequency, respectively, and the volume of deadwoods in the Darbkola forests of Mazandaran was 5. 31 cubic meters per hectare. In conclusion, in order to manage the deadwood in a forest ecosystem for increasing the diversity of medical and edible fungi, it is suggested to preserve the deadwoods in the forest.