This White Chocolate Raspberry Cake is love at first bite — a tender, dreamy dessert with a ribbon of homemade raspberry puree and a fluffy white chocolate buttercream that tastes like your favorite bakery slice.


White Chocolate and Raspberry Cake (Easy Recipe with Box Mix Hack!)
I developed this recipe while testing an elegant tiered cake for my niece’s wedding. She wanted something refined yet cozy — a soft white cake, bright raspberry puree, and rich white chocolate buttercream. After the wedding I adapted the recipe into an easier 9×13 version so you can enjoy the same flavors without the fuss. Below you’ll find ingredient notes, step-by-step instructions, tips, and storage guidance to make a show-stopping dessert.
Ingredients & Substitutions
Everything you need to make this White Chocolate Raspberry Cake, plus simple swaps.
White Cake
- 14.25 oz white cake mix — A handy shortcut for a soft, moist base; any brand works.
- ⅔ cup sour cream — Adds richness and keeps the cake tender; Greek yogurt is an acceptable substitute.
- ¾ cup buttermilk — Gives a slight tang and tender crumb. No buttermilk? Stir 2 teaspoons lemon juice or vinegar into regular milk and let sit 5 minutes.
- 4 large egg whites — Keeps the cake light in color and texture.
- ⅓ cup coconut oil, melted — Keeps the crumb moist; can substitute canola or vegetable oil.
- 1 tablespoon vanilla extract — Enhances the cake and complements the white chocolate buttercream.
Raspberry Puree
- 6 oz raspberries — Fresh or frozen (thaw first) provide bright tartness.
- ¼ cup water — Helps blend the berries smoothly.
- 2 tablespoons sugar — Balances the tartness.
- 1 teaspoon lemon juice — Brightens the raspberry flavor.
- ⅛ teaspoon salt — Enhances and balances flavor.
White Chocolate Vanilla Buttercream
- 4 oz white chocolate bark, chopped — Melts into the butter for a silky, sweet frosting.
- 1 cup salted butter, softened — Salted butter balances the sweetness; use unsalted and add ¼ teaspoon salt if preferred.
- 5 cups powdered sugar — Provides structure and the classic buttercream texture.
- 2 tablespoons vanilla extract — Deepens flavor.
- ¼ cup heavy whipping cream — Helps whip the frosting to a light, spreadable consistency.
Garnishes (optional)
- Fresh raspberries and white chocolate shavings for a pretty finish.

How To Make White Chocolate Raspberry Cake
Follow these steps to make the raspberry swirl cake and the white chocolate buttercream.
- Make the raspberry puree: Blend raspberries with water until smooth. Strain through a fine-mesh strainer to remove seeds. In a small saucepan, combine the strained puree, sugar, lemon juice, and salt. Simmer briefly until the sugar dissolves and the mixture thickens slightly. Cool completely and set aside.

- Prepare the cake batter: In a large bowl, mix together the white cake mix, sour cream, buttermilk, egg whites, melted coconut oil, and vanilla until smooth.
- Assemble: Pour the batter into a greased 9×13-inch pan. Spoon the cooled raspberry puree over the batter in lines or dollops, then swirl gently with a toothpick for a marbled effect.
- Bake: Preheat the oven to 325°F and bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan before frosting.

- Make the white chocolate buttercream: Melt the chopped white chocolate and let it cool to room temperature. Cream the softened butter until smooth, then add the cooled white chocolate and mix until combined. Add 3 cups of powdered sugar, then the vanilla and heavy cream. Add the remaining powdered sugar and beat on medium-high for about 5 minutes until light and fluffy. Adjust consistency with extra cream or powdered sugar as needed.

- Frost and finish: Spread the buttercream evenly over the cooled cake. Pipe decorative swirls if desired and garnish with fresh raspberries and white chocolate curls. Slice and serve.

White Chocolate and Raspberry Cake Recipe Tips
- Don’t over-swirl. A few gentle figure-eights with a toothpick create a pretty marble without blending away the puree.
- Use room-temperature ingredients. This helps create a smoother batter and fluffier frosting.
- Make extra raspberry puree. A double batch is great to serve alongside each slice for extra fruity brightness.
Make It A Meal
Pair the cake with a fun beverage or coffee for a delightful dessert course.

Equipment
- Blender
- Fine-mesh strainer
- Small saucepan
- Measuring cups and spoons
- Large mixing bowl
- Hand or stand mixer
- Rubber spatula
- 9×13-inch baking dish
- Microwave-safe bowl
- Offset spatula or butter knife
Ingredients
WHITE CAKE
- 14.25 oz white cake mix
- ⅔ cup sour cream
- ¾ cup buttermilk
- 4 large egg whites
- ⅓ cup coconut oil, melted
- 1 Tablespoon vanilla extract
RASPBERRY PUREE
- 6 oz raspberries
- ¼ cup water
- 2 Tablespoons sugar
- 1 teaspoon lemon juice
- ⅛ teaspoon salt
WHITE CHOCOLATE VANILLA BUTTERCREAM
- 4 oz white chocolate bark, chopped
- 1 cup salted butter, softened
- 5 cups powdered sugar
- 2 Tablespoons vanilla extract
- ¼ cup heavy whipping cream
GARNISHES (optional)
- White chocolate shavings
- Fresh raspberries
- Extra raspberry puree
Instructions
RASPBERRY PUREE
- Blend raspberries and water until saucy. Strain to remove seeds.
- Simmer the strained puree with sugar, lemon juice, and salt until the sugar dissolves and the mixture thickens slightly. Cool completely.
- Preheat oven to 325°F and spray a 9×13-inch pan with nonstick spray.
WHITE CAKE
- Whisk together the cake mix, sour cream, buttermilk, egg whites, coconut oil, and vanilla until combined.
- Pour batter into the prepared baking dish. Drizzle the raspberry puree over the top and gently swirl with a toothpick.
- Bake 25–30 minutes or until a toothpick comes out clean. Cool completely.
WHITE CHOCOLATE BUTTERCREAM
- Microwave the white chocolate in short bursts, stirring until fully melted. Cool to room temperature.
- Cream the butter 1–2 minutes, then add the cooled white chocolate and mix until smooth.
- Add powdered sugar 1 cup at a time until you’ve added 3 cups. Add vanilla and heavy cream, then the remaining sugar one cup at a time.
- Whip on medium-high for 5 minutes. Adjust texture with 1 tablespoon increments of cream or powdered sugar as needed.
FROST THE CAKE
- Spread the frosting evenly over the cooled cake or pipe decorative swirls.
- Garnish with fresh raspberries and white chocolate shavings. Serve and enjoy.
Notes
To store: Cover and refrigerate for up to 5 days. For best texture, bring slices to room temperature before serving.
To freeze: Frosted or unfrosted, wrap tightly and freeze in a freezer-safe container for up to 3 months. Thaw in the fridge overnight.
Make ahead: Raspberry puree and buttercream can be made a day ahead and refrigerated. Bring the frosting to room temperature and re-whip before using.
Nutrition
Nutrition information is an approximation.
Additional Info
White Chocolate Raspberry Cake Recipe FAQs
Yes. Thaw frozen raspberries first and drain any excess liquid before making the puree for best results.
Straining removes seeds and yields a smoother puree, which I recommend for the best texture.
A white cake mix lets the raspberry and white chocolate flavors shine. Vanilla or lemon mixes should also work well if you prefer a variation.
More Desserts
- Creamy & Cozy Instant Pot Rice Pudding
- Raspberry Oat Bars
- Brioche Cinnamon Rolls




