BAKED AND BUTTERY

Never Miss a Recipe!

Gluten Free Lemon Raspberry Cake

Total Time: 4 hrs 5 mins Difficulty: Intermediate
Gluten Free Lemon Raspberry Cake
pinit

This cake reminds me of a wedding I attended years ago. The bride told me her mom made the best lemon raspberry cupcakes and I remember that I explained I did not like the flavor of lemon, mostly because of the artificial cakes I’ve had in the past. She insisted that I try it at her wedding and that I’ll love it. She was right! I loved the flavor combination so much I began practicing making it at home myself. 

By roasting and thickening the raspberries into a compote, you get a jammy, concentrated berry flavor that pairs beautifully with the tangy lemon pastry cream. The layers come together in a way that feels like a bakery-style cake but is completely gluten-free and approachable at home.

Whether you’re celebrating a birthday, hosting a special gathering, or just want to elevate your weekend baking, this cake is a showstopper. It’s elegant enough for a centerpiece but still cozy, with familiar flavors everyone loves.

This cake is summer in cake-form. Each bite burst flavor but not in an over-whelming way. The softness of the cake with the slight tart lemon and raspberry that both have a hint of sweetness. This one of my favorite flavor combinations and to have it in a cake just brings me so much joy. 

This Gluten-Free Lemon Raspberry Cake is the perfect balance of bright citrus and sweet berries layered into one stunning dessert. Light, fluffy lemon cake layers are paired with a silky lemon pastry cream, tart raspberry compote, and a dreamy whipped cream cheese frosting. Every bite is refreshing yet indulgent.

What’s in This Recipe? 

  • Lemon Zest & Lemon Extract – Brighten the cake layers with fresh citrus flavor that complements both the pastry cream and compote.
  • Cornstarch – Adds lightness to the cake and thickens the pastry cream for that silky custard texture.
  • Raspberry Compote – Reduces fresh raspberries into a tart, jammy filling that contrasts perfectly with the sweet lemon layers.
  • Freeze-Dried Raspberries – Ground into the frosting, they add intense berry flavor and a naturally pink color without artificial dyes.

FAQs

Store covered in the refrigerator for up to 4–5 days. The compote may soften the cake layers slightly, but it will still taste amazing.

Yes! Freeze individual slices tightly wrapped in plastic wrap, then foil. Thaw overnight in the fridge before serving.

This recipe is written for three 8-inch pans. You can also use two 9-inch pans, but bake time may increase slightly.

Absolutely—this batter makes about 24 cupcakes. Bake 18–20 minutes and fill each with pastry cream and compote before frosting.

Yes, a stand mixer or hand mixer is recommended to properly whip the cream cheese and heavy cream together for a fluffy, stable frosting.

Gluten Free Lemon Raspberry Cake

Pin Recipe
1 Add to Favorites
Prep Time 40 mins Cook Time 25 mins Cooling Time 3 hrs Total Time 4 hrs 5 mins Difficulty: Intermediate Calories: 420–450

Ingredients

Gluten Free Lemon Cake

Lemon Pastry Cream

Raspberry Compote

Raspberry Whipped Cream Cheese Frosting

Instructions

  1. Lemon Cake

    1. Preheat the oven to 350°F (175°C) and line three 8-inch round cake pans with parchment paper.
    2. In a large mixing bowl, beat ½ Cup (110g) Unsalted Butter, ⅓ Cup (75g) Vegetable Oil, and 1 ¾ Cups (350g) Granulated Sugar until pale and fluffy, about 2–3 minutes.
    3. Add 4 Large Eggs, Room Temp, one at a time, mixing well after each addition. Beat in 1 Tbsp Vanilla Extract, 1 Tsp Lemon Zest, and 1 Tsp Lemon Extract.
    4. In a medium bowl, whisk together 2 ¼ Cups (300g) Gluten-Free Flour, ¼ Cup (30g) Cornstarch, 2 Tsp Baking Powder, ½ Tsp Baking Soda, and ½ Tsp Kosher Salt.
    5. In a small bowl, stir together 1 Cup (240g) Milk with 1 Tbsp Apple Cider Vinegar, then set aside for 10 minutes to curdle.
    6. Add half of the dry mixture to the butter mixture, mix gently, then stir in the milk mixture. Add the remaining dry mixture and mix just until combined—do not overmix.
    7. Divide the batter evenly among the prepared pans and bake for 22–25 minutes, or until a toothpick inserted in the center comes out clean. Cool completely before filling.
  2. Lemon Pastry Cream

    1. In a medium saucepan, whisk ½ Cup (100g) Granulated Sugar with 2 Tbsp Cornstarch. Add 4 Large Egg Yolk sand whisk until smooth.
    2. Slowly whisk in ¾ Cup (180ml) Whole Milk and ¾ Cup (180ml) Heavy Cream until combined.
    3. Place over medium heat, whisking constantly, until the mixture thickens, about 5–7 minutes.
    4. Remove from heat and stir in the Zest Of 2 Lemons, 2 Tbsp Unsalted Butter, 2 Tbsp Lemon Juice, and 1 Tsp Vanilla Extract.
    5. Strain through a fine mesh sieve for extra smoothness. Cover with plastic wrap pressed against the surface and refrigerate until chilled.
  3. Raspberry Compote

    1. In a saucepan, combine 2 Cups (250g) Raspberries, ¼ Cup (50g) Sugar, 1 Tbsp Lemon Juice, and 1 Tsp of Cornstarch + 1 Tsp of water to make a slurry.
    2. Cook over medium heat for 5–7 minutes until berries break down and mixture thickens.
    3. Mash lightly for texture. Let cool completely before layering.
  4. Raspberry Whipped Cream Cheese Frosting

    1. In a stand mixer, beat 8oz Cream Cheese, Chilled until smooth.
    2. Add 1 Cup (100g) Powdered Sugar and ½ Cup Ground Freeze-Dried Raspberries, mixing until combined and bright pink.
    3. With the mixer on medium speed, slowly stream in 1 ½ Cups (360ml) Heavy Cream and whip until fluffy, about 3–4 minutes. The frosting should be light and spreadable.
  5. Assembly

    1. Place the first cooled cake layer on a serving plate. Spread with a generous layer of Lemon Pastry Cream, then top with a layer of Raspberry Compote. 
    2. Repeat with the second cake layer and more pastry cream and a layer of Raspberry Compote. 
    3. Place the final cake layer on top, then frost the entire cake with Raspberry Whipped Cream Cheese Frosting.
    4. Garnish with fresh raspberries, lemon slices, or edible flowers for a beautiful finish.
  6. Total Time

    Prep Time: 40 minutes

    Cook Time: 25 minutes

    Cool Time: 2–3 hours 

    Total Time: ~3 ½ – 4 hours

    Servings: 12–14 slices

    Estimated Calories Per Serving: 420–450 calories

Note

Keywords: Gluten-Free
Did you make this recipe?

Follow @bakedandbuttery on Instagram for more delicious bakes and inspiration. me on Instagram

Share this recipe with your friends and followers to spread the sweetness!

pinit

Frequently Asked Questions

Expand All:

Can I make the pastry cream ahead of time?

Yes! The lemon pastry cream can be made up to 2 days ahead. Keep it chilled until ready to use.

Do I need to use fresh raspberries for the compote?

Fresh is best, but frozen raspberries work perfectly too—just simmer a few extra minutes to evaporate extra liquid.

Can I make this dairy-free?

Yes. Substitute plant-based butter, milk, and cream. Use a dairy-free cream cheese alternative for the frosting.

What’s the best way to keep the cake moist?

Don’t overbake the layers, and make sure to chill the cake fully after assembly to let the pastry cream and compote soak into the sponge slightly.

Meet Brandy

I’m Brandy, the proud baker behind Baked and Buttery. Baking has always been my passion, and I’ve turned that love into crafting delightful treats that bring happiness to every occasion. From classic favorites to unique creations, each item is made with care, quality ingredients, and a touch of buttery perfection. Whether you're celebrating a special moment or simply treating yourself, I’m here to add a little sweetness to your life one bake at a time!

Leave a Comment

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

Scroll to Top