Renewable energy-based routes for methanol generation are recognized as essential strategies for eco-friendly energy conversion. Thus, the current study focuses on developing an innovative combined energy system for methanol production using direct carbon dioxide hydrogenation powered by geothermal energy. This is important because it addresses the need for sustainable and environmentally friendly methods of methanol production while also harnessing the potential of geothermal energy as a renewable resource. Therefore, in order to achieve multigeneration energy production, this work introduces and optimizes a novel configuration that benefits from an innovative heat design process. This configuration integrates an organic Rankine cycle, a single-flash geothermal power plant, an ammonia-water absorption chiller, a proton exchange membrane electrolyzer, and a methanol generation unit. Using the Aspen HYSYS tool, the multigeneration energy system is modeled and analyzed. As a result, the system is assessed using energy, exergetic, environmental, and economic evaluations. Furthermore, performance evaluations are carried out in the following modes: single generation, multigeneration, cooling, heat and power generation, and cooling. Furthermore, a genetic algorithm is employed to optimize the system in terms of economy and exergy. The energy and exergy efficiency are determined to be 32.57 % and 76.3 %, respectively, under the base case results. Furthermore, the rate of overall costs is 377.38 $/h. Furthermore, the precise output of carbon dioxide is −0.043 kg/kWh. The optimal unit cost and exergy efficiency for all items, taking into account the optimization scenario, are 3.34/GJ and 78.35 %, respectively. In addition, the optimum carbon dioxide and hydrogen rates for methanol generation are 92.49 mol/h and 200.51 mol/h, respectively.