Disclosed is a method for controlling a washing machine with a heating module, solving the problems of corrosion of washing machine parts, bacterial growth, and a poor user experience. With these aims, the method for controlling a washing machine with a heating module comprises removing water from items being washed. The control method further comprises: in the process of removing water, starting a heating module and heating the items being washed and/or parts of the washing machine. By means of the control method, water in the washing machine is dried at the final water removal stage, preventing water being left in the washing machine from corroding the device, lengthening the service life of the washing machine; while also preventing water left in the machine from causing mould, bacterial growth, and affecting health; and additionally, using hot air to pre-heat laundry means that when a user removes the laundry for drying, the surface of the laundry will be warm to the touch, and therefore, the usage experi