The invasive dermestid khapra beetle, Trogoderma granarium, is an important pest of stored products that is subject to strict phytosanitary measures. In this study, we conducted a demographic analysis of this species at 30, 35 and 40°C, combining deterministic and stochastic approaches. The net reproductive rate, the intrinsic rate of increase, the finite rate of increase and the doubling time did not differ significantly between 30 and 35°C, while at 40°C we detected negative values of the intrinsic rate of increase and the doubling time. The Briere model fit the data well with respect to the intrinsic rate of increase. Females of roughly 63, 42 and 21 days old reached their maximum reproductive potential at 30, 35 and 40°C, respectively. The stochastic models of this study allowed for checking model fit and the characterization of the most suitable distribution for each component of the process. We expect these results to have bearing on the management of T. granarium since they could be combined with models related to international trade and climatic change, alerting specialists towards early detection strategies against this species.