To examine a potential correlation between food waste and lunar phases, we have devised a randomized controlled trial. The experiment spanned from 31 March to 10 July 2022, during which we employed the direct weighing method to collect 1903 valid data points on food waste. Utilizing propensity score matching, we meticulously controlled for various factors, including dining dates, the number of diners, dining times, spending levels, and store activities. The study revealed a close relationship between lunar phases and food waste. During the new moon phase, there was an increase in both orders and waste generated by consumers. Specifically, individuals, on average, squandered an additional 6.27% of animal protein (0.79 g), 24.5% of plant protein (1.26 g), 60.95% of starchy foods (3.86 g), and 61.09% of vegetables (5.12 g), resulting in an aggregate food waste of 32.14% (10.79 g). Conversely, during the full moon phase, consumers decreased their orders and subsequently decreased food waste. On average, individuals wasted 44.65% less animal protein (5.76 g), 43.36% less plant protein (2.5 g), 85.39% less seafood (0.73 g), and 8.43% less vegetables (0.93 g), resulting in a 20.52% (7.81 g) reduction in food waste. Furthermore, we validated our conclusions through various validation methods, including model replacement, to ensure robustness and reliability.