According to legend, it was established in the 13th century under the reign of king Ramkamhaeng of the Sukhothai Dynasty.
One of his consorts, Nang Nobamas, made him a krathong to float in the river. The King was very impressed and announced Loy Krathong an official ceremony.