A system (1) for energy recovery for zootechnical plants, which comprises a geothermal heat pump (2) provided with a device for heat exchange between a first circuit (4) of water to be cooled, which has a duct (4a) for drawing well water at a first temperature and a duct (4b) for discharging the well water at a temperature that is lower than the first temperature, and a second circuit (5) of water to be heated in order to be stored in at least one first hot water accumulation tank (3), there being moreover a duct (7) for conveying milk from a milking plant (7a) to a low-temperature milk storage tank (7b); the system comprises a first accumulation vat (8) for the water that arrives from the discharge duct (4b), there being, along the milk conveyance duct (7), at least one first exchanger (9) that uses, for cooling the milk, the water stored in the first accumulation vat (8) for the water that arrives from the discharge duct (4b).