The invention discloses a washing and 
drying integrated 
machine for washing clothes by adopting water heated by a 
heat pump. The washing and 
drying integrated 
machine comprises an outer 
barrel, an inner 
barrel, a 
heat pump system and a water inlet pipeline; the inner 
barrel is arranged in the outer barrel; the outer barrel and the inner barrel are coaxially arranged; the 
heat pump system comprises an 
evaporator, a compressor, a two-position three-way 
electromagnetic valve, a condenser 
bank and a throttling valve, wherein the condenser 
bank is formed by connecting an air-cooled condenser and a water-cooled condenser in parallel; the 
evaporator, the compressor, the two-position three-way 
electromagnetic valve, the condenser 
bank, the throttling valve and the 
evaporator are connected in series to form a circulating 
system; the water inlet pipeline, the heat pump system and the outer barrel form a 
water heating system; the outer barrel is connected with the heat pump system through two sections of air flues to form a 
drying and circulating air path for drying the clothes; and the two-position three-way 
electromagnetic valve is used for switching and controlling a 
refrigerant through the air-cooled condenser or the water-cooled condenser to realize the cloth drying or 
water heating function of the washing and drying integrated 
machine. Besides the functions of drying the clothes and heating the water, cooling and dehumidifying functions, heating and dehumidifying functions and the like can be provided by arranging a switching mechanism and an external air inlet / outlet in the air path.