This blueberry lavender cake is everything you want in a spring or summer dessert! Light, soft, incredibly moist, and full of bright, fresh flavor. The crumb is tender and delicate, and the sweetness is perfectly balanced so it never feels heavy or overly sugary. Instead, every bite tastes fresh and fragrant, with juicy bursts of blueberry compote and a gentle hint of lemon.

When spring starts to roll around, blueberries naturally take center stage in the kitchen, and this blueberry lavender cake really lets them shine. The berries bring a sweet, vibrant flavor that feels refreshing and bright, and when paired with lavender, the combination becomes something really special.
The lavender adds a subtle floral note that makes the cake feel a little more unique and elegant without being overpowering. It simply enhances the sweetness of the blueberries and adds a light, aromatic touch that makes the whole cake taste fresh, delicate, and perfectly suited for the warmer months.
The cake layers themselves are soft and fluffy with a hint of lemon, which helps brighten all the flavors. Each layer is generously filled with homemade blueberry lavender compote and smooth, creamy cream cheese frosting. The compote adds little pockets of juicy blueberry flavor throughout the cake, while the cream cheese frosting brings just the right amount of tangy richness to balance everything out. Every slice is filled with fresh berry flavor, a touch of citrus, a hint of floral lavender, and that irresistible creamy frosting.
Not only does this cake taste amazing, but it’s also absolutely beautiful once it’s assembled. The deep purple blueberry filling peeking between the soft, pale cake layers and creamy frosting makes it just as lovely to look at as it is to eat. It’s the kind of cake that feels perfect for spring gatherings, celebrations, or simply enjoying a slice on a warm day

WHY YOU’LL LOVE THIS BLUEBERRY LAVENDER CAKE
- Soft, moist, and perfectly tender! The texture of this cake is truly something special. Each layer is soft and fluffy with a delicate crumb that stays wonderfully moist. It’s light enough to enjoy a generous slice, yet rich enough to feel like a proper treat.
- Not overly sweet. One of the best things about this cake is how well balanced the flavors are. It has just the right amount of sweetness without feeling heavy or sugary.
- Bursting with fresh flavor! Juicy blueberries bring bright, fruity bursts of flavor in every bite, while a gentle hint of lavender adds a subtle floral note that makes the cake feel unique and elegant. A touch of lemon ties everything together and keeps the flavors tasting fresh and vibrant.
- Layers of blueberry goodness! Between the soft cake layers is a generous filling of blueberry lavender compote and creamy cream cheese frosting.
- Perfect for spring, summer, or honestly all-year round! This cake truly shines during the warmer months. The bright berries, delicate lavender, and fresh flavors make it ideal for spring gatherings, birthdays, brunches, picnics, or any moment that calls for a beautiful seasonal dessert.
INGREDIENTS NEEDED & NOTES TO MAKE THIS BLUEBERRY LAVENDER CAKE
Blueberries – The star flavor of this cake! You’ll need blueberries to make the blueberry lavender compote that gets layered between the cakes. Both fresh and frozen blueberries work well here. If you’re using fresh berries, make sure they’re washed and dried. Frozen blueberries can go straight into the pot, no need to thaw them first.
Lemon – A must when making a fresh berry cake. Lemon brightens all the flavors and pairs beautifully with blueberries and lavender. You’ll be using both the zest and juice, so choose fresh lemons for the best flavor.
Lavender – Culinary lavender buds add a delicate floral note that makes this cake feel extra special. The lavender flavor is light and fragrant, perfectly complementing the sweet blueberries and citrusy lemon.
Heavy Cream – Full fat heavy cream works best for this recipe because it adds richness and helps create a smooth, creamy frosting.
Sour Cream – Sour cream adds moisture and a slight tang, which helps create a soft and tender cake crumb. Greek yogurt works well as a substitute if needed. Be sure it’s at room temperature so it blends smoothly into the batter.
Cream Cheese – Use full-fat block cream cheese, not the spreadable kind in tubs. Block cream cheese gives the frosting the best flavor and a thick, creamy texture.
Unsalted Butter – Butter is used in the frosting to make it rich and fluffy. Make sure it’s softened to room temperature so it whips up light and smooth.
Eggs – This recipe uses six large eggs. Eggs provide structure and richness while also adding moisture to the cake. Let them come to room temperature before mixing so the batter blends evenly.
Neutral Oil – A neutral oil helps keep the cake extra moist. Canola oil works great, but any mild-flavored oil like vegetable or sunflower oil will work too.
Flour – Regular all-purpose flour is all you need here—nothing fancy. It provides the structure for the cake layers.
Cornstarch – Used to thicken the blueberry compote so it becomes jammy and perfect for layering between the cakes.
Leavening Agents – A combination of baking powder and baking soda gives this cake a beautiful rise and light texture.
Sugar – Granulated sugar sweetens both the cake and the blueberry compote, while powdered sugar (confectioners’ sugar) is used to make the smooth cream cheese frosting.
Vanilla – Just a touch of vanilla adds warmth and depth to the flavor of the cake and frosting.
Salt – A small amount of salt helps balance the sweetness and enhances all the flavors in the cake.
BAKING TOOLS & EQUIPMENT YOU’LL NEED
- Three 8-inch round cake pans
- Electric mixer (stand mixer or a hand-held mixer)
- Medium saucepan
- Rubber spatula
- Offset spatula
- Parchment paper
- mixing bowls

STEP-BY-STEP INSTRUCTIONS TO MAKE THIS BLUEBERRY LAVENDER CAKE
(Be sure to check the printable recipe card below)
Lemon Lavender Cake:
- 300g (1+1/4 cups) canola oil
- 2 tablespoons lavender buds
- 500g (4 cups, spoon and level method) all-purpose flour
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 450g (2+1/4 cups) granulated sugar
- zest of 2 lemons
- 4 large eggs
- 2 egg yolks
- 360g (1+1/2 cups) sour cream
- 2 teaspoons vanilla extract
Blueberry Lavender Compote:
- 350g (2.5 cups) blueberries, fresh or frozen
- 80g (1/3 cup) fresh lemon juice
- zest of 1/2 lemon
- 50g (1/4 cup) granulated sugar
- 1/2 teaspoons cornstarch
- 2 tablespoons lavender buds
- tea bag
Frosting:
- 339g (3 sticks) unsalted butter
- 113g (4oz) cream cheese
- 375g (3 cups) powdered sugar
- 3-4 tablespoons heavy cream
STEP 1 – Make the Blueberry Lavender Compote
Start by making sure your blueberries are clean. I like to place them in a colander and gently dip the colander into a large bowl of cold water, swirling the berries around to loosen any dirt. Then lift the colander out and give them a quick rinse under running water. If you’re using frozen blueberries, you can skip this step. there’s no need to wash or thaw them beforehand.
Next, place 2 tablespoons of lavender buds into a tea bag or small piece of cheesecloth and tie it closed. This allows the lavender to infuse the compote with flavor without leaving buds throughout the mixture.
In a medium saucepan, combine 1.5 cups of blueberries, the lavender tea bag, fresh lemon juice, lemon zest, sugar, and cornstarch. Set the pot over medium-high heat and bring the mixture to a gentle boil. Once it starts bubbling, reduce the heat to medium and let it simmer for about 12 minutes, stirring occasionally, until the blueberries begin to break down and the mixture becomes thick and jammy.
Add the remaining 1 cups of blueberries and continue cooking for another 8 minutes, stirring occasionally. This second addition of berries helps keep some whole blueberries in the compote, giving it a lovely chunky texture.
Remove the pot from the heat and let the compote cool completely. As it cools, it will continue to thicken.
STEP 2 – Make the Lemon Blueberry Lavender Cake
Preheat your oven to 360°F. Line three 8-inch round cake pans with parchment paper and lightly grease the sides. In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until well combined. Set this mixture aside.
In a separate bowl, combine the granulated sugar and fresh lemon zest. Using your fingertips, rub the zest into the sugar until it becomes fragrant and slightly moist. This step helps release the natural oils from the lemon zest and gives the cake a stronger lemon flavor. Set aside.
Next, prepare the lavender oil. In a small saucepan, heat the canola oil over medium heat until gentle simmer. Remove it from the heat and stir in the lavender buds. Let the lavender steep in the oil as it cools completely so the flavor can infuse. Once cooled, strain the oil through a fine strainer to remove the lavender buds and discard them.
In the bowl of a stand mixer fitted with a whisk attachment (or in a large mixing bowl using a hand mixer), combine the eggs, sour cream, lemon sugar, and vanilla. Whisk on medium speed for about 3 minutes, until the mixture looks smooth and pale.
Reduce the mixer speed to low. Add the dry ingredients in three additions, alternating with the lavender-infused oil, mixing just until incorporated after each addition. Be careful not to overmix, as this can make the cake dense.
Divide the batter evenly between the prepared cake pans and smooth the tops. Bake for about 30 minutes, or until a skewer inserted into the center of the cakes comes out clean.
Remove the cakes from the oven and allow them to cool in the pans for about 10 minutes. Then gently invert them onto wire racks, peel off the parchment paper, and let them cool completely before assembling the cake.
STEP 3 – Make the Blueberry Lavender Cream Cheese Frosting
First, make sure your cream cheese and butter are softened and at room temperature. This step is important for a smooth, lump-free frosting.
In a large bowl using a handheld mixer, or in the bowl of a stand mixer fitted with the paddle attachment, beat the cream cheese and butter together on medium-high speed until smooth, creamy, and fully combined, about 3–4 minutes.
Gradually add the confectioners’ sugar, followed by the vanilla extract and ¼ cup of the blueberry lavender compote until incorporated. Then, add the heavy cream, one tablespoon at a time, mixing after each addition until the frosting reaches a smooth and spreadable consistency.
Continue beating on medium-low speed for about 1 minute until everything is well combined. The finished frosting should be soft, creamy, and easy to spread, but not runny. If it feels too thick, add a little more heavy cream (1 teaspoon at a time).
STEP 4 – Assemble the Cake
Once the cakes have completely cooled, level each layer by trimming off any domed tops so the cakes are flat and even. This will help the layers stack neatly and keep the cake stable.
Place the first cake layer onto your serving plate or cake stand. Spread an even layer of the blueberry lavender cream cheese frosting over the top, then spoon 3–4 tablespoons of blueberry lavender compote on top of the frosting and gently spread it out.
Place the second cake layer on top and repeat the same process. Frosting first, followed by another 3–4 tablespoons of compote. Finally, place the last cake layer on top and frost the top and sides of the cake with the remaining cream cheese frosting, smoothing it out with an offset spatula.
Transfer the cake to the refrigerator and chill for about 2 hours to allow the layers and frosting to set before decorating or serving. When ready to decorate, you can add a little extra blueberry compote, fresh flowers, or a few sprigs of fresh thyme for a simple and beautiful finish. Slice, serve, and enjoy!

TIPS FOR MAKING THE BEST BLUEBERRY LAVENDER CAKE
- Prepare the cake pans properly. Line three 8-inch cake pans with parchment paper and lightly grease the pans with softened butter. Add about 1 tablespoon of flour to each pan, then gently shake and rotate the pan so the flour coats the bottom and sides. Tap out any excess flour. This helps prevent the cakes from sticking and ensures they release easily after baking.
- Use room-temperature ingredients. Make sure your eggs, sour cream, butter, and cream cheese are all at room temperature before mixing. Room-temperature ingredients blend much more smoothly and evenly, creating a uniform batter and a softer cake texture.
- Measure the flour correctly. If you’re measuring flour with cups, use the spoon-and-level method: spoon the flour into the measuring cup and level it off with a knife. Avoid scooping directly from the bag, as this can pack the flour and result in too much flour, which may make the cake dense or dry. For the most accurate results, use a kitchen scale. I prefer writing recipes in grams because they’re much more precise. 1 cup of flour = about 125 grams.
- Keep an eye on the cake while baking. Baking times are always a guideline because every oven bakes a little differently. Even if you set the same temperature, ovens can vary quite a bit. Start checking your cakes a few minutes before the suggested baking time. The cakes are ready when a toothpick or skewer inserted into the center comes out clean.
HERE’S HOW TO STORE THE LEFTOVERS
This cake makes about 10–12 slices. You can enjoy it chilled straight from the fridge for a firmer texture, or let it sit at room temperature for about 20–30 minutes before serving for a softer, creamier bite.
How to Store and Freeze Unfrosted Cake
- Allow the cake layers to cool completely before storing. Wrap each cake layer tightly in two layers of plastic wrap to prevent it from drying out. The wrapped layers can be stored at room temperature overnight or kept in the refrigerator for up to 3 days.
- To freeze the cake layers, place the wrapped cakes in a freezer-safe bag or airtight container and lay them flat in the freezer. They can be frozen for up to 2 months. When ready to use, thaw the layers overnight in the refrigerator before assembling the cake.
How to Store Frosted Cake
- Because the frosting contains cream cheese, the finished cake should be stored in the refrigerator. Place the leftover cake in an airtight container or cover it well and store it in the fridge for up to 5 days.
- If you’d like to freeze the frosted cake, it’s best to slice it first. Wrap each slice tightly in plastic wrap, then place the wrapped slices in a freezer-safe container. The slices will keep well in the freezer for up to 3 months.
- When ready to enjoy, simply thaw a slice in the refrigerator or let it sit at room temperature until softened.

Blueberry Lavender Cake
This blueberry lavender cake is everything you want in a spring or summer dessert! Light, soft, incredibly moist, and full of bright, fresh flavor. The crumb is tender and delicate, and the sweetness is perfectly balanced so it never feels heavy or overly sugary. Instead, every bite tastes fresh and fragrant, with juicy bursts of blueberry compote and a gentle hint of lemon.
Ingredients
Lemon Lavender Cake:
- 300g (1+1/4 cups) canola oil
- 2 tablespoons lavender buds
- 500g (4 cups, spoon and level method) all-purpose flour
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 450g (2+1/4 cups) granulated sugar
- zest of 2 lemons
- 4 large eggs
- 2 egg yolks
- 360g (1+1/2 cups) sour cream
- 2 teaspoons vanilla extract
Blueberry Lavender Compote:
- 350g (2.5 cups) blueberries, fresh or frozen
- 80g (1/3 cup) fresh lemon juice
- zest of 1/2 lemon
- 50g (1/4 cup) granulated sugar
- 1/2 teaspoons cornstarch
- 2 tablespoons lavender buds
- tea bag
Frosting:
- 339g (3 sticks) unsalted butter
- 113g (4oz) cream cheese
- 375g (3 cups) powdered sugar
- 3-4 tablespoons heavy cream
Instructions
STEP 1 – Make the Blueberry Lavender Compote
- Start by making sure your blueberries are clean. I like to place them in a colander and gently dip the colander into a large bowl of cold water, swirling the berries around to loosen any dirt. Then lift the colander out and give them a quick rinse under running water.
- If you’re using frozen blueberries, you can skip this step. there’s no need to wash or thaw them beforehand.
- Next, place 2 tablespoons of lavender buds into a tea bag or small piece of cheesecloth and tie it closed. This allows the lavender to infuse the compote with flavor without leaving buds throughout the mixture.
- In a medium saucepan, combine 1.5 cups of blueberries, the lavender tea bag, fresh lemon juice, lemon zest, sugar, and cornstarch. Set the pot over medium-high heat and bring the mixture to a gentle boil.
- Once it starts bubbling, reduce the heat to medium and let it simmer for about 10 minutes, stirring occasionally, until the blueberries begin to break down and the mixture becomes thick and jammy.
- Add the remaining 1 cups of blueberries and continue cooking for another 8 minutes, stirring occasionally. This second addition of berries helps keep some whole blueberries in the compote, giving it a lovely chunky texture.
- Remove the pot from the heat and let the compote cool completely. As it cools, it will continue to thicken.
STEP 2 – Make the Lemon Blueberry Lavender Cake
- Preheat your oven to 360°F. Line three 8-inch round cake pans with parchment paper and lightly grease the sides.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until well combined. Set this mixture aside.
- In a separate bowl, combine the granulated sugar and fresh lemon zest. Using your fingertips, rub the zest into the sugar until it becomes fragrant and slightly moist. This step helps release the natural oils from the lemon zest and gives the cake a stronger lemon flavor. Set aside.
- Next, prepare the lavender oil. In a small saucepan, heat the canola oil over medium heat until gentle simmer. Remove it from the heat and stir in the lavender buds. Let the lavender steep in the oil as it cools completely so the flavor can infuse. Once cooled, strain the oil through a fine strainer to remove the lavender buds and discard them.
- In the bowl of a stand mixer fitted with a whisk attachment (or in a large mixing bowl using a hand mixer), combine the eggs, sour cream, lemon sugar, and vanilla. Whisk on medium speed for about 3 minutes, until the mixture looks smooth and pale.
- Reduce the mixer speed to low. Add the flour mixture in three additions, alternating with the lavender-infused oil, mixing just until incorporated after each addition. Be careful not to overmix, as this can make the cake dense.
- Divide the batter evenly between the prepared cake pans and smooth the tops. Bake for about 30 minutes, or until a skewer inserted into the center of the cakes comes out clean.
- Remove the cakes from the oven and allow them to cool in the pans for about 10 minutes. Then gently invert them onto wire racks, peel off the parchment paper, and let them cool completely before assembling the cake.
STEP 3 – Make the Blueberry Lavender Cream Cheese Frosting
- First, make sure your cream cheese and butter are softened and at room temperature. This step is important for a smooth, lump-free frosting.
- In a large bowl using a handheld mixer, or in the bowl of a stand mixer fitted with the paddle attachment, beat the cream cheese and butter together on medium-high speed until smooth, creamy, and fully combined, about 3–4 minutes.
- Gradually add the confectioners’ sugar, followed by the vanilla extract and ¼ cup of the blueberry lavender compote until incorporated.
- Then, add the heavy cream, one tablespoon at a time, mixing after each addition until the frosting reaches a smooth and spreadable consistency.
- Continue beating on medium-low speed for about 1 minute until everything is well combined. The finished frosting should be soft, creamy, and easy to spread, but not runny.
- If it feels too thick, add a little more heavy cream (1 teaspoon at a time).
STEP 4 – Assemble the Cake
- Once the cakes have completely cooled, level each layer by trimming off any domed tops so the cakes are flat and even. This will help the layers stack neatly and keep the cake stable.
- Place the first cake layer onto your serving plate or cake stand. Spread an even layer of the blueberry lavender cream cheese frosting over the top, then spoon 3–4 tablespoons of blueberry lavender compote on top of the frosting and gently spread it out.
- Place the second cake layer on top and repeat the same process. Frosting first, followed by another 3–4 tablespoons of compote.
- Finally, place the last cake layer on top and frost the top and sides of the cake with the remaining cream cheese frosting, smoothing it out with an offset spatula.
- Transfer the cake to the refrigerator and chill for about 2 hours to allow the layers and frosting to set before decorating or serving.
- When ready to decorate, you can add a little extra blueberry compote, fresh flowers, or a few sprigs of fresh thyme for a simple and beautiful finish. Slice, serve, and enjoy!