If you have a sweet tooth and love a dessert that feels like a warm hug, you are going to adore this Berry Compote Vanilla Cake Recipe. It’s not just any cake — it’s a perfectly moist, delicately flavored vanilla cake layered with luscious whipped cream cheese frosting and topped with a vibrant, tangy berry compote that bursts with fresh blackberry and raspberry goodness. This cake is an absolute showstopper for casual afternoons, special celebrations, or anytime you want to treat yourself to something extraordinary but approachable. Trust me, once you try this Berry Compote Vanilla Cake Recipe, it will become your new favorite go-to dessert!

Ingredients You’ll Need
This recipe uses simple, everyday ingredients that each bring their magic to the cake’s incredible flavor, texture, and eye-catching look. From creamy dairy or dairy-free options to fresh berries, the combination is both classic and refreshing.
- 120g (1/2 cup) Greek-style yogurt or dairy-free Greek-style yogurt: Adds moisture and a subtle tang for richness.
- 60g (1/4 cup) milk or non-dairy milk: Keeps the batter tender and smooth; feel free to use your favorite blend.
- 2 large eggs (~108g): Bind everything together and provide structure.
- 38g (3 1/2 tbsp) avocado oil: A neutral oil for moistness without overpowering flavor.
- 1 tbsp vanilla paste or ground vanilla: Infuses the cake with warm vanilla notes.
- 1/2 tsp white distilled vinegar: Reacts with baking soda for a light crumb.
- 168g (1 1/2 cups) all-purpose flour: The backbone of the cake’s structure.
- 195g (1 cup) cane sugar or coconut sugar: Sweetens the batter naturally and helps create a golden crust.
- 1 tsp baking powder: Ensures the cake rises perfectly.
- 1/2 tsp baking soda: Works with vinegar to give a tender crumb.
- 1/4 tsp kosher salt: Balances sweetness and enhances flavor.
- 85g (1/2 cup + 2 tbsp) salted butter or vegan salted butter, room temp and sliced: Adds richness and softness to the cake’s crumb.
- 130g (1 cup) blackberries: Fresh, juicy bursts of flavor in the compote.
- 120g (1 cup) raspberries: Bright and tart, perfectly complementing the blackberries.
- 2 tbsp cane sugar or coconut sugar: Sweetens the berry compote naturally.
- 1/4 tsp vanilla paste or ground vanilla: A touch of warmth in the compote.
- 1/8 tsp or pinch of kosher salt: Enhances the compote’s fruitiness.
- 4 oz or 115g salted butter or vegan salted butter, softened: For the whipped frosting’s creamy base.
- 8 oz or 227g cream cheese or vegan cream cheese: Creates a velvety, tangy frosting.
- 125g (1 cup) sifted powdered sugar: Sweetens and smooths the frosting.
- 3-4 tbsp heavy cream or non-dairy milk: Thins the frosting for spreadability and fluffiness.
- 1 tsp vanilla paste or ground vanilla: Infuses frosting with aromatic sweetness.
- 4 oz or 115g salted butter or vegan butter, softened: Added for an ultra-rich and silky whipped buttercream.
- 8 oz or 227g cream cheese or vegan cream cheese: Boosts the luscious texture of the frosting.
- 68g (3 tbsp) honey: Natural sweetness with a lovely floral note in the frosting.
- 1 tsp vanilla paste or ground vanilla: Final flavor lift for the frosting.
How to Make Berry Compote Vanilla Cake Recipe
Step 1: Get Ready
Before diving in, make sure you have your metric measures at the ready — accuracy matters for the fluffiest results. Preheat your oven to 350°F and prepare an 8-inch cake pan by greasing it thoroughly, optionally lining the bottom with parchment paper to prevent sticking.
Step 2: Whisk the Wet Ingredients
In a bowl or large measuring glass with a spout, whisk together the eggs, Greek yogurt, milk, avocado oil, vanilla paste, and vinegar. This mixture will bring moisture and flavor depth to your cake.
Step 3: Cream the Butter into Dry Ingredients
Using a stand mixer, combine the flour, sugar, vanilla, baking powder, baking soda, and salt. Add the sliced butter, then mix on a slow stir setting until the mixture resembles wet sand — this precision creates the perfect crumb texture.
Step 4: Combine Wet and Dry
Pour the wet mixture into the stand mixer bowl with the dry ingredients. Gradually increase the speed to medium-high (speed 4) and mix until the batter lightens in color and texture, signaling a perfect blend.
Step 5: Bake the Cake
Transfer the batter (approximately 758g) to your prepared pan and bake for 35–40 minutes. Start checking at 25 minutes if your oven tends to run hot. The cake is ready when it’s golden on top and a toothpick inserted comes out with just a few moist crumbs.
Step 6: Cool and Chill Overnight
Let the cake cool at room temperature, then gently remove it from the pan onto a plate. Once completely cooled, wrap the cake tightly in plastic wrap and chill it in the fridge overnight. This resting time allows the crumb to become tighter and springier — a secret step that elevates the cake tremendously.
Step 7: Make the Berry Compote
Place blackberries, raspberries, sugar, vanilla, and a pinch of salt into a large pan over medium heat. Cook for about 10 minutes, stirring gently. The compote should thicken into a syrup without smashing the berries; to avoid breaking the fruit, jiggle the pan occasionally instead of stirring vigorously. Once thickened, cool completely and refrigerate until needed.
Step 8: Prepare the Whipped Cream Cheese Frosting
In your mixer bowl, whip the cream cheese and softened butter with the paddle attachment for 4–5 minutes to aerate the mix. Switch to a whisk attachment, add honey, powdered sugar, cream (or non-dairy milk), and vanilla, then whip for another 3–4 minutes until fluffy and light. Taste and adjust sweetness if desired. If the frosting feels too soft, chill it for 20–30 minutes to firm up before frosting.
Step 9: Frost and Assemble
Remove the cake from the fridge about 2 hours before serving to let it come slightly closer to room temperature. Spread the frosting evenly over the cake using an offset spatula, leaving about a 1-inch border around the edges. Then spoon the thick berry compote into the center, spreading it out gently but keeping the border clear.
Step 10: Chill Before Serving
Pop the finished cake back into the fridge until you’re ready to serve, allowing the flavors to meld beautifully and the texture to set up perfectly.
How to Serve Berry Compote Vanilla Cake Recipe
Garnishes
Fresh berries like raspberries and blackberries scattered across the top instantly elevate the presentation and add bright pops of color and texture. A sprinkle of powdered sugar or a few mint leaves can offer a fresh look and a hint of herbal aroma.
Side Dishes
This vanilla cake with berry compote pairs beautifully with a scoop of vanilla bean ice cream, a dollop of freshly whipped cream, or even a cup of aromatic tea or coffee. The slight tang and sweetness complement each other perfectly.
Creative Ways to Present
For an elegant twist, serve individual slices with a drizzle of warm berry compote on the side, or layer smaller versions in glass parfait cups with frosting and compote for a pretty, individual serving. You can also use edible flowers on top for special occasions to make it feel extra festive.
Make Ahead and Storage
Storing Leftovers
Keep any leftover cake tightly wrapped or in an airtight container in the refrigerator. It will stay fresh and delicious for 3-4 days, maintaining its moistness and compote flavor perfectly.
Freezing
You can freeze the cake either frosted or unfrosted. Wrap it tightly in plastic wrap and then in foil or a freezer-safe container to prevent freezer burn. For best results, consume within 1-2 months. Thaw in the refrigerator overnight before serving.
Reheating
This cake is best enjoyed chilled or at room temperature, so reheating is generally not recommended. If you prefer a warmer slice, let it sit at room temperature for 30 minutes to soften the frosting and bring out the flavors without drying the cake.
FAQs
Can I use frozen berries for the compote?
Yes, frozen berries work well for the compote. Just thaw them beforehand and drain any excess liquid to avoid making the compote too watery. The cooking time may be slightly longer to reduce the juices.
Is it possible to make this cake dairy-free?
Absolutely! Use dairy-free Greek-style yogurt, vegan butter, and non-dairy milk alternatives. Make sure your cream cheese is also a vegan variety, and the cake and frosting will turn out just as delicious.
Why is the cake chilled overnight before frosting?
Chilling overnight lets the crumb fully set and become bouncier while enhancing the flavor. It also makes frosting easier as the cake firms up and is less likely to crumble.
Can I substitute avocado oil with another oil?
Yes, a neutral oil like vegetable oil or light olive oil works fine. Avocado oil is just great because of its mild flavor and healthy fats, but feel free to use what you have.
How do I prevent the berries in the compote from smashing?
Instead of stirring vigorously, jiggle the pan gently while cooking. This technique allows the berries to soften and release juices naturally without breaking apart too much, keeping a lovely texture.
Final Thoughts
This Berry Compote Vanilla Cake Recipe is a true delight that combines classic vanilla cake with the vibrant freshness of berries in a way that feels both indulgent and comforting. Every step, from baking to frosting and topping with the jammy compote, is designed to wow your taste buds and your guests. I can’t recommend it enough — give it a try and watch it become a cherished favorite in your kitchen!
Print
Berry Compote Vanilla Cake Recipe
- Prep Time: 15 minutes
- Cook Time: 40 minutes
- Total Time: 55 minutes plus chilling time overnight
- Yield: 1 8-inch cake, serves approximately 8 slices
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Description
This Berry Compote Vanilla Cake is a luscious, moist vanilla cake layered with a freshly cooked mixed berry compote and whipped cream cheese buttercream frosting. The cake is made with a combination of yogurt, avocado oil, and classic baking ingredients, providing a tender crumb that tastes better after chilling overnight. The vibrant berry compote with blackberries and raspberries adds a sweet-tart contrast, making this cake perfect for special occasions or an elevated everyday dessert.
Ingredients
Cake
- 120g (1/2 cup) Greek-style yogurt or dairy-free Greek-style yogurt
- 60g (1/4 cup) milk or non-dairy milk
- 2 large eggs (~108g)
- 38g (3 1/2 tbsp) avocado oil
- 1 tbsp vanilla paste or ground vanilla
- 1/2 tsp white distilled vinegar
- 168g (1 1/2 cups) all-purpose flour
- 195g (1 cup) cane sugar or coconut sugar
- 1 tsp baking powder
- 1/2 tsp baking soda
- 1/4 tsp kosher salt
- 85g (1/2 cup + 2 tbsp) salted butter or vegan salted butter, room temperature and sliced
Berry Compote
- 130g (1 cup) blackberries
- 120g (1 cup) raspberries
- 2 tbsp cane sugar or coconut sugar
- 1/4 tsp vanilla paste or ground vanilla
- 1/8 tsp kosher salt (or a pinch)
Buttercream Frosting
- 4 oz (115g) salted butter or vegan salted butter, softened
- 8 oz (227g) cream cheese or vegan cream cheese
- 125g (1 cup) sifted powdered sugar
- 3–4 tbsp heavy cream or non-dairy milk
- 1 tsp vanilla paste or ground vanilla
Honey Buttercream Variation
- 4 oz (115g) salted butter or vegan butter, softened
- 8 oz (227g) cream cheese or vegan cream cheese
- 68g (3 tbsp) honey
- 1 tsp vanilla paste or ground vanilla
Instructions
- Read Instructions: Carefully read through the full recipe to familiarize yourself with each step. Using metric measurements is recommended for accuracy.
- Preheat Oven and Prepare Pan: Preheat your oven to 350°F (175°C). Grease an 8-inch cake pan with butter and optionally line the bottom with parchment paper for easier removal.
- Mix Wet Ingredients: In a bowl or large measuring glass, whisk together eggs, Greek yogurt, milk, avocado oil, vanilla paste, and white distilled vinegar. Set aside.
- Cream Butter into Dry Ingredients: In the bowl of a stand mixer, combine the flour, cane sugar, vanilla, baking powder, baking soda, and salt. Add the sliced butter and use the mixer on the stir setting to cream the butter into the flour mixture until it resembles wet sand in texture.
- Add Wet Ingredients to Batter: Pour the wet mixture into the stand mixer bowl gradually as it runs, starting at low speed then increasing to speed 4. Mix until the batter lightens in color and is well combined.
- Bake the Cake: Pour the batter (about 758g) into the prepared cake pan. Bake for 35-40 minutes, checking for doneness by inserting a toothpick near the 25-minute mark if your oven runs hot. The cake is done when the top is golden brown and the toothpick comes out with a few moist crumbs.
- Cool and Chill Cake: Let the cake cool at room temperature, then invert onto a plate and cool completely. Wrap in plastic wrap and refrigerate overnight to allow the crumb to develop and set.
- Prepare Berry Compote: In a large pan or pot, combine blackberries, raspberries, sugar, vanilla paste, and salt. Cook over medium heat for about 10 minutes, gently jiggling the pan occasionally instead of stirring harshly, to break down the berries and reduce the liquid until it thickens into a syrupy compote. Cool and refrigerate.
- Make Buttercream Frosting: In the stand mixer bowl, beat softened butter and cream cheese together with the paddle attachment for 4-5 minutes until fully combined and fluffy. Switch to the whisk attachment, add powdered sugar (or honey for variation), vanilla, and cream or milk. Whisk 3-4 more minutes until light and fluffy. Chill if the frosting is too loose before frosting the cake.
- Bring Cake to Room Temperature: About 2 hours before serving, remove the chilled cake from the fridge to warm slightly for easier frosting.
- Frost and Assemble: Place a good amount of frosting on the center of the cake. Using an offset spatula, smooth the frosting evenly over the cake surface, leaving a 1-inch border around the edges flat and even. Spoon the berry compote into the center section of the frosting and spread to the border.
- Chill Before Serving: Refrigerate the assembled cake until ready to serve to set the frosting and compote layers.
Notes
- Use metric measurements for accuracy and best results.
- Chilling the cake overnight improves texture by tightening and making the crumb bouncier.
- When cooking the berry compote, avoid stirring vigorously to prevent crushing the berries; instead, jiggle the pan to encourage gentle breakdown.
- If frosting is too loose, refrigerate it for 20-30 minutes before using to help it firm up.
- Starting to check the cake from 25 minutes is suggested if your oven tends to run hot to avoid overbaking.

