The present disclosure provides a washing and drying machine capable of realizing energy conservation and increasing the drying efficiency for washings. The washing and drying machine (1) includes: a washing drum (4) for accommodating the washings (Q) and rotating under a driving force of a motor (6); an air supply portion (9) for supplying air into the washing drum (4); a heating portion (10) configured to heat the air to be supplied into the washing drum (4) when turned on and stop heating when turned off; and a control portion (30) for controlling the motor (6), the air supply portion (9) and the heating portion (10) to execute washing and drying operation. A drying procedure in washing and drying operation includes main drying treatment repeated for multiple times. During each time of the main drying treatment, the control portion (30) is configured to keep the heating portion (10) being on within a first period, and keep the heating portion (10) being off within a second period different from the first p