Borrowed from Ancient Greek ξυλοφάγος (xulophágos), from ξύλον (xúlon, “wood”) and φάγος (phágos, “one who eats”). By surface analysis, xylo- + -phage.
Practice speaking and memorizing "xylophage" and many other words and sentences in French.