In a remarkable leap forward in food safety technology, researchers at the University of California, Berkeley, have developed a groundbreaking “electronic nose” capable of pinpointing spoiled food and detecting allergens with unprecedented accuracy. This innovative device combines a miniature array of gas sensors with sophisticated machine learning algorithms to outperform the human nose, which, while remarkably sensitive, often fails to detect early signs of food spoilage and allergen presence. The implications of this technology are vast, promising to revolutionize how consumers, retailers, and food producers monitor food freshness and safety.
The team’s new creation is composed of 16 ultra-sensitive gas sensors, each responding uniquely to specific volatile compounds released by different foods. These sensors act much like digital taste buds, capable of identifying complex chemical signatures through changes in electrical signals. By mapping these responses to known gas fingerprints, the electronic nose can distinguish between fresh and spoiled food items, along with categorizing various allergens including walnuts, peanuts, and other nuts known to trigger severe allergic reactions.
What makes this achievement especially notable is the integration of carbon nanotube technology in the sensors. Unlike traditional metal oxide sensors, carbon nanotubes offer extraordinary surface area relative to their size and maintain sensitivity at room temperature. This is crucial because many sensing materials degrade or require heating to function effectively, limiting their applications. The Berkeley team leveraged the thin, nanometer-scale layers of carbon nanotubes to create a sensor surface that is both highly selective and stable under everyday environmental conditions.
Central to the power of this electronic nose is machine learning. Lead author Carla Bassil developed models trained to interpret the nuanced electrical patterns emanating from the sensor array when exposed to gases released by seven different foods, including strawberry, blueberry, banana, walnuts, hazelnuts, cashews, and peanuts. The algorithm also discerns the freshness of common perishables such as raw chicken, milk, and eggs by detecting subtle changes in their gaseous emissions over time, reflecting degrees of spoilage after 24 and 48 hours at room temperature.
A key challenge in creating an effective gas sensor lies in the complexity of food odors, which consist of many overlapping volatile organic compounds. This electronic nose overcomes this hurdle by relying on the relative selectivity of each sensor and the pattern recognition capabilities of machine learning, enabling the system to sort through these chemical signatures and recognize distinct gas “fingerprints.” The result is a highly sensitive, objective, and scalable detection method that could transform food safety practices.
The development of multiplexed sensor arrays has historically been complex, with issues arising from manufacturing difficulties and material limitations. However, by utilizing a fabrication process known as drop casting, the team managed to deposit different sensing films onto a single chip in a single step. This scalability is pivotal for real-world adoption, allowing potential mass production of these chips at a reasonable cost and size suitable for use in household appliances or portable devices.
In terms of applications, the researchers envision integration within “smart” kitchen appliances such as refrigerators equipped with wireless connectivity and app-based interfaces. Imagine a refrigerator that could alert you via your smartphone, warning that your broccoli is nearing spoilage or that your chicken is at its last safe day for consumption. Such timely notifications could drastically reduce food waste and prevent foodborne illness.
The sensitivity of the device is particularly striking. The electronic nose demonstrated the ability to detect as little as 0.05 grams of walnut, which corresponds to approximately one hundredth of a shelled nut. This level of detection sensitivity is crucial not only for spoilage monitoring but also for allergen detection, where even trace amounts can have life-threatening consequences for sensitive individuals.
Although these findings are promising, challenges remain. For instance, the device’s performance amidst complex food environments—such as detecting walnuts hidden in salad or cakes, or isolating spoilage gases when multiple food items are stored together—is yet to be rigorously tested. Future developments will focus on enhancing sensitivity, reducing false positives, and ensuring reliability in real-world, cluttered atmospheres.
Furthermore, a portable version of the electronic nose, operable via an iPhone application, has been developed, offering exciting possibilities for on-the-go freshness and allergen detection. Such a compact and user-friendly device empowers consumers to make informed decisions at grocery stores, restaurants, and home kitchens, fostering safer, healthier food habits.
The senior author of the study, Ali Javey, emphasizes the importance of combining novel nanomaterials with advanced machine learning to solve complex sensing problems. This convergence of disciplines paves the way for a new era of digital olfaction technologies that are not only sensitive and selective but also accessible and affordable for everyday use.
Published in the journal Science Advances on June 17, 2026, this study marks a significant milestone in the fields of applied sciences and engineering, with a particular emphasis on food science and sensor technology. Supported by funding from the U.S. Department of Energy and the National Science Foundation, the research team comprises experts from UC Berkeley and collaborators from KAIST in South Korea.
As this technology continues to mature, it holds the promise of making kitchens safer and reducing the global burden of foodborne illnesses. By translating the chemical complexity of food odors into digital data streams, the electronic nose could soon become an indispensable tool for consumers worldwide, enhancing food quality and saving lives.
Subject of Research: Not applicable
Article Title: Scalable multiplexed machine learning gas sensor chips for food classification
News Publication Date: 17-Jun-2026
Web References: http://dx.doi.org/10.1126/sciadv.aec7965
References:
Bassil, C., Lee, K., Liao, X., Krishnan, D., Zhan, Y., Wijaya, T. J., Hester, E., Kim, M., Kim, I.-D., Park, I., & Javey, A. (2026). Scalable multiplexed machine learning gas sensor chips for food classification. Science Advances. https://doi.org/10.1126/sciadv.aec7965
Image Credits: Brandon Sánchez-Mejia/UC Berkeley
Keywords
Food science, Sensors, Emission detectors, Electronic nose, Machine learning, Carbon nanotubes, Food safety, Food spoilage detection, Allergen detection, Smart appliances, Gas sensors, Nanotechnology

