A flexible hydrogel film that can tell when food is starting to spoil without the need to open the packaging has been developed by researchers in Japan.
The soft, flexible material is embedded with a natural plant pigment that shifts colour as food deteriorates, giving consumers a visible signal without the need to open packaging.
Developed by Kyushu University scientists, the material can also repair its own cuts, keeping bacteria out through shipping and handling, the study – published in Chemical Engineering Journal – found.
The researchers used anthocyanins – the pigments behind the colour of purple sweet potatoes and red cabbage – to detect when food was on the verge of degrading.
As pH levels climb, the colour shifts from purple-red to yellow-green, creating a change visible to the naked eye.
Metal-organic framework
In order to combat unreliability – anthocyanins can break down under heat and light – researchers stabilised the ground and freeze-dried powder with UiO66-NH₂, a metal-organic framework (MOF) known for its thermal and chemical stability to ward against pH changes caused by other factors.
The team then incorporated the anthocyanin-loaded MOF into a hydrogel, producing a soft, shapeable film that is largely plant-derived and biodegradable.
“MOFs have attracted enormous attention because of their unique porous structures and versatile functions, and I became curious whether they could be used for something closer to everyday life, like food preservation,” said Xirui Yan, corresponding author of the study and a Japan Society for the Promotion of Science researcher at Kyushu University’s Faculty of Agriculture.
Beyond freshness monitoring, the material also extended the shelf-life of pork by about 12 hours compared with untreated samples.

‘It heals itself’
“Another interesting thing about this material is that it doesn’t just protect food – it heals itself,” noted Fumihiko Tanaka, professor at Kyushu University’s Faculty of Agriculture.
When cut and pressed back together, the damage becomes nearly invisible within minutes, and tensile strength recovers to 99 per cent within two hours, the researchers found.
“In conventional packaging, any crack is permanent and becomes an entry point for bacteria. This material bonds back together on its own. The wound heals, and so does its ability to protect what’s inside, which makes it more durable and reliable in practical use,” Professor Tanaka added.
“This doesn’t have to stop at food packaging. Smart materials built from natural ingredients and nanotechnology may have uses we haven’t imagined yet. If anyone sees a place where this could work, we’d love to hear about it.”
The team is now exploring a companion smartphone app, which it claims will give manufacturers, logistics companies and shoppers a reliable, objective way to assess food quality in real time.


