Blueberry Lemon Cake with Cream Cheese Frosting

Blueberry Lemon Cake with Cream Cheese Frosting

This post may contain affiliate links. Read our disclosure policy.

There is something truly special about pairing bright, zesty citrus with sweet, bursting summer berries in a tender, moist crumb. This blueberry lemon cake combines soft cake layers infused with fresh lemon zest, a vibrant homemade blueberry compote filling, and a silky cream cheese frosting to tie it all together. Don't worry if you haven't tackled a layered cake in a while; taking it one simple component at a time makes the process completely manageable and deeply rewarding.

Why You'll Love This Recipe

  • Dual fruit feature: Uses both fresh folded blueberries in the batter and a concentrated compote filling for double the berry flavor.
  • Balanced flavor profile: Fresh lemon zest and juice cut through the sweetness of the rich cream cheese frosting.
  • Reliable crumb structure: Creaming softened butter and sugar builds a light, fluffy foundation that holds up under thick layers.
  • Built-in stability: Creating a frosting dam keeps the juicy compote securely centered inside the cake layers.

Ingredients You'll Need (and Why)

All-purpose flour: Provides the essential structure for the cake layers. Tossing a portion of the flour directly onto the fresh blueberries creates a light coating that prevents them from sinking straight to the bottom of the batter during baking.

Unsalted butter: Beating softened butter with granulated sugar incorporates microscopic air pockets, which expand in the oven to give the cake a tender, light rise.

Buttermilk: The acid in buttermilk reacts with the baking soda to help the cake rise while adding crucial moisture and a subtle tang that balances the sweetness.

Cornstarch: Mixed with cold water as a slurry, cornstarch acts as a thickening agent for the blueberry compote, turning the juices glossy and spoonable without making it pasty.

Cream cheese: Forms the rich, tangy base of the frosting. Using softened cream cheese prevents lumps from forming when you beat in the butter and powdered sugar.

How to Make It

Prepare the Compote First

Because the homemade blueberry compote needs to go between the cake layers, making it first gives it ample time to cool completely down to room temperature. Cooking the berries down concentrates their natural flavor, and the cornstarch slurry ensures the filling stays put rather than soaking straight into the crumb.

Mixing and Baking the Cake Layers

The key to a tender cake is proper aeration during the creaming stage and gentle mixing afterward. When you alternate adding the dry ingredients and buttermilk, you prevent the gluten in the flour from overworking. Always remember to toss your fresh blueberries in a tiny bit of flour before folding them in; this simple friction keeps them suspended throughout the batter instead of sinking to the pan bottom.

Frosting and Assembly

To keep your layer cake stable and clean-looking, whip your cream cheese and butter until entirely lump-free before incorporating the sugar. When assembling, piping or spreading a ring of frosting around the outer rim of the bottom layer acts as a physical barrier (a 'dam') to hold the compote securely in the middle.

Success Tips

  • Ensure all refrigerated items like eggs, buttermilk, and cream cheese are truly at room temperature before you begin; this prevents the batter from curdling and guarantees a smooth, lump-free frosting.
  • Let the blueberry compote cool completely before assembling the cake. Warm compote will melt the cream cheese frosting and cause your layers to slide apart.
  • Alternate adding your dry ingredients and buttermilk in batches, always starting and ending with the dry ingredients to maintain a stable emulsion.
  • Build a frosting dam around the edge of the bottom cake layer before adding the compote to prevent leaks down the sides of your finished cake.

Storage & Make-Ahead

Fridge: Store the frosted cake covered in the refrigerator for up to 4 days. Bring slices to room temperature for about 15-20 minutes before serving for the best texture.

Freezer: Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 2 months. Thaw completely before filling and frosting.

FAQ

Can I use frozen blueberries for the cake batter?

It is best to stick to fresh blueberries for the cake batter. Frozen berries tend to bleed heavily and carry extra moisture, which can turn the batter purple and alter the cake's texture. However, frozen blueberries work wonderfully in the compote filling!

Why did my cream cheese frosting turn out too runny?

Cream cheese naturally softens significantly when beaten. If your frosting feels too soft or loose, place the bowl in the refrigerator for 15 minutes to firm up, then beat briefly again before spreading.

Do I really need to chill the cake before slicing?

Yes! Chilling the assembled cake for about 30 minutes allows the cream cheese frosting and the cornstarch-thickened compote to firm up, making clean slices much easier to cut.

⏱️
Prep
45 mins
🔥
Cook
35 mins
Total
1 hr 20 mins
🍽️
Servings
12 servings
👩‍🍳
Difficulty
Medium

Blueberry Lemon Cake with Cream Cheese Frosting

Bake a moist blueberry lemon cake featuring a homemade compote filling and rich cream cheese frosting. Follow our step-by-step home baking guide.

📌 Pin

Ingredients

Servings: 12 servings

Want to Save This Recipe?

Enter your email and we'll send the link straight to your inbox — plus new recipes each week.

Thanks! Please check your inbox to confirm.

Instructions

  1. Make Blueberry Compote: In a small saucepan over medium heat, combine 1 ½ cups blueberries, sugar, and lemon juice. Simmer for 5 minutes until the berries burst. Stir in the cornstarch slurry and cook for another 1–2 minutes until thick and glossy. Remove from heat and cool completely.
  2. Preheat oven to 350°F (175°C) and grease two 8-inch round cake pans.
  3. In a medium bowl, whisk flour, baking powder, baking soda, and salt.
  4. In a large bowl, beat butter, sugar, and lemon zest until light and fluffy. Add eggs one at a time, then mix in vanilla.
  5. Alternately add dry ingredients and buttermilk to the butter mixture, starting and ending with dry ingredients.
  6. Toss blueberries with 1 tablespoon flour and gently fold them into the batter.
  1. Divide evenly between prepared pans and bake for 28–32 minutes until a toothpick inserted in the center comes out clean. Cool completely.
  2. Make Cream Cheese Frosting: Beat softened cream cheese and butter together until smooth. Gradually add powdered sugar, vanilla, and heavy cream. Beat on medium-high speed until fluffy and spreadable.
  3. Place the first cake layer on a serving platter. Spread a layer of cream cheese frosting over the top, creating a slight dam around the edge.
  4. Spoon cooled blueberry compote into the center.
  5. Top with the second cake layer. Cover the top and sides of the cake with cream cheese frosting, smoothing it with an offset spatula.
  6. Decorate the top and sides with fresh blueberries and small lemon slices. Chill for 30 minutes before slicing to set the filling!
485 kcal
Calories
6g
Protein
58g
Carbs
26g
Fat

Rate This Recipe

Made this? Let others know how it turned out.

About the Author

harrycruse

Recipe developer and home cook sharing tested, reliable recipes with step-by-step photos. Update this bio under Users > Your Profile.

Leave a Review

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