Borehole engineering encompasses the part of mining that involves the process of drilling boreholes and their utilization (e.g., for research, exploration, exploitation, and injection purposes). According to legal regulations, mining pits must be closed after their use, and this applies to pits in the form of boreholes as well. The Laboratory of Geoenergetics at AGH University of Krakow is involved in adapting old, exploited and already closed boreholes for energetic purposes. This includes geothermal applications, as well as energy storage in rock formations and boreholes. Geoenergetics is a relatively new concept that combines geothermal energy with energy storage in rock formations (including boreholes). One type of analysed borehole is a freezing borehole. They are used, for example, in drilling mining shafts that are in the vicinity of aquifers and are drilled using the rotary drilling method with a reverse circulation of drilling mud, or in peat bogs. For borehole heat exchangers based on freezing boreholes for long-term mathematical modelling, several heating scenarios were considered with several thermal loads. The maximum average power obtained after one year of usage of four boreholes with variable temperatures was 11 kW. With the usage of 10 boreholes the power reached over 27 kW. The heat-carrying temperature was assumed to be 22 °C during early summer (June and July) and 2 °C during the rest of the year. When considering stable exploitation during a 10-year period with four boreholes with the same temperatures, a heating power of over 12 kW was obtained, as well as a power of over 28 kW when considering using 10 boreholes. The maximum amount of heat obtained during the 10-year period using 10 boreholes was over 8.8 thousand GJ. Once they have fulfilled their function, these boreholes lose their technological significance. In the paper, the concept is outlined, and the results of the analysis are described using the numerical program BoHEx.