The invention discloses an integral air source and ground source composite heat pump device. During mixed use of a heat pump, air and soil serve as cold and heat sources for refrigerating/heating. The heat pump mainly comprises a compressor, a four-way valve, an outdoor heat exchanger, a fan, a circulating water pump, a ground source heat exchanger, a throttling mechanism, a one-way valve, a reservoir and an indoor heat exchanger, wherein the outdoor heat exchanger consists of a refrigerant pipe, a water pipe and fins; and the water pipe is arranged on the inner side of the refrigerant pipe, so that circulating water exchanges heat with refrigerants, and the refrigerant pipe comprising the water pipe passes through the fins to realize heat exchange between the refrigerants and the air. The device is a heat pump system, low-energy-consumption environment-friendly shallow soil is used as a cold and heat source, a feasible scheme is provided for solving the problem of hot soil stack caused by long-term use of a ground source heat pump, and the heat pump device has a simple structure, low cost, reliable performance and a high energy efficiency ratio.