The Bake School

  • Start Here
  • Baking 101
  • Recipes
  • Shop
menu icon
go to homepage
  • Start Here
  • Baking 101
  • Recipes
  • Shop
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
  • subscribe
    search icon
    Homepage link
    • Start Here
    • Baking 101
    • Recipes
    • Shop
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
  • ×
    Home » Baking Science

    Why Do Blueberries In Blueberry Muffins Turn Green?

    This is a picture of Janice Lawandi
    Modified: Aug 20, 2026 · Published by Janice Lawandi ·
    This post may contain affiliate links · 13 Comments

    If you've ever baked a batch of blueberry muffins and noticed the blueberries turned green instead of purple or blue, that's normal! Keep reading to find out why blueberries turn green in your muffins and baked goods!

    A vintage muffin pan with freshly baked blueberry streusel muffins with a stripped blue and white kitchen linen

    It happens to the best of us: you bake up a batch of moist and sweet honey blueberry muffins, made with care and love, but they end up with unsightly green blobs of what should have been pretty purple-blue blueberries. The taste is the same, but the colour of the blueberries isn't what you expected. That, my friends, is anthocyanin's fault. But actually, to be more precise, the pH of the muffin batter also has a role in this story.

    Jump to:
    • Acidic Conditions-Blueberries Turn Red In Jam
    • Neutral Conditions-Blueberries Are Purple-Blue
    • Some Blueberries Turn Green, Some Are Purple In Baked Goods
    • Are Green Blueberries In Baked Goods Bad For You?

    What Are Anthocyanins

    Components of blueberries (skin are dark blue and contain anthocyanins, while the flesh is light, pale, translucid).
    Disclosure: As an Amazon Associate, I earn from qualifying purchases.

    Anthocyanins are a family of coloured compounds. They are the antioxidants in plants, like leaves and berries, and they are responsible for much of the colour you see on the tables at the farmer's markets, from red cabbage and purple corn to many different types of berries, cherries, and grapes. The anthocyanins are not to be confused with the carotenoids (like beta-carotene): carrots get their orange colour (and even purple colour) from beta-carotene, while the skins of blueberries get their violet-blue tones from cyanidin 3-glucoside (an anthocyanin).

    Why Do Anthocyanins Change Colour

    Anthocyanins are nature's pH indicator: these compounds change colour depending on whether they are in an acidic, neutral, or basic (alkaline) environment. The colour changes observed vary from one anthocyanin to another, but for cyanidin 3-glucoside, the anthocyanin found in blueberries, the colour varies from red to violet to blue or even green (from low, acidic pH to higher, alkaline pH). A change in pH entails a small change in the structure of anthocyanins, which in turn affects how they absorb/reflect light: change the pH, change the colour of these compounds.

    Kitchen experiment with blended fresh blueberries exposed to different pHs (from vinegar to baking soda) to show how colour changes to red or even green.

    I did a simple experiment in my kitchen, blending a sample of fresh blueberries to form a purée. Then I mixed the purée with either dilute vinegar (acetic acid) to lower the pH or with a solution of baking soda (sodium bicarbonate) in water to raise the pH. I immediately observed a colour change in both cases: at a lower pH (with vinegar), the blueberry purée turned red; at a higher pH (with baking soda), it turned green.

    Changes in anthocyanin structure and colour with change in pH from acidic (pink–red anthocyanin colour) to basic (green or even yellow anthocyanin colour). In the neutral zone, the anthocyanin colour in blueberries will be violet–blue.

    I also noted that the blueberry purée itself had a reddish tint, likely because blueberries are slightly acidic. Blending the skins with the flesh exposed those anthocyanins to a more acidic environment, leading to a colour change.

    Basic Conditions-blueberries Turn Green in muffins

    A batch of blueberry muffins where the blueberries are green because the pH was too high.

    Does your recipe have a lot of baking soda, a chemical leavener that you might add to muffin batter in hopes of giving those muffins lots of oomph and rising power? When you bake with baking soda, your recipe will also include an acidic ingredient (or two) to react with. If there aren't enough acidic ingredients in your recipe to balance out the alkaline baking soda, your muffin batter will be basic (alkaline): your blueberry muffins will probably have splotches of green berries, instead of violet-blue, because the blueberries turn green under basic conditions.

    Acidic Conditions-Blueberries Turn Red In Jam

    A batch of blueberry jam with a magenta tint to it because the pH of jam is acidic.

    If you are making jams and pie fillings with fresh blueberries, you likely added lemon juice to the mixture. That lemon juice is acidic and lowers the pH of the mixture: the anthocyanins in the blueberries take on a magenta pink or even red colour because of the low pH.

    When you defrost frozen blueberries, you might also notice the juices run purple or even pink. That's because blueberries are acidic, and when the anthocyanins in the skin mingle with the lower pH of the inside of the berry, they change colour.

    Neutral Conditions-Blueberries Are Purple-Blue

    A blueberry crumb cake where the blueberries appear purple because the pH of the cake batter was fairly neutral.

    In this delicious blueberry crumb cake recipe, the cake batter is leavened with baking powder and features milk as the liquid, and the blueberries are a bright purple-blue colour. This is because in the absence of extreme pHs either acidic (low) or basic (high), the anthocyanins are that true blue-purple colour we expect from blueberries.

    Some Blueberries Turn Green, Some Are Purple In Baked Goods

    Blueberry muffins where blueberries have a green tint to them because the pH of the batter was too high.

    You might notice that in some batches, you end up with purple and green blueberries in different areas of the batch. The mixed colours of blueberries likely result from improper mixing of the batter and from patches of batter with a higher pH due to baking soda, which causes green blueberries in those areas.

    Are Green Blueberries In Baked Goods Bad For You?

    Blueberries changing colour in baked goods due to pH changes isn't bad and doesn't affect flavour.

    If your favourite blueberry muffin recipe yields the best muffins you've ever tasted, but the blueberries end up an unfortunate green, know that it's not the end of the world! The colour change doesn't affect the flavour. Your muffins are still safe to eat.

    Guidelines for ensuring blueberries stay purple–blue include maintaining a neutral pH, avoid excessive baking soda or acids that are unbalanced. Use baking powder instead.

    However, if that green colour bothers you, make a note in the recipe. In the next batch, consider adding in a little extra vinegar (or buttermilk, or whatever acid that is called for in the recipe) to balance out the extra baking soda, or you could even use a touch less baking soda in the next recipe, and add more baking powder instead.

    More Baking Science

    • Homemade chocolate chip cookies that are too thick.
      Thick Cookies And Reasons Cookies Don't Spread
    • Flat cookies that spread thin in the oven and merged together into one big cookie.
      Flat Cookies And Reasons They Spread Thin
    • Baking a pie on the bottom oven rack position.
      Oven rack position
    • The freezer plate test with a dollop of strawberry jam to show it wrinkles when it sets.
      The jam setting point and how to determine jam set

    Like this? Share it with friends.

    363 shares
    • Email
    • Facebook336
    • Reddit
    • WhatsApp
    • Threads

    Comments

    1. Mark says

      July 31, 2022 at 3:54 pm

      I make a blueberry cake. The recipe calls for 2 tsps of baking powder and not baking soda. The last few years since I have been making it, it turns green. It never use to happen before. I use the same amount of baking powder that I use to use. So, why is the blueberry cake turning green?

      Reply
      • Janice says

        August 01, 2022 at 10:57 am

        Hi Mark,

        That's really interesting. Have you tried buying a new package of baking powder or using a different brand? Because if the blueberries are suddenly turning green, it really is an indicator the pH of the cake batter is now higher (more basic) than it was before. Perhaps the baking powder formulation has changed, although I'd expect the product manufacturer to put more acid than baking soda in the formula to drive the reaction forward when the time comes...

        Reply
    2. x says

      May 07, 2021 at 6:10 pm

      Lemon should help, I assume, vinegar for a cake might be too harsh. Not?

      Reply
    3. Chris says

      January 03, 2020 at 10:41 am

      This is lovely. I appreciate the detail and specifics, as I had recently started baking blueberry muffins and observed a rich red color, wondering what caused it. This post helped me understand what's going on, and beyond that, helped me understand how to adjust ingredients in the future when I start developing my own recipes. I have a scientific, analytical mindset, and love being able to use the knowledge I've gained from this post to use actual science in my cooking.

      Thank you for this post and all its detail. More like this, please!

      Reply
    4. Annie says

      October 26, 2019 at 11:35 am

      Thanks for the information, I had the same thing happen to my white raspberry cake where there were small specs of blue. It certainly wasn't mold and I was afraid to serve it. Was this the same reasoning?

      Reply
    5. Heidi says

      February 02, 2019 at 6:40 pm

      I made muffins some with blueberries and some with only chocolate chips and they all turned green! But not just near the blueberries, the whole muffin! I used almond meal, walnuts, and spices, yes there was baking soda in the batter-but I have made a similar recipe in the past with only chocolate chips and they were a normal color. Could the blueberry "essence" pass through the air and into the muffins without blueberries? Or could the muffin tin turn them green? It was so weird, I threw them out even though they tasted normal.

      Reply
    6. John Stois says

      November 26, 2016 at 5:48 pm

      Does the same color change happen with pumpkin for those reasons? My pumpkin pie turned a shade of green .It was pumpkin color when i put it in the oven but turned a shade of green when I pulled it out. I almost threw it out but i tried a taste and it was delicious.

      Reply
    7. Dave says

      August 09, 2016 at 6:37 am

      So, does it kill you if you eat it? I mean.. I don't want to have cyanide in my cake.

      Reply
      • Janice says

        August 10, 2016 at 12:07 am

        Hi Dave,
        Cyanide is not at all the same as anthocyanins, and the anthocyanins found in blueberries certainly won't kill you (I think the human body just metabolizes and excretes them). No worries!

        Reply
    8. Vina says

      December 26, 2014 at 9:35 am

      Thank you for explaining the reason for the color change! My favorite cookie to bake is raspberry white chocolate and always turn green. The green with the red raspberries makes for a perfect Christmas cookie, but I've gotten used to people asking "why are they green?" and now I have an answer!

      Reply
    9. Stephanie says

      July 13, 2014 at 7:04 pm

      ooooh so interesting! The muffin recipe I use doesn't turn green, but I've had some very good cake-like versions of the blueberry muffins where I pondered the greenish blobs (briefly.. before shoving the whole muffin in my mouth, because I'm a lady)

      Reply
    10. Mallory @ Because I Like Chocolate says

      July 12, 2014 at 12:29 am

      You have made this all sound so simple! I love these posts when you take your chemistry background and apply it to food and cooking. It's something different from what the rest of the food blogging world is doing and I find it quite refreshing!

      Reply
    Newer Comments »

    Leave a Reply Cancel reply

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

    Recipe Rating




    This is a picture of Janice Lawandi

    Hi, I'm Janice!

    I am a baking-obsessed recipe developer with a PhD in Chemistry who writes about baking and the science of baking.

    More About Me

    Bake With Stone Fruit

    • Peach jam served with sourdough bread and butter on the side.
      Peach Jam Without Added Pectin
    • Transferring homemade apricot jam into jars to seal them.
      Apricot jam
    • A slice of plum cake on a pink glass plate.
      Plain Plum Cake
    • Cute pie with star design on top crust served with pile of plates and forks and a cup of coffee, striped linen
      Peach mango pie
    • Whiskey peach pie with an oat crumble topping
      Whiskey peach crumble pie
    • Plum tart recipe | @ktchnhealssoul
      Plum tart with muscovado

    Berry Season

    • Milk crumbs on a Momofuku Milk Bar style cake-layers of blackberry curd, almond cake, and almond frosting
      Blackberry almond cake — Milk Bar style
    • raspberry amaretti semifreddo slice
      Almond raspberry semifreddo
    • Vanilla cardamom tapioca pudding with strawberries
      Homemade tapioca pudding recipe with fresh strawberries
    • Rhubarb upside down cake sliced to serve it.
      Rhubarb Raspberry Upside-Down Cake
    • Bluebarb or blueberry rhubarb crumble with a marzipan oat crumble topping in a blue baking dish with a fluted edge
      Blueberry rhubarb crisp with marzipan crumble
    • A pan of baked honey blueberry muffins with streusel topping.
      Honey blueberry muffins

    Eggless chocolate cake

    Chocolate layer cake with cream cheese frosting and chocolate sprinkles on a cake stand.
    Learn to make an eggless chocolate cake with cream cheese frosting!

    Baking conversions

    Buy the baking conversion charts NOW!

    As seen on

    Logos of online and offline publications that featured the Bake School and Janice Lawandi.

    How to poach pears

    Poached pears on an enamelware plate.
    This easy poached pears recipe is simple and you can use the poached fruit for salads, appetizers, and desserts!

    Footer

    ↑ back to top

    About

    • Meet Janice Lawandi
    • FAQ
    • Privacy Policy
    • Terms and conditions
    • Accessibility
    • Press

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Services
    • Portfolio

    As seen on

    Logos of online and offline publications that featured the Bake School and Janice Lawandi.

    As an Amazon Associate I earn from qualifying purchases.

    COPYRIGHT © 2026 · THE BAKE SCHOOL

    • Facebook
    • Pinterest
    • Email
    • Reddit
    • Save
    • WhatsApp
    • Threads
    • Messenger