Geothermal heating is the direct use of geothermal energy for heating applications. Humans have taken advantage of geothermal heat this way since the Paleolithic era. Approximately seventy countries made direct use of a total of 270 PJ of geothermal heating in 2004. As of 2007, 28 GW of geothermal heating capacity is installed around the world, satisfying 0.07% of global primary energy consumption. Thermal efficiency is high since no energy conversion is needed, but capacity factors tend to be low (around 20%) since the heat is mostly needed in the winter.
Geothermal energy originates from the heat retained within the Earth since the original formation of the planet, from radioactive decay of minerals, and from solar energy absorbed at the surface. Most high temperature geothermal heat is harvested in regions close to tectonic plate boundaries where volcanic activity rises close to the surface of the Earth. In these areas, ground and groundwater can be found with temperatures higher than the target temperature of the application. However, even cold ground contains heat, below 10 feet or 3 meters, the ground is consistently 12.8 °C (55 °F) in moderate climates, and it may be extracted with a heat pump.
One subtype of geothermal heating briefly and simply explained 
Ground source heat pumps rely on an energy exchange between the air within the building being heated and the ground. Below ten feet the earth's temperature is fairly constant, generally around ~10 °C (~50 °F). During the summer when the ambient temperature of the building exceeds that of the ground heat pumps are used to pump heat from the building into the transfer medium (typically water with small amounts of ethanol or glycol) and is subsequently pumped through narrow pipes into the ground so that the heat can be dissipated in the earth. When the ambient temperature falls below the ground temperature the process works in reverse. Heat pumps extract heat from the ground and use it to heat the building.
Most geothermal heating does not use ground source heat pumps
|New Zealand||7.09||0.31||73%||industrial uses|
There are a wide variety of applications for cheap geothermal heat. In 2004 more than half of direct geothermal heat was used for space heating, and a third was used for spas. The remainder was used for a variety of industrial processes, desalination, domestic hot water, and agricultural applications. The cities of Reykjavík and Akureyri pipe hot water from geothermal plants under roads and pavements to melt snow. Geothermal desalination has been demonstrated.
Geothermal systems tend to benefit from economies of scale, so space heating power is often distributed to multiple buildings, sometimes whole communities. This technique, long practiced throughout the world in locations such as Reykjavík, Iceland, Boise, Idaho, and Klamath Falls, Oregon is known as district heating.
Some parts of the world, including substantial portions of the western USA, are underlain by relatively shallow geothermal resources. Similar conditions exist in Iceland, parts of Japan, and other geothermal hot spots around the world. In these areas, water or steam may be captured from natural hot springs and piped directly into radiators or heat exchangers. Alternatively, the heat may come from waste heat supplied by co-generation from a geothermal electrical plant or from deep wells into hot aquifers. Direct geothermal heating is far more efficient than geothermal electricity generation and has less demanding temperature requirements, so it is viable over a large geographical range. If the shallow ground is hot but dry, air or water may be circulated through earth tubes or downhole heat exchangers which act as heat exchangers with the ground.
In areas where the shallow ground is too cold to provide comfort directly, it is still warmer than the winter air. The thermal inertia of the shallow ground retains solar energy accumulated in the summertime, and seasonal variations in ground temperature disappear completely below 10m of depth. That heat can be extracted with a geothermal heat pump more efficiently than it can be generated by conventional furnaces. Geothermal heat pumps are economically viable essentially anywhere in the world. One geothermal district heating system at Drake Landing in Alberta, Canada uses seasonal thermal energy storage (STES) by means of a cluster of boreholes to enhance its performance, allowing it to achieve a world record annual 97% solar heating fraction in 2012.
Geothermal heat pumps 
Even in regions without large high temperature geothermal resources, a geothermal heat pump can still provide space heating and air conditioning. Like a refrigerator or air conditioner, these systems use a heat pump to force the transfer of heat from the ground to the application. In theory, heat can be extracted from any source, no matter how cold, but a warmer source allows higher efficiency. A ground-source heat pump uses the shallow ground or ground water (typically starting at 10–12 °C or 50–54 °F) as a source of heat, thus taking advantage of its seasonally moderate temperatures. In contrast, an air-source heat pump draws heat from the air (colder outside air) and thus requires more energy.
Closed loop geothermal heat pumps circulate a carrier fluid (usually a water/antifreeze mix) through pipes buried in the ground. Single-home systems can be "vertical loop field" systems with bore holes 50–400 feet deep  or, if adequate land is available for extensive trenches, a "horizontal loop field" is installed approximately six feet subsurface. As the fluid circulates underground it absorbs heat from the ground and, on its return, the now warmer fluid passes through the heat pump which uses electricity to extract the heat from the fluid. The re-chilled fluid is sent back into the ground thus continuing the cycle. The heat extracted and that generated by the heat pump appliance as a byproduct is used to heat the house. The addition of the ground heating loop in the energy equation means that more heat is generated than if electricity alone had been used directly for heating.
Switching the direction of heat flow, the same system can be used to circulate the cooled water through the house for cooling in the summer months. The heat is exhausted to the relatively cooler ground (or groundwater) rather than delivering it to the hot outside air as an air conditioner does. As a result, the heat is pumped across a larger temperature difference and this leads to higher efficiency and lower energy use.
This technology makes geothermal heating economically viable in any geographical location. In 2004, an estimated million ground source heat pumps with a total capacity of 15 GW extracted 88 PJ of geothermal energy for space heating. Global geothermal heat pump capacity is growing by 10% annually.
Hot springs have been used for bathing at least since Paleolithic times. The oldest known spa is a stone pool on China's Mount Li built in the Qin dynasty in the 3rd century BC, at the same site where the Huaqing Chi palace was later built. In the first century AD, Romans conquered Aquae Sulis and used the hot springs there to feed public baths and underfloor heating. The admission fees for these baths probably represents the first commercial use of geothermal power. The world's oldest geothermal district heating system in Chaudes-Aigues, France, has been operating since the 14th century. The earliest industrial exploitation began in 1827 with the use of geyser steam to extract boric acid from volcanic mud in Larderello, Italy.
In 1892, America's first district heating system in Boise, Idaho was powered directly by geothermal energy, and was soon copied in Klamath Falls, Oregon in 1900. A deep geothermal well was used to heat greenhouses in Boise in 1926, and geysers were used to heat greenhouses in Iceland and Tuscany at about the same time. Charlie Lieb developed the first downhole heat exchanger in 1930 to heat his house. Steam and hot water from the geysers began to be used to heat homes in Iceland in 1943.
By this time, Lord Kelvin had already invented the heat pump in 1852, and Heinrich Zoelly had patented the idea of using it to draw heat from the ground in 1912. But it was not until the late 1940s that the geothermal heat pump was successfully implemented. The earliest one was probably Robert C. Webber's home-made 2.2 kW direct-exchange system, but sources disagree as to the exact timeline of his invention. J. Donald Kroeker designed the first commercial geothermal heat pump to heat the Commonwealth Building (Portland, Oregon) and demonstrated it in 1946. Professor Carl Nielsen of Ohio State University built the first residential open loop version in his home in 1948. The technology became popular in Sweden as a result of the 1973 oil crisis, and has been growing slowly in worldwide acceptance since then. The 1979 development of polybutylene pipe greatly augmented the heat pump’s economic viability. As of 2004, there are over a million geothermal heat pumps installed worldwide providing 12 GW of thermal capacity. Each year, about 80,000 units are installed in the USA and 27,000 in Sweden.
Geothermal energy is a type of renewable energy that encourages conservation of natural resources. According to the U.S. Environmental Protection Agency, geo-exchange systems save homeowners 30–70 percent in heating costs, and 20–50 percent in cooling costs, compared to conventional systems. Geo-exchange systems also save money because they require much less maintenance. In addition to being highly reliable they are built to last for decades.
Geothermal drilling risks 
In geothermal heating projects the underground is penetrated by trenches or drillholes. As with all underground work, projects may cause problems if the geology of the area is poorly understood.
In the spring of 2007 an exploratory geothermal drilling operation was conducted to provide geothermal heat to the town hall of Staufen im Breisgau. After initially sinking a few millimeters, a process called subsidence, the city center has started to rise gradually causing considerable damage to buildings in the city center, affecting numerous historic houses including the town hall. It is hypothesized that the drilling perforated an anhydrite layer bringing high-pressure groundwater to come into contact with the anhydrite, which then began to expand. Currently no end to the rising process is in sight. Data from the TerraSAR-X radar satellite before and after the changes confirmed the localised nature of the situation.
A geochemical process called anhydrite swelling has been confirmed as the cause of these uplifts. This is a transformation of the mineral anhydrite (anhydrous calcium sulphate) into gypsum (hydrous calcium sulphate). A pre-condition for this transformation is that the anhydrite is in contact with water, which is then stored in its crystalline structure.
See also 
- Annualized geothermal solar
- District heating
- Geothermal (geology)
- Geothermal power
- Geothermal heat pump
- Carnot's theorem (thermodynamics)
- Seasonal thermal energy storage (STES)
- Fridleifsson,, Ingvar B.; Bertani, Ruggero; Huenges, Ernst; Lund, John W.; Ragnarsson, Arni; Rybach, Ladislaus (2008-02-11), O. Hohmeyer and T. Trittin, ed., The possible role and contribution of geothermal energy to the mitigation of climate change (pdf), IPCC Scoping Meeting on Renewable Energy Sources, Luebeck, Germany, pp. 59–80, retrieved 2009-04-06
- Heat Pumps, Energy Management and Conservation Handbook, 2008, pp. 9–3
- Lund, John W. (June 2007), "Characteristics, Development and utilization of geothermal resources", Geo-Heat Centre Quarterly Bulletin (Klamath Falls, Oregon: Oregon Institute of Technology) 28 (2): 1–9, ISSN 0276-1084, retrieved 2009-04-16
- University of Rochester - History of the utilization of geothermal sources of energy in Iceland, http://www.energy.rochester.edu/is/reyk/history.htm.
- District Heating Systems in Idaho, http://www.idwr.state.id.us/energy/alternative_fuels/geothermal/detailed_district.htm.
- Klamath Falls Geothermal District Heating Systems
- "Geothermal Basics Overview". Office of Energy Efficiency and Renewable Energy. Retrieved 2008-10-01.
- What is Geothermal?
- Natural Resources Canada (2012). Canadian Solar Community Sets New World Record for Energy Efficiency and Innovation. 5 Oct. 2012.
- Goswami, Yogi D., Kreith, Frank, Johnson, Katherine (2008), p. 9-4.
- Cataldi, Raffaele (August 1993). "Review of historiographic aspects of geothermal energy in the Mediterranean and Mesoamerican areas prior to the Modern Age". Geo-Heat Centre Quarterly Bulletin (Klamath Falls, Oregon: Oregon Institute of Technology) 15 (1): 13–16. ISSN 0276-1084. Retrieved 2009-11-01.
- "A History of Geothermal Energy in the United States". U.S. Department of Energy, Geothermal Technologies Program. Retrieved 2007-09-10.
- Dickson, Mary H.; Fanelli, Mario (February 2004). "What is Geothermal Energy?". Pisa, Italy: Istituto di Geoscienze e Georisorse. Retrieved 2009-10-13.
- Zogg, M. (20–22 May 2008). http://www.zogg-engineering.ch/Publi/IEA_HPC08_Zogg.pdf
|contribution-url=missing title (help). History of Heat Pumps Swiss Contributions and International Milestones. Zürich, Switzerland: 9th International IEA Heat Pump Conference.
- Bloomquist, R. Gordon (December 1999). "Geothermal Heat Pumps, Four Plus Decades of Experience". Geo-Heat Centre Quarterly Bulletin 20 (4): 13–18. ISSN 0276-1084. Retrieved 2009-03-21.
- Kroeker, J. Donald; Chewning, Ray C. (February 1948). "A Heat Pump in an Office Building". ASHVE Transactions 54: 221–238.
- Gannon, Robert (February 1978). "Ground-Water Heat Pumps - Home Heating and Cooling from Your Own Well". Popular Science 212 (2): 78–82. ISSN 0161-7370. Retrieved 2009-11-01.
- Lund, J.; Sanner, B.; Rybach, L.; Curtis, R.; Hellström, G. (September 2004). "Geothermal (Ground Source) Heat Pumps, A World Overview". Geo-Heat Centre Quarterly Bulletin 25 (3): 1–10. ISSN 0276-1084. Retrieved 2009-03-21.
- "Geothermal Heat Pump Consortium, Inc.". Retrieved 2008-04-27.
- The Telegraph: Geothermal probe sinks German city (March 31, 2008)
- Spiegel.de report on recent geological changes (in German, partial translation)
- FORMACIJE, A (2010). "DAMAGE TO THE HISTORIC TOWN OF STAUFEN (GERMANy) CAUSED By GEOTHERMAL DRILLINGS THROUGH ANHyDRITE-BEARING FORMATIONS". Acta Carsologica, 39 (2): 233.
- Butscher, Christoph; Huggenberger, Peter; Auckenthaler, Adrian; B�nninger, Dominik (2010). "Risikoorientierte Bewilligung von Erdwärmesonden". Grundwasser 16: 13–24. doi:10.1007/s00767-010-0154-5.
- Goldscheider, Nico; Bechtel, Timothy D. (2009). "Editors’ message: The housing crisis from underground—damage to a historic town by geothermal drillings through anhydrite, Staufen, Germany". Hydrogeology Journal 17 (3): 491. doi:10.1007/s10040-009-0458-7.
- TerraSAR-X Image Of The Month: Ground Uplift Under Staufen's Old Town, TerraSAR-X radar satellite, [www.spacemart.com],2009-10-22 , accessed 2009-10-23
- Energy Efficiency and Renewable Energy (EERE) - Geothermal Technologies Program
- Idaho National Laboratory - Geothermal Energy
- Oregon Institute of Technology - Geo-Heat Center
- Southern Methodist University - Geothermal Lab
- National Renewable Energy Lab
- The Canadian GeoExchange Coalition
- Geothermal Heating/Cooling Systems - Reddawn