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.

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.

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.

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.

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.


















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 ?
Wow, that’s a ton of substitutions, Tawana. Glad you’re happy with your results!
I’ve made this as a cake and it’s a big hit. Do you think it would be ok as cupcakes?
I’m afraid not all cake recipes make proper cupcakes (or vice versa), so I really couldn’t promise success, Hana.
Do you think the blueberries could be exchanged for strawberries or left out entirely?
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.
Are you suppose to let cake batter sit a few minutes after you put it in the cake pan?
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.
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.
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.
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!
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.
I made this over the weekend and it was a huge success! Thank you for sharing all of your wonderful recipes!
I’m so happy to hear, Jenn. Thanks for the kind note!!
I have had great results with every recipe that you put out, Nicole (except the dinner rolls with yeast). I will definitely try this.
This was absolutely delicious! Lovely, bright and very lemony.
Please can you offer suggestions for dairy free sour cream substitutes
Please see the Ingredients and substitutions section, Ronne, for full and complete information.