Share this article:


  • Join our comunity:

An App Knows if a Beer Has Gone Stale

By: , Posted on: June 21, 2016

beer flight

Chemists at the Complutense University of Madrid have developed a method that allows brewers to measure the freshness of beer, using a polymer sensor that changes color upon detecting furfural, a compound that appears when the beverage ages and gives it a stale flavor. The sensor can be controlled from a smartphone app also created by the team.

Beer is one of the most widely consumed alcoholic beverages in the world. The flavor of each brand is one of its most relevant quality standards. However, depending on the beer type and its storage conditions, such flavor may be altered as a result of changes in the chemical composition produced during beer that, unlike what occurs in wines, has a negative effect on the quality of the flavor.

Now, a team of chemists, led by the researchers Elena Benito-Peña and María Cruz Moreno-Bondi from the Complutense University of Madrid (UCM), has developed a simple, low-cost method capable of measuring whether or not beer has gone stale, simply by using a sensor and a smartphone app. The results of the study have been published in the journal Analytical Chemistry.

Elena Benito-Peña explains that this development forms part of an INNPACTO project of the Spanish Ministry of Economic Affairs and Competitiveness, in which the UCM has collaborated with the Mahou-San Miguel brewing company.

The researcher points out that up until now brewers have measured furfural –a chemical compound that appears during the aging process of beer and gives it a stale taste– and other freshness indicators using methods based on chromatography techniques. “But these methods involve the use of expensive equipment and sample preparation is very time-consuming,” she highlights.

Sensor discs

The system developed by the researchers at the UCM consists of sensor discs that detect the presence of furfural in beer. These sensors, made from a polymer similar to the one used to manufacture contact lenses, have been designed to change color (from yellow to pink) when they come into contact with a beer containing furfural.

The sensors change from yellow to pink when they come into contact with a beer containing furfural. / UCM
The sensors change from yellow to pink when they come into contact with a beer containing furfural. / UCM

“We have incorporated an aniline derivative into the sensor material which reacts with the furfural and produces a pink cyanine derivative that allows us to identify the presence of the marker in the sample. The intensity of the color increases as the concentration of furfural in the beer rises and, thus, as more time passes since the beer was produced,” explains the chemist.

The team has also created a mobile app for Android smartphones that, by taking a picture of the sensor disc, allows for the identification of the amount of furfural present in the beer. With this data, the degree of freshness can be determined.

The application is available as open source, meaning that any programmer can utilize and modify it to be used on other platforms. In the future it will also be available for Apple IOS.

Results comparable to more sophisticated methods

Benito-Peña recounts that the idea of developing the new method came about following a meeting with Mahou-San Miguel in which the company spoke about the technical difficulties they were having in detecting furfural directly at the production facilities.

The results of the tests on the new system “have been very satisfactory,” says the co-author. “The measurements have been taken using samples sent directly from the brewing company with different production dates and distinct degrees of aging. These same samples were also sent to a laboratory where they were analyzed using gas chromatography coupled with mass spectrometry. The results we obtained were completely comparable,” she emphasizes.

The method was initially developed for brewing companies. “Especially, because the global market for this product is huge. But it can also be used with other food products such as honey, milk, coffee, etc.,” indicates the researcher.


Alberto Rico-Yuste, Victoria González-Vallejo, Elena Benito-Peña, Tomás de las Casas Engel, Guillermo Orellana y María Cruz Moreno-Bondi. “Furfural Determination with Disposable Polymer Films and Smartphone-Based Colorimetry for Beer Freshness Assessment”. Analytical Chemistry (2016)

Chemistry Reference Modules LogoWant to read more?  Leen C. Verhagen has written an exclusive article on Beer Flavor for our Reference Module in Chemistry, Molecular Sciences and Chemical Engineering.  This article is available free for a limited time.

Access the chapter here

The article examines the origin and formation of the dominant flavors and off-flavors in beer, with emphasis on the hop, which is a minor ingredient in beer brewing, but with a huge impact on the sensory and physical quality of the products. Flavor changes occurring during the storage of beer, and the possible precursor of some of them are highlighted.

The Reference Module is a collection of comprehensive articles in the interdisciplinary fields of Chemistry, Molecular Sciences and Chemical Engineering, with easy to use searchable functions and discoverability tools, enabling you to easily understand the links between topics and push your research further. The Reference Module is reviewed continuously to ensure content is up to date and covers the whole spectrum of Chemistry, Molecular Sciences and Chemical Engineering. If a gap is spotted or if an article is deemed out of date, they are updated or new articles are commissioned exclusively for the Reference Module, as the article Beer Flavor was. Learn more about the Reference Module here.

Connect with us on social media and stay up to date on new articles


A field as broad as chemistry is cross-disciplinary by nature. Chemistry researchers, in their work or study, may encounter issues in materials science, biochemistry, chemical engineering, or a wide range of other disciplines. In addition to the major areas of organic and inorganic chemistry, Elsevier content covers advanced topics such as quantum chemistry, analytical chemistry, physical and theoretical chemistry, energy generation and storage, nano-chemistry, surface and interface chemistry, and environmental chemistry. This content is available over a spectrum of formats that includes journals, books, eBooks, undergraduate textbooks, multi-volume reference works, and innovative databases and online products like Reaxys. Learn more about our Chemistry books here.