The invasive pest, Liriomyza trifolii, poses a significant threat to ornamental and vegetable plants. It spreads rapidly and causes large-scale outbreaks with pronounced thermotolerance. In this study, we developed L. trifolii strains adapted to high temperatures (strains designated 35 and 40); these were generated from a susceptible strain (designated S) by long-term thermal acclimation to 35 °C and 40 °C, respectively. Age-stage, two-sex life tables, thermal preferences, critical thermal limits, knockdown behaviors, eclosion and survival rates as well as expression of genes encoding heat shock proteins (Hsps) were compared for the three strains. Our findings indicated that the thermotolerance of L. trifolii was enhanced after long-term thermal acclimation, which suggested an adaptive plastic response to thermal stress. A trade-off between reproduction and thermotolerance was observed under thermal stress, potentially improving survival of the population and fostering adaptionary changes. Acclimation at 35 °C improved reproductive performance and population density of L. trifolii, particularly by enhancing the fecundity of female adults and accelerating the speed of development. Although the 40 strain exhibited the highest developmental speed and greater thermotolerance, it incurred a larger reproductive cost. This study provides a theoretical framework for monitoring and controlling leafminers and understanding their evolutionary adaptation to environmental changes.