The origin and use of the kotatsu go back to the 14th century. During the Muromachi period, in the 14th century, a mechanism known as Irori was used for cooking purposes mainly. Then during the Edo Period, in the 17th century, it was further developed and used for heating.