A groundwater heat pump collects energy from the groundwater. The water is pumped up from a groundwater borehole to a heat exchanger, where the energy is recovered. The water is then discharged back through another borehole.