Trilocha varians is one of the major pests of Ficus spp. Based on 19 bioclimatic variables provided by the Worldclim, our study analysed the suitable distribution areas of T. varians under current and future climate changes (SSP1-2.6, SSP2-4.5, SSP5-8.5) for two periods (the 2050s and 2090s) using the maximum entropy algorithm (MaxEnt) model. Key environmental variables affecting the geographic distribution of T. varians were also identified, and the changes in the area of suitable range under current and future climate changes were compared. The results showed that the key environmental variables affecting the distribution of T. varians were temperature and precipitation, comprising annual mean temperature (bio1), temperature seasonality (standard deviation × 100) (bio4), precipitation of driest month (bio14), and precipitation of driest quarter (bio17). Under the current climatic conditions, the suitable distribution area of T. varians is within the range of 92°13′E–122°08′E, 18°17′N–31°55′N. The current high, medium, and low suitable areas for T. varians predicted by the MaxEnt model are 14.00 × 104, 21.50 × 104, and 71.95 × 104 km2, of which the high suitable areas are mainly distributed in southern Guangdong, southwestern Guangxi, western Taiwan, Hong Kong, and Hainan. Under different future climatic conditions, some of the high, medium, and low suitability zones for T. varians increased and some decreased, but the mass centre did not migrate significantly. The Pearl River Basin is predicted to remain the main distribution area of T. varians.