The safety of luminescence sensors and probes used in food packaging should be seriously considered, while most luminescence sensors were artificially synthesized with unclear toxicity, and cannot be directly used as indicators that were in contact with food. To overcome this problem, a humidity indicator based on an edible plant tissue was developed without any chemical processing. We found that garlic bulbs could emit significant persistent luminescence after drying at room temperature. The luminescence lifetime decreases from hundreds of milliseconds to tens of milliseconds as humidity increases. The long-lived luminescence could easily be detected through smartphones without any sophisticated instruments. The edible garlic is expected to be used as a humidity indicator in food packaging without worrying about food safety. Furthermore, the interference of scattered light and short-lived fluorescence from foods and packages can be eliminated in time-resolved luminescence imaging, greatly increasing the signal-to-noise ratio.