In the middle of Edo period, kiyari was actively sung among tobishoku, and since machihikeshi was mainly composed of tobishoku, kiyariuta (kiyari song) naturally spread into machihikeshi and was passed on from one to another.
江戸の中期ごろには鳶職人の間で盛んに唄われていた、町火消が鳶職人を中心に組織されたため、木遣り唄も自然と町火消の中に溶け込み受け継がれていった。