Moon cakes are the offerings of the ancient Mid-Autumn Festival to worship the moon god. After passing down, they form the custom of eating moon cakes in the Mid-Autumn Festival. Moon cakes have a long history in China. According to historical records, as early as the Yin and Zhou dynasties, there was a kind of “Taishi Cake” that commemorated Tai Shi Wen Zhong’s side, which is the “first ancestor” of Chinese moon cake. When Zhang Wei came out to make the Western Regions in the Han Dynasty, he introduced sesame seeds and walnuts and added accessories to the production of moon cakes. At this time, a round cake with walnuts as a filling was introduced, and the name was “Hu cake”.
It is said to have originated in the Tang Dynasty. "Luo Zhong Jian Wen" once recorded: When the Mid-Autumn Festival new section Jinshi Qujiang Banquet, Tang Yuzong sent a moon cake to reward scholars.