Geothermal power in Germany had a law that benefits the production of geothermal electricity and guarantees a feed-in tariff. Less than 0.4 percent of Germany's total primary energy supply came from geothermal sources in 2004 and 2024. After a renewable energy law that introduced a tariff scheme of EU €0.15 [US $0.23] per kilowatt-hour (kWh) for electricity produced from geothermal sources came into effect in 2004, few new power plants came online due to low ground temperature, reducing thermodynamic efficiency. Geothermal heating is used to heat buildings.