Wood-decay fungi produce extracellular enzymes that metabolize wood components such as cellulose, hemicellulose and lignin. Each fungus has a preference of wood species as the host, but identification of these preferences requires a huge amount of cultivation data. Here, we developed a method of predicting the wood species preference, Angiosperm specialist or Gymnosperm specialist or generalist, of wood-decay fungi using the random forest machine-learning algorithm, trained on the numbers of families associated with host specialization in the Carbohydrate-Active enZymes database. The accuracy of the prediction was about 80%, which is lower than that of the classification of white- and brown-rot fungi (more than 98%) by the same method, but the reason for this may be the ambiguity of the definition of “preference” and “generalists”. Carbohydrate esterase (CE) family 1 acetylxylan esterase was the most significant contributor to the prediction of host specialization, followed by family 1 carbohydrate-binding module and CE family 15, mainly containing glucuronoyl esterases. These results suggest that the ability to degrade glucuronoacetylxylan, a major hemicellulose of Angiosperm, is the key factor determining the host specialization of wood-decay fungi.