Walnuts are prone to contamination by rotting fungi. However, the microflora present in walnuts across various regions of China has not been thoroughly investigated. Cinnamon essential oil (CEO) is commonly used in food preservation because of its natural safety and strong antimicrobial properties. Additionally, studies on the antifungal potential of CEO to prevent walnut spoilage are limited. Therefore, we investigated