The decarbonisation of the energy sector is probably one of the main worldwide challenges of the future. Global changes urge a radical transformation and improvement of the energy-producing systems to meet the decarbonisation targets and a reduction of greenhouse gas emissions. The hydrocarbon industry also contributes to this transition path. In a mature stage of oil and gas fields, the production of hydrocarbons is associated with formation waters. The volume of produced water increases with the maturity of the assets and the geothermal repurposing of depleted oil and gas wells could be an alternative to the mining closure. In the described transition scenario, the geothermal energy seems very promising because of its wide range of applications depending on the temperature of extracted fluids. This flexibility enables us to propose projects inspired by a circular economic vision considering the integration in the territory and social acceptance issues. In Italy, since 1985, 7246 wells have been drilled for hydrocarbon, of which 898 are located onshore with a productive or potentially productive operational status. This paper presents a preliminary investigation of oil and gas fields located onshore in Italian territory based on the available information on temperature distribution at different depths. Then, taking into account the local energy demand, existing infrastructure, and land use of the territory, a conversion strategy for the producing wells is proposed for three case studies.