INTRODUCTION. The research focuses on designing and implementing a geothermal heat pump adapted to a 470 m2 greenhouse in the Andean region. OBJECTIVE. The goal is to maintain a temperature of 15 °C at night and 30 °C during the day, replacing conventional energy sources such as LPG and contributing to the sustainability and efficiency of food production in challenging climatic conditions. METHOD. We estimated the energy potential of solar and geothermal sources through precise measurements, which were compared to theoretical models. Subsequently, we calculated the appropriate size for the geothermal heat pump using the vapor compression cycle from the greenhouse's energy balance. Finally, we considered critical variables such as temperature and relative humidity to assess the energy efficiency of a geothermal heat pump. Prediction intervals were determined for the relevant variables to investigate values outside statistical control, and the construction of a heat map revealed heat transfer and thermal behavior in the greenhouse. RESULTS. The results demonstrated the impact of climatic conditions on the performance of the geothermal heat pump. Out of the 3169 analyzed data points, 7% fell outside the prediction intervals. CONCLUSIONS. This analysis underscores the critical influence of the environment on the energy efficiency of greenhouse cooling systems in the Andean region, suggesting the need for more efficient energy management strategies based on environmental conditions.