This post may contain affiliate links. Please read our disclosure policy.

This gluten free lemon blueberry cake is a tender yellow cake packed with bright lemon flavor from lemon juice and zest, studded with fresh blueberries, and covered in a creamy, sweet and tangy lemon buttercream.

Gluten free lemon blueberry cake closeup on cake plate.
Want to save this recipe?
Enter your email and weโ€™ll send it to you! Plus, get new recipes every week.
Please enable JavaScript in your browser to complete this form.

Bright lemon flavor from fresh juice and zest

Fresh lemons are available year round, even where I live in New York. But if I ever move far away from here, please please let me live somewhere that I can grow fresh citrus in my backyard ??…

Whatever you do, let it be freshly squeezed lemon juice, not the bottled kind (even that kind that people say tastes fresh!). If you're baking with lemon juice more than once in a short time period, you can of course juice all of your lemons at once and store the juice for a day or so in a sealed container in the refrigerator.

Meyer lemons are lovely

In the late winter, I can usually find Meyer lemons in my grocery store, which are thought to be a cross between lemons and mandarin oranges. They have a thinner skin, more juice, and a less sour flavor than traditional lemons.

You can use them in this recipe, or in any other recipe that calls for lemon juice or zest. Since the skin is thinner, it can be harder to zest a Meyer lemon.

Try zesting them when they're cold from the refrigerator, when the lemon is firmer and less likely to be damaged by zesting. Always zest first, juice after.

A piece of gluten free lemon blueberry cake with white frosting, on a plate.

For the lemon filling and icing

The lemon buttercream filling in the center with a rich lemon glaze on top pair perfectly with the lightly sweet, tender lemon cake. If you'd rather not make a lemon buttercream filling and a separate rich lemon glaze for the top, just double up on the buttercream.

The cake itself has a fair amount of lemon juice, along with sour cream for extra tangy flavor plus tenderness in the crumb. It also has plenty of lemon zest, so the lemon flavor is prominent.

You can only use so much lemon juice in the lemon buttercream filling and icing, since you can't have too much moisture. But with lemon in all parts of the cake, the flavor is perfect.

If you'd still like extra lemon flavor, you can add a bit of pure lemon extract. Or even try adding some “True Lemon” brand crystallized lemon.

Gluten free lemon blueberry cake raw in pan

Fresh blueberries are best

I don't usually buy blueberries when they're not in season, since they're super expensive and they taste terrible. But if I'm dying to make a blueberry muffin or this gluten free lemon blueberry cake outside the season, there are usually two options.

Typically, organic blueberries are even more expensive than conventional berries, but they tend to taste fresher and have a better consistency. Look for a container with larger berries, which are less likely to be tart or have a chewy consistency.

You can use frozen berries but they will bleed a bit. To minimize bleeding of the color of the berries into the cake, don't defrost the berries.

Instead, rinse them with cold water before tossing them in cornstarch. That will help minimize the color transfer.

Above all else, resist the temptation to pack the cake with more blueberries than the recipe calls for! They'll make for a too-wet cake that rises and then sinks, leaving you with an overly wet, dense cake.

Blueberries add a lot of moisture, and this recipe is written to balance that out. If you'd prefer a lemon cake without blueberries, try our separate recipe Olive Garden-style gluten free lemon cake.

Gluten free lemon blueberry cake layers baked and unfrosted.

Ingredients and substitutions

Dairy: In place of the butter in the cake and in the rich lemon glaze, try a vegan butter like Miyokoโ€™s Kitchen brand or Melt brand. I don't recommend Earth Balance buttery sticks because of the high salt and moisture content.

In place of the sour cream in the cake, if you have a favorite dairy free sour cream, try using that. Otherwise, buy plain dairy free yogurt and strain it of liquid until it's the consistency of Greek-style yogurt and use that.

In the frosting, try using butter-flavored Spectrum non-hydrogenated vegetable shortening in place of butter. You can also try vegan butter, but I prefer Spectrum shortening for dairy free buttercream.

Eggs: This cake calls for 3 whole eggs, which is more than I feel confident you could replace successfully. If you need an egg-free lemon cake, try our recipe for gluten free vanilla crazy cake and replace 1/4 cup of the water with freshly-squeezed lemon juice.

Corn: The cornstarch in the cake can easily be replaced with arrowroot or even potato starch. If you can't have corn, be sure you're using a corn-free confectioners' sugar, as most brands contain cornstarch.

Gluten Free Lemon Blueberry Cake

5 from 15 votes
Prep Time: 25 minutes
Cook Time: 25 minutes
Resting time: 20 minutes
Yield: 8 slices layer cake
A gluten free lemon blueberry cake with lemon buttercream filling, topped with a rich lemon glaze, and all the freshest ingredients.

Equipment

  • Mixer for buttercream
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

For the cake

  • 2 cups (280 g) all purpose gluten free flour blend, (I used Better Batter; please click thru for full info on appropriate blends)
  • 1 teaspoon xanthan gum, (omit if your blend already contains it)
  • ยผ cup (36 g) cornstarch
  • 1 ยฝ teaspoons baking powder
  • ยฝ teaspoon baking soda
  • ยพ teaspoon kosher salt
  • ยพ cup (150 g) granulated sugar
  • Zest of 2 lemons, finely grated
  • ยฝ cup (109 g) packed light brown sugar
  • 12 tablespoons (168 g) unsalted butter, at room temperature
  • 3 (150 g (weighed out of shell)) eggs, at room temperature, beaten
  • ยผ cup (2 fluid ounces) freshly-squeezed lemon juice, (from about 2 medium-size lemons)
  • ยพ cup (180 g) sour cream, at room temperature
  • 1 ยผ cups (150 g) fresh blueberries, tossed with 1 teaspoon cornstarch (plus a few more for decoration, optional)

For the lemon buttercream filling

  • 16 tablespoons (224 g) unsalted butter, at room temperature
  • 3 ยฝ cups (400 g) confectionersโ€™ sugar, plus more as necessary
  • ยฝ teaspoon kosher salt
  • 3 tablespoons freshly squeezed lemon juice, (from about 2 medium-size lemons) plus more as necessary

For the rich lemon glaze

  • 2 cups (230 g) confectionersโ€™ sugar, plus more as necessary
  • โ…› teaspoon kosher salt
  • 3 tablespoons (1 ยฝ fluid ounces) freshly squeezed lemon juice, (from about 1 large lemon)
  • 2 tablespoons (28 g) unsalted butter, at room temperature

Instructions 

Make the cake.

  • Preheat your oven to 350ยฐF.
  • Grease and line two 9-inch square (or round) cake pans and set them aside.
  • In a large bowl, place the flour, xanthan gum, cornstarch, baking powder, baking soda, salt and granulated sugar, and whisk to combine well.
  • Add the lemon zest, and whisk into the dry ingredients to ensure that the lemon zest isnโ€™t clumped.
  • Add the brown sugar and whisk again, working out any lumps.
  • Create a well in the center of the dry ingredients and add the butter, eggs, lemon juice, and sour cream, mixing to combine after each addition, and mixing until smooth after the final addition. The batter will be thick.
  • Add the blueberries tossed in cornstarch, and fold carefully into the batter until theyโ€™re evenly distributed throughout.
  • Divide the cake batter evenly among the two prepared pans and spread into an even layer.
  • Place the pans in the center of the preheated oven and bake until a toothpick inserted in the center of each cake comes out clean (20 to 25 minutes), rotating once during baking.
  • Remove the pans from the oven and allow the cakes to cool in the pans for 10 minutes before transferring to a wire rack to cool completely.

Make the buttercream filling.

  • Place the butter in the bowl of your stand mixer fitted with the paddle attachment (or a large bowl with a handheld mixer) and beat on medium speed until the butter is light and fluffy.
  • Add 3 1/2 cups of the confectionersโ€™ sugar and the salt, and mix on low speed until the sugar is absorbed into the butter. Increase the speed to medium-high, add the salt and lemon juice, and continue to beat until the frosting is light and fluffy (about 3 minutes).
  • Add more confectionersโ€™ sugar by the tablespoon as necessary to bring the frosting to a thickly spreadable consistency.
  • Assemble the cake.
  • Place one of the cooled cakes onto a cake stand or other serving platter, and spread about 2/3 of of the buttercream filling into one thick, even layer on top.
  • Place the second cake on top of the frosting and press down evenly on top.
  • Place the remaining buttercream on top of the layer cake and spread across the top and around the sides of the cake in a thin layer to seal in crumbs.
  • Try adding a few fresh blueberries, face out, on the filling layer for decoration.

For the glaze.

  • In a medium-size bowl, place 2 cups of the confectionersโ€™ sugar and the salt, and whisk to combine well.
  • Add the lemon juice and the butter, and mix to combine.
  • Add more confectionersโ€™ sugar as necessary to create a very thickly pourable glaze.
  • Pour the glaze on top of the layer cake and spread into an even layer on top, allowing it to drip down the sides.
  • Allow the glaze to set either at room temperature or in the refrigerator before slicing and serving.

Video

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!
Gluten free lemon blueberry cake slice from behind, showing the glaze and fresh blueberries.
Gluten Free Lemon Blueberry Cake
A gluten free lemon blueberry cake with lemon buttercream filling, topped with a rich lemon glaze, and all the freshest ingredients.

About Nicole Hunn

Hi, Iโ€™m Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that arenโ€™t good enough to justify the price. At Gluten Free on a Shoestring, โ€œgood, for gluten freeโ€ just isnโ€™t good enough!

Leave a comment

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

Recipe Rating





This site uses Akismet to reduce spam. Learn how your comment data is processed.

35 Comments

  1. Tawana Spence says:

    This is delicious without the buttercream and glaze! Family loves it! Thank you! I made a few subs due to ingredients on hand. Switched the butter for coconut oil, sugar for coconut sugar, and sour cream for coconut yogurt. Love the moist cake texture ? Hard to believe it’s gluten free. I used my favorite gluten free all purpose flour; Premium Gold ancient grains & flax ?

    1. Nicole Hunn says:

      Wow, that’s a ton of substitutions, Tawana. Glad you’re happy with your results!

  2. Hana says:

    Iโ€™ve made this as a cake and itโ€™s a big hit. Do you think it would be ok as cupcakes?

    1. Nicole Hunn says:

      I’m afraid not all cake recipes make proper cupcakes (or vice versa), so I really couldn’t promise success, Hana.

  3. Beth Erwin says:

    Do you think the blueberries could be exchanged for strawberries or left out entirely?

    1. Nicole Hunn says:

      Hi, Beth, I’m afraid you can’t leave the blueberries out entirely, no. I don’t think that strawberries would be a good match for all that lemon flavor, and I’m honestly not sure if they would release too much moisture or not. I think maybe another cake recipe might suit you better? Maybe try my very best vanilla cake recipe.

  4. Tara says:

    Are you suppose to let cake batter sit a few minutes after you put it in the cake pan?

    1. Nicole Hunn says:

      I don’t know why that would be necessary with a cake batter, Tara. In fact, the baking soda is activated as soon as it’s mixed with liquid, so you don’t want the batter sitting around before going in the oven.

  5. Erin says:

    Yum! Do you have an alternate buttercream recipe that doesn’t utilize so much confectioners sugar? I love the taste of coconut, granulated sugar, etc. better but I know it’s probably 1/4 of the amount at least.

    1. Nicole Hunn says:

      In fact, I do, Erin. I have a recipe for ermine frosting, a cooked flour frosting that uses granulated sugarโ€”and less in general. It’s a family favorite.

  6. Laura says:

    Hello! My husband can’t have potato starch or potato flour – what would you recommend as the best replacement in the flour blends? Thank you!

    1. Nicole Hunn says:

      There is no substitute for potato flour, Laura. Perhaps you’d prefer my mock Cup4Cup blend. You can usually replace potato starch with cornstarch or arrowroot, but I haven’t tried it in a flour blend so you’ll have to experiment.

  7. Jenn says:

    I made this over the weekend and it was a huge success! Thank you for sharing all of your wonderful recipes!

    1. Nicole Hunn says:

      I’m so happy to hear, Jenn. Thanks for the kind note!!

  8. Judy Vendramini says:

    I have had great results with every recipe that you put out, Nicole (except the dinner rolls with yeast). I will definitely try this.

  9. GF Mum says:

    This was absolutely delicious! Lovely, bright and very lemony.

  10. Ronne Cosel says:

    Please can you offer suggestions for dairy free sour cream substitutes

    1. Nicole Hunn says:

      Please see the Ingredients and substitutions section, Ronne, for full and complete information.