This study examines the potential impact of climate change on small cattle livestock and milk productivity in Iğdır province. The study takes into account various factors, including the effects of climate change on animal stress levels, nutrient quality in grazing areas, and the spread of parasites or diseases, which may indirectly affect milk productivity. To evaluate this impact, the study utilizes eXtreme Gradient Boosting (XGBoost) machine learning models with five different climate variables, analyzing the small cattle data from Iğdır province between 2004 and 2023. Two machine learning models were created to investigate the effect of climate variables on milk yield in small cattle in Iğdır province, using a dataset of 10820 rows and 16 columns. The machine learning models revealed that five different climate variables had no significant effect on milk yield. This finding is important for the economic welfare of the region, as cattle farming plays a crucial role in the economy of Iğdır province. The neutral effect of climate change is therefore evaluated positively for Iğdır province. The study suggests that there has been no significant change in milk productivity over the last 20 years due to the constant percentage of sheep that produce milk. It is recommended that farmers in Iğdır province consider increasing the number of lactating sheep to enhance overall cattle milk production.