The preservation of the genetic resources of crop wild relatives (CWRs) is crucial for food production systems and is considered a vital measure for global agricultural health and food security. The identification of potential areas where CWRs can thrive is one of the first steps towards their conservation. In this study, we used a maximum entropy model (MaxEnt) to determine the habitat suitability of seven wild relatives of pears (Pyrus L.) for the first time. We aimed to identify high-priority areas for conservation and determine the hotspots for rich biodiversity in Iran. The study showed excellent predictive performance for all species studied (AUC value ≥ 90). The soil depth, solar radiation, minimum temperature of the coldest month (Bio6), and precipitation of the wettest quarter (Bio16) were the main environmental factors that influenced the habitat suitability of all seven species, according to permutation importance. The projected maps revealed that P. elaeagnifolia had the largest suitable habitat area, while P. glabra had the lowest. The results also showed that less than 5% of the suitable habitats for these seven species were in protected areas. This research highlights the need for national preservation policies and the development of cultivation and rehabilitation strategies for these threatened species.