In the appraisal of geothermal reservoirs, geothermal heat flow (GHF) is a vital parameter. Mounting interest surrounds the use of machine learning models to infer GHF from Kriging-generated geological datasets, thereby sidestepping the high costs associated with classical measurement procedures. Yet the spatial configuration of certain geological properties presents intricate data structures and gaps, underscoring the demand for a methodology that surpasses standard Kriging in both accuracy and efficiency. In the present contribution, we describe an innovative machine-learning-driven framework designed to infer GHF from scattered geological observations. More precisely, gaps in the geological records are filled through a machine learning algorithm—MissForest. By capitalizing on the spatial interdependencies among geological variables (such as upper crust thickness, Moho depth, and rock type), the MissForest approach achieves higher imputation performance (R² = 0.90 at a 20% missing rate) than classical Kriging (R² = 0.84). Machine learning regression models are subsequently fitted on the completed records to encode the functional dependence of GHF on geological predictors. Our leading model achieves a modest 10.18% error when predicting GHF across diverse settings, improving upon earlier reports. In addition, the framework yields credible global GHF estimates, offering fresh insights into the global distribution of geothermal endowments and their potential for exploitation.