Skip to content
Home > Magazines > Frontiers for Young Minds > Can Mealworms Change Their Minds? A Tiny Test of Purpose

Can Mealworms Change Their Minds? A Tiny Test of Purpose

Oct 25, 2026 | Frontiers for Young Minds, Ideas & Opinions

By Cinzia Chiandetti, Andrea Dissegna and Massimo Turatto
Originally published October 19, 2026
© Source: Frontiers for Young Minds, by Cinzia Chiandetti, Andrea Dissegna and Massimo Turatto, published October 19, 2026. Adapted under CC BY.
Reading level: Moderate
⏱ Estimated reading time: 6 min

Listen to this article

Narrated with AI · 9 min

0:008:32
A golden mealworm larva on wheat bran in warm morning light

Summary

Mealworm larvae trained to find apple in one branch of a Y-shaped maze avoided that branch after the apple was made bitter elsewhere, while a control group that tasted bitterness on a different food kept visiting it. The Frontiers for Young Minds study, adapted from a classic rat test of goal-directed behaviour, suggests the larvae acted on purpose rather than from habit, with implications for how farmed insects are understood and treated.

Please rate this article at the end of the page.

Originally published by Cinzia Chiandetti, Andrea Dissegna and Massimo Turatto in Frontiers for Young Minds on October 19, 2026, under a Creative Commons Attribution licence. Adapted here under that licence: rewritten for a general audience, with new structure, new explanations and a new ending. Frontiers for Young Minds and the authors do not endorse TeaLamp. Prepared by the TeaLamp Editorial Team with the help of AI.

Can mealworms change their minds? A small experiment with the larvae of a common beetle suggests the answer may be yes, in a limited but real sense. The larvae learned where to find food, then changed course when that food stopped being worth eating. That is not the same as human thinking, but it is more flexible than a simple reflex, and it raises fresh questions about the minds of very small animals.

Key takeaways on mealworms change their minds

  • Mealworm larvae learned to find apple in one branch of a Y-shaped maze, then avoided that branch after the apple was made bitter elsewhere.
  • A control group that tasted bitterness on a different food kept visiting the apple branch, showing the change was specific, not general confusion.
  • The test was adapted from a classic rat experiment on goal-directed behaviour, where an animal changes its actions when a reward loses its value.
  • The findings do not show that mealworms feel emotions or think like people, but they add to evidence that small invertebrates can act flexibly.
  • Because mealworms are farmed as a sustainable protein, the results also feed into questions about how insects raised for food should be treated.

What it means to act on purpose

Psychologists draw a line between habits and goal-directed behaviour. A habit runs on autopilot: the same trigger produces the same response, whether or not the outcome is still wanted. Goal-directed behaviour is different. It depends on two pieces of knowledge: that an action leads to a result, and that the result is still worth having. When the result stops being attractive, the behaviour changes.

The Frontiers for Young Minds article explains this with two friends and a strawberry sweet. One friend keeps eating the sweet even after it turns bitter. The other stops, because he has learned that the sweet is no longer worth eating. Only the second friend is acting in a goal-directed way. The question the researchers asked was whether a mealworm larva, an animal with a tiny brain and no backbone, could pass a version of the same test.

Meet the mealworm

Mealworms are the larvae of the darkling beetle Tenebrio molitor. They are easy to raise in containers of grain, such as wheat bran, with pieces of fruit or vegetable for water. They are familiar as pet food and fish food, and they are increasingly discussed as food for people, because they are rich in protein and cheap to farm. They are also used in biological and medical research.

Earlier work had already hinted that these insects are not simple automata. Male mealworm beetles have been shown to adjust their behaviour according to how many rivals are nearby, a kind of quantity judgement. Larvae, meanwhile, can learn and remember, and what they learn early in life can still shape their behaviour after they become adult beetles. The new study, first published in Scientific Reports in 2024, asked whether larvae could also change a learned choice when the reward behind it changed.

The maze test, in three phases

The researchers adapted the outcome-devaluation test, a classic experiment first used with rats. In the rat version, the animal learns to press a lever for tasty food, then tastes the same food made sickening while the lever is out of reach. When the lever returns, rats that remember both lessons avoid pressing it. The mealworm version used a Y-shaped maze instead of a lever.

In the training phase, each larva was placed in the maze five times and learned that apple waited in one branch, the target branch. In the devaluation phase, outside the maze, half the larvae tasted apple made bitter with lemon juice, while the other half tasted a different food made bitter. The point of the second group was control: both groups had a nasty taste experience, but only one group had it with the food they had been seeking.

In the test phase, the larvae returned to the maze five times, this time with no food in either branch. Removing the food mattered, because it meant the larvae were choosing from memory alone, not following a smell. The researchers recorded which branch each larva visited.

A small mealworm larva at the junction of a pale green Y-shaped maze on a laboratory bench

A Y-shaped maze like the one used in the mealworm experiment. Image generated by AI.

What the larvae did

The experimental group, the larvae that had tasted bitter apple, avoided the target branch. The control group, which had tasted bitterness only on a different food, kept visiting the apple branch, as before. By the end of the test phase, visits to the target branch faded in both groups, which is expected when no food ever appears. The key difference was at the start: only the larvae whose own reward had turned bitter changed their minds right away.

That pattern is what goal-directed behaviour looks like in miniature. The larvae behaved as if they knew two things at once: that the branch used to lead to apple, and that apple was no longer pleasant. Put together, those two pieces of knowledge pointed to a new decision, and the larvae acted on it.

Why it matters beyond the maze

Animals constantly face trade-offs. A bird must decide whether to feed in an open field, where food is plentiful but danger is near, or to stay safe and hungry. Flexible decision-making helps an animal weigh one need against another instead of following a fixed script. Finding that capacity in a beetle larva suggests that this kind of flexibility is more widespread in the animal kingdom than once assumed.

The result also lands in a practical debate. Mealworms are promoted as a sustainable protein that could help feed a growing world, and they are farmed in large numbers. If larvae show signs of complex mental life, questions follow about how they are raised, handled and killed, and about what rules, if any, should cover insects in research and farming. In Europe, the article notes, specific laws on animal experiments currently protect vertebrates and cephalopods, such as octopuses and squids, but not insects.

Hands holding a wooden scoop of grain with mealworm larvae

Mealworms in grain, the larvae farmed as a sustainable protein source. Image generated by AI.

What this does not prove

The authors are careful about the limits of their work, and readers should be too. Showing goal-directed behaviour is not the same as showing that mealworms experience feelings, suffer in a human sense, or think about the future. The study tested one kind of choice, about food, in one species, in a laboratory maze. It does not say that mealworms deserve the same treatment as other animals, only that small invertebrates can display more flexible behaviour than their reputation suggests.

It also leaves open questions the authors name themselves. Can mealworms make similar choices about things other than food? How long does the memory of a changed reward last? Do other insects show the same ability, and can larvae choose between competing needs, such as food and safety? Each answer, as the article puts it, is likely to raise more questions, which is how science usually works.

Related reading

For another story about a small animal with an unexpected biology, read Food and Stress: How Eating Well Can Lower Stress Levels, which looks at how food and the body interact in a very different way.

Frequently asked questions

Do mealworms think like humans?

No. The study shows one flexible behaviour, changing a learned food choice when the food turns bitter. That is a long way from human reasoning, language or self-awareness, and the authors do not claim otherwise.

Are mealworms safe to eat?

Mealworms are farmed as food in some countries and are rich in protein, but food rules vary by place, and anyone with a shellfish or dust-mite allergy should check local guidance, since related allergies can cross over. This article is about the behaviour study, not dietary advice.

Will insects get legal protection now?

Not on the basis of one study. The authors say their findings may inform future discussions about research and farming practices, but they do not call for mealworms to receive special treatment over other insects.

Sources

If you find a typo in this article, please highlight it and press Ctrl+Enter to let us know.

Rate this article

Rate this article

One star → five stars

(No ratings yet)

Article author: Cinzia Chiandetti, Andrea Dissegna and Massimo Turatto

Cinzia Chiandetti, Andrea Dissegna and Massimo Turatto are the researchers behind the mealworm study, first published in Scientific Reports in 2024 and adapted for Frontiers for Young Minds in 2026.

If you find a typo in this article, please highlight it and press Ctrl+Enter to let us know.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

A white farmhouse with green gables beside a red dirt road and apple trees in blossom
Type: Book8 min

Anne of Green Gables Summary: Imagination Finds a Home

Anne Shirley arrives by mistake at Green Gables, where Matthew and Marilla wanted a farm boy. Montgomery’s 1908 classic, retold.

Two straw sun hats, sunglasses and plain sunscreen tubes on pale linen in bright sunlight
Type: Article8 min

How Climate Change Affects Children’s Skin Health

Children’s skin faces heat, ticks, smoke and floodwater as the climate warms. Here is what the science says, and the simple habits that protect young skin.

Glowing carved lantern with a jagged grin on a stone cottage windowsill, with a misty moonlit bog outside
Type: Article7 min

Jack-o’-Lantern History: From Carved Turnips to Pumpkins

Jack-o’-lantern history begins with marsh lights and an Irish trickster called Stingy Jack, then moves from carved turnips to the pumpkins of North America.

Sunlit bedroom at dawn with a knitted blanket, a cup of herbal tea and a small brass alarm clock on the nightstand
Type: Article8 min

Fall Back Time Change: How to Keep Your Sleep on Track

The fall back time change gives you an extra hour, but it can still nudge your body clock. Here is what happens to your sleep and how to adjust gently.

An empty meeting room in warm morning light, with a long wooden table, chairs, notebooks and plants
Type: Article10 min

The Soft Skills Crisis AI Is Quietly Creating

AI can draft, summarise and answer, but it cannot practise judgment for us. Grace Lordan warns that the human skills we stop using may quietly fade.

A painter's studio at dawn with a large abstract canvas in deep blue and ochre, pigment bowls and brushes on a table
Type: Article9 min

Jaume Amigó: Painting Silence, Memory and the Sea

Jaume Amigó paints slowly in a fast world. His abstract paintings, shaped by Japan and Morocco, give emptiness as much weight as form.

Painting of a small corner bakery glowing with warm light at dawn on a wet cobblestone street lined with potted plants
Type: Article9 min

Business Survival Rates: How Long Do New Businesses Last?

What official US data say about business survival rates: how many new businesses make it through year one, five years and a decade, and what the numbers miss.

Carved wooden toy owl beside a smartphone, crayons and picture cards on a sunny classroom table
Type: Article8 min

An Online Safety Game Built for Kids With Down Syndrome

A small team in Bosnia and Herzegovina built SafeClick, an online safety game where a friendly owl helps children with Down syndrome practise staying safe on the web.

Laboratory glassware with blue liquids on a bench, suggesting cell signalling research
Type: Article9 min

How Cell Messages Could Change the Way We Treat Aging

Cell messages could change how doctors treat aging. GPCR signals link many body systems, and researchers are studying whether treating those networks could help several diseases at once.

A golden mealworm larva on wheat bran in warm morning light
Type: Article9 min

Can Mealworms Change Their Minds? A Tiny Test of Purpose

Mealworm larvae learned where food was, then changed course when it turned bitter. Their tiny test suggests flexible thinking in a very small animal.

Feedback
Feedback
Any additional comments?
Next
If you would like a reply, enter your email
Back
Submit
Thank you for your feedback.

Spelling error report

The following text will be sent to our editors: