This Raspberry & White Chocolate Traybake Cake is a delicious moist sheet cake packed with fresh raspberries and white chocolate chips. It's decorated with a silky white chocolate buttercream, more fresh raspberries and white chocolate chips, and optionally, some freeze dried raspberries. It is such a yummy bake for any occasion, traybake cakes are great for parties, bake sales and especially feeding a crowd as they're so easy to portion up and serve.
This post may contain affiliate links. I earn from qualifying purchases.

Ingredient Tips & Equipment Information
- Make sure all your ingredients (particularly the butter and eggs) are at room temperature before you start baking.
- I used a baking spread for the cake and unsalted butter for the buttercream.
- It is best to use fresh raspberries for this cake, frozen ones can release too much moisture and make the cake soggy.
- You will need a 12" x 9" traybake tin for this recipe. However, if you want to make it in a 9" square tin, check the recipe notes for the measurement details.
- Although I provide cup measurements, I highly recommend weighing your ingredients out using digital kitchen scales. It is the most accurate way to measure ingredients and will ensure the best results. Digital scales are very low cost and can be purchased for around £12 ($16.50) .
- For teaspoon (tsp) and tablespoon (tbsp) measurements, please use measuring spoons and not the type of spoons you eat with. Again this will ensure accuracy and provide the best results.
For the full recipe with measurements, head to the recipe card at the end of this post.
How to make Raspberry & White Chocolate Traybake Cake
To make the cake, mix together the baking spread (or butter if you prefer) and caster sugar, for 2-3 minutes until fluffy. Then mix in eggs and milk.
Add the self raising flour, and gently whisk or fold in. Then add the raspberries and white chocolate chips and gently mix them in. Spread the mixture out into the tin.
Bake the cake for 25-30 minutes or until a thin skewer inserted in the centre comes out clean. Leave to cool fully. For the buttercream, mix softened butter, icing sugar, melted white chocolate and milk together. Spread or pipe it onto the cake and decorate with fresh raspberries, white chocolate chips and, optionally, freeze dried raspberries.
For the full recipe with measurements, head to the recipe card at the end of this post.
How long does the cake last for and can you freeze it?
The cake will last for 3-4 days in an airtight container in a cool place. You can freeze both the cake and the buttercream. To freeze them separately, wrap the cake well in cling film or put it in an airtight container. The buttercream can be frozen in a sealed tub. To freeze the cake decorated, freeze on a plate until frozen solid, then carefully wrap in cling film. Remove the clingfilm when you take the cake out of the freezer to defrost, as if it defrosts with it still on it could damage the appearance of the buttercream. You can also freeze it in slices.
Can you make this cake with plain/all purpose flour?
Self raising flour, which is very commonly used in the UK where I am based, already contains a raising agent and a little salt too. Therefore if you want to swap it for plain or all purpose flour, you will need to add some additional baking powder and also a little salt if you like. Some people like to add salt to cake recipes and some don't, so I'll leave that up to you as it won't affect the bake. The general advice is to add 2 teaspoons baking powder (a measuring teaspoon, not the kind you stir your coffee with) per every 200g plain or all purpose flour. So for this recipe you'd need to add 2 teaspoons baking powder. Please note, I have not tested this recipe using plain or all purpose flour.
What size tin do you need for this cake?
This recipe is best made in a 12" x 9" (36.5cm x 26cm) traybake tin with deep sides (4cm or 1.5"). However, if you'd prefer to make it in a smaller 9" square tin, check the recipe card notes section for details on how to change the measurements.
Do you need an electric mixer to make this recipe?
While you can absolutely make this recipe with a wooden spoon and some elbow grease, I do recommend using an electric mixer for the best results. The cake will be lighter and fluffier when made with an electric mixer. The buttercream will also be smoother. You don't have to use an expensive stand mixer either, you can get electric hand whisks for as little as £10!
How many people does this cake serve?
It completely depends how you slice it up, which is great because it makes this such a versatile cake for parties and gatherings. I love a big chunk of cake so I cut it into 12 slices, but for a party you may prefer to cut it into smaller slices so it feeds more people. You can cut into 16 slices, or even 24 slices.
Can this cake be made gluten free?
Yes! For gluten free you can replace the self raising flour with a gluten free self raising flour blend. If you only have a gluten free plain flour blend, you will need to add additional baking powder. The general advice is to add 2 tsp baking powder per 200g flour, so for this recipe you'd need to add 2 teaspoons baking powder. You may also like to add ½ tsp xanthan gum for better texture. Please do check the labels for everything you use to make the cake if you are serving it to someone with an allergy or intolerance.
Can this cake be made dairy free?
For a dairy free version, use a dairy free baking spread and dairy free milk for the cake. For the buttercream you will need a dairy free butter alternative. I recommend Flora Plant or the Stork Baking Block for the buttercream, as they give the best texture. You will also need to use dairy free white chocolate. Please do check the labels for everything you use to make the cake if you are serving it to someone with an allergy or intolerance.
Can this recipe be made into a larger cake or cupcakes?
Yes - check out my Raspberry & White Chocolate Cake and Raspberry & White Chocolate Cupcakes recipes for details.
More tips for making the Raspberry & White Chocolate Traybake Cake:
- I spread the buttercream onto the cake, but you could pipe it on if you prefer.
- The freeze dried raspberries are an optional decoration, don't worry if you can't get hold of them. I get mine off Amazon, where I buy them in bulk as I use them a lot. You can get them in smaller quantities from Sainsburys and Waitrose - check the baking aisle.
Troubleshooting
My number one tip for getting the best results is to read through this whole page of tips and recommendations before starting, and follow the recipe exactly. If you have any questions about this recipe, or if something went wrong and you need help, please use the comment form below and I will get back to you. You can also get in touch with me on my Twitter, Instagram or Facebook. I'd love to hear from you!
Recommended equipment & ingredients
- Mixing bowls
- Measuring spoons
- Traybake tin
- Cooling rack
- Kitchen scales
- Electric hand mixer
- Piping bags
- Stand mixer
- Cake tester
- Piping bags
- Angled palette knife
- Freeze dried raspberries
I earn a small amount of money if you buy the products after clicking on the links. You will not be charged anything extra for this. Thank you for supporting The Baking Explorer!
More raspberry & white chocolate recipes...
Raspberry & White Chocolate Traybake Cake
Ingredients
For the cake
- 225 g Butter or baking spread unsalted, softened
- 225 g Caster sugar
- 4 Eggs large
- 2 tsp Vanilla extract
- 2 tbsp Milk
- 225 g Self raising flour
- 200 g Fresh raspberries
- 150 g White chocolate chips
For the buttercream
- 200 g Butter unsalted, softened
- 400 g Icing sugar
- 100 g White chocolate melted
- 2 tbsp Milk
For decoration
- 100 g Fresh raspberries
- 50 g White chocolate chips
- 1-2 tbsp Freeze dried raspberries
Instructions
- Pre-heat your oven to 160C Fan/350F/Gas Mark 4, and grease and line a 12" x 9" traybake tin
- Make the cake by mixing the baking spread (or butter) and caster sugar in a large mixing bowl until fluffy, about 2-3 minutes, ideally using an electric mixer
- Add the eggs, vanilla extract and milk, and mix until fully incorporated
- Use a spoonful of the self raising flour to coat the raspberries lightly. Then gently whisk or fold into the batter the remaining self raising flour. Add the raspberry and flour mix, and the white chocolate chips, and fold them in gently with a silicone spatula or wooden spoon
- Pour the mixture into the tin, spread it out into an even layer
- Bake for 25-30 minutes or until a skewer inserted in the centre comes out clean. Leave to cool fully either in the tin or on a cooling rack
- Make the buttercream by mixing the butter in an electric mixer with the paddle attachment for a few minutes. Add the icing sugar and milk and mix to combine, then add the melted white chocolate and mix until smooth. You can add more milk if the buttercream is too stiff
- Spread or pipe the buttercream all over the cake, and decorate with the fresh raspberries, white chocolate chips and freeze dried raspberries
- To serve, slice into squares. Store any leftovers in an airtight container in a cool place and eat within 3 days
Notes
- Make sure all your ingredients (particularly the butter and eggs) are at room temperature before you start baking.
- I used a baking spread for the cake and unsalted butter for the buttercream.
- It is best to use fresh raspberries for this cake, frozen ones can release too much moisture and make the cake soggy.
- You will need a 12" x 9" traybake tin for this recipe. However, if you want to make it in a 9" square tin, check the recipe notes for the measurement details.
- Although I provide cup measurements, I highly recommend weighing your ingredients out using digital kitchen scales. It is the most accurate way to measure ingredients and will ensure the best results. Digital scales are very low cost and can be purchased for around £12 ($16.50) .
- For teaspoon (tsp) and tablespoon (tbsp) measurements, please use measuring spoons and not the type of spoons you eat with. Again this will ensure accuracy and provide the best results.
- 170g Butter or baking spread
- 170g Caster sugar
- 3 Large eggs
- 1 tsp Vanilla extract
- 1 ½ tbsp Milk
- 170g Self raising flour
- 150g Fresh raspberries
- 115g White chocolate chips
Leave a review & recipe rating