Xylosandrus compactus has a wide distribution in the tropics. Its range extends from Madagascar and much of tropical Africa, through Sri Lanka and southern India, Thailand, Vietnam, Malaysia, China and Japan to Indonesia, New Guinea and various islands in the Pacific. It was introduced into the continental United States in 1941 and has also spread to Brazil and Cuba. It arrived in Hawaii in 1961, and here it infests over one hundred species of timber trees, fruit trees, ornamental trees and fruit bushes. Its presence in Hawaii is putting some rare and threatened endemic trees such as
Alectryon macrococcus,
Colubrina oppositifolia,
Caesalpinia kavaiensis, and
Flueggea neowawraea, at risk. In 2011,
Xylosandrus compactus was first detected in Europe in Portici and Naples, likely introduced through the international trade of nursery plants. Since then, within a few years, it has spread along the Tyrrhenian coast (2012 in Tuscany and Liguria, 2016 in Lazio and Sicily), subsequently reaching the northern inland areas (2015 in Lombardy), and finally the Adriatic coast (2018 in Emilia-Romagna, 2019 in Veneto). In 2015, the species expanded from Liguria to France (French Riviera), and in 2019 it was recorded in Spain (Mallorca, Balearic Islands) on a carob tree, which was promptly treated in an attempt to eradicate the beetle. In July of the same year,
X. compactus was also found in southern Greece infesting carob, laurel, olive, Judas tree, and shrubs of the genus
Rhamnus, thereby becoming a concern at the European level. ==Hosts==