The invention proposes a method and a device for cooking rice. The device comprises a first container (110) for containing the rice together with water; a first heater (120, 121 and 122) for heating the rice and the water in the container (110); and a regulator (130, 31, 132, 133 and 134) for, during the heating, regulating the amount of water.