Hylomecon japonica is considered a natural medicinal plant with anti-inflammatory, anticancer and antibacterial activity. The assessment of climate change impact on its habitat suitability is important for the wild cultivation and standardized planting of H. japonica. In this study, the maximum entropy model (Maxent) and geographic information system (ArcGIS) were applied to predict the current and future distribution of H. japonica species, and the contributions of variables were evaluated by using the jackknife test. The area under the receiver operating characteristic curve (AUC) value confirmed the accuracy of the model prediction based on 102 occurrence records. The predicted potential distributions of H. japonica were mainly concentrated in Jilin, Liaoning, Shaanxi, Chongqing, Henan, Heilongjiang and other provinces (adaptability index > 0.6). The jackknife experiment showed that the precipitation of driest month (40.5%), mean annual temperature (12.4%), the precipitation of wettest quarter (11.6%) and the subclass of soil (9.7%) were the most important factors affecting the potential distribution of H. japonica. In the future, only under the shared socioeconomic Pathway 245 (SSP 245) scenario model in 2061–2080, the suitable habitat area for H. japonica is expected to show a significant upward trend. The area under other scenarios may not increase or decrease significantly.