For efficient operation of heating and cooling grids, underground thermal energy storage (UTES) can be a key element. This is due to its ability to seasonally store heat or cold addressing the large mismatch between supply and demand. This technology is already available and there are many operational examples, both within and outside a district heating network. Given the range of available UTES technologies, they are feasible to install almost everywhere. Compared to other storage systems, UTES have the advantage of being able to manage large quantities and fluxes of heat without occupying much surface area, although the storage characteristics are always site specific and depend on the geological and geothermal characteristics of the subsoil. UTES can manage fluctuating production from renewable energy sources, both in the short and long term, and fluctuating demand. It can be used as an instrument to exploit heat available