USDA MEDIAN BERRY · 12.7 mm · 1.5 gFREE · NO SIGN-UP
RecipesArticlesMethodologyAbout
Home / Articles / Why Blueberries Turn Green
Baking Science

Why Blueberries Turn Green in Muffins and Pancakes

5 min read · Published August 5, 2026

Your batter is not spoiled. It is a pH reaction, it is harmless, and it is entirely preventable once you know the cause.

You fold blueberries into a pale muffin batter, bake them, and pull out muffins shot through with streaks of grey-green. Nothing has gone wrong with your ingredients. You have run a chemistry experiment.

The pigment is a pH indicator

Blueberry colour comes from anthocyanins, a family of plant pigments that also colour red cabbage, blackberries, and purple sweet potatoes. Anthocyanins are natural pH indicators: they physically change molecular structure depending on the acidity around them.

In acidic conditions they appear red to purple. Around neutral they shift toward violet-blue. In alkaline conditions they turn blue-green, then genuinely green.

The interior of a muffin is a mildly alkaline environment, and where berry juice bleeds into batter, the pigment reports that alkalinity honestly by turning green.

It is completely safe

Green blueberry streaks are a colour change in a plant pigment, not spoilage, mould, or a chemical contaminant. The taste is unaffected.

Baking soda is the usual culprit

Sodium bicarbonate is a base. It is in your batter to react with acid and produce carbon dioxide for lift, but any excess remains in the crumb and pushes pH up.

This is why the problem is far more common in recipes that lean on baking soda than in those leaning on baking powder. Baking powder is a balanced product containing both a base and its own acid, so it disturbs pH much less.

If your recipe calls for more than about a quarter teaspoon of baking soda per cup of flour and you are getting green streaks, the soda is almost certainly the cause.

Five ways to prevent it

  1. Do not thaw frozen berries. Thawed fruit bleeds juice into the batter, and bleeding is what spreads pigment into contact with alkaline crumb.
  2. Toss berries in flour before folding. A thin flour coating is a physical barrier that slows juice migration.
  3. Fold minimally. Every extra stroke ruptures more berries. Six to eight folds is plenty.
  4. Add a little acid. A tablespoon of lemon juice, buttermilk instead of milk, or sour cream lowers pH enough to hold the colour.
  5. Drop berries onto pancakes in the pan rather than stirring them into the batter — the approach our blueberry pancakes recipe uses for exactly this reason.

Why store-bought muffins never do this

Commercial bakeries have the same chemistry problem and solve it with tools most home kitchens lack: buffered leavening systems that hold pH steady, berries coated in a sealing glaze, and in some cases added acidulants like citric acid specifically to protect colour.

Some also use dried or infused berries, which contain far less free juice to bleed in the first place.

The same reaction, deliberately

You can demonstrate this in about a minute. Mash a few blueberries in two small bowls with a splash of water. Stir a pinch of baking soda into one and a squeeze of lemon juice into the other.

The soda bowl shifts green within seconds. The lemon bowl turns bright reddish-purple. Same pigment, opposite ends of the pH scale — and a clear picture of what is happening inside your muffins.

Recipes using this

More guides

A 100-gram serving of blueberries contains roughly 160 mg of anthocyaninsLaid end-to-end at 12.7 mm apiece, it would take about 30 billion berries to reach the MoonThe world's largest blueberry weighed 16.2 grams — a Guinness record set in Australia in 2020Wild lowbush blueberries are about 40% smaller than cultivated highbush onesThe United States and Canada together produce roughly half of the world's cultivated blueberriesA 100-gram serving of blueberries contains roughly 160 mg of anthocyaninsLaid end-to-end at 12.7 mm apiece, it would take about 30 billion berries to reach the MoonThe world's largest blueberry weighed 16.2 grams — a Guinness record set in Australia in 2020Wild lowbush blueberries are about 40% smaller than cultivated highbush onesThe United States and Canada together produce roughly half of the world's cultivated blueberries