Amazing Vanilla Custard Cake
Vanilla Custard Cake is a cozy, comforting layer cake that smells like warm vanilla and butter the minute it comes out of the oven. I still remember baking this on a rainy afternoon, the custard bubbling gently on the stove while the kitchen filled with that familiar, homey scent. The soft cake, a smooth vanilla custard center, and pillowy German buttercream make every forkful feel like a small celebration. If you’re building a cake rotation, you might also enjoy my roundup of cake and pie recipes. Let’s bake it together!
Why make this recipe
This Vanilla Custard Cake gives you classic vanilla flavor with a rich, creamy custard middle. The texture is tender and moist from the milk, while the custard adds a silky, custardy layer. It’s straightforward to put together with pantry-friendly ingredients, yet it feels special enough for family gatherings or a Sunday dessert. What sets this recipe apart is the homemade pastry cream folded into a light German-style buttercream — familiar, but elevated.
Ingredient spotlight / baking notes
One key technique that makes this cake shine is cooking the pastry cream (custard) slowly and whisking constantly until thickened. Using medium heat and a steady whisk prevents scrambled eggs and gives you that silk-smooth texture that’s essential for a clean, creamy filling. Once you cool the pastry cream, chilling it briefly helps the buttercream incorporate without becoming runny. If you want more on frostings and fillings, check out this guide to creams, frostings, and sauces that covers buttercream techniques in detail.
What you’ll need
This recipe uses simple pantry staples and a few fresh items. Most of these ingredients are things you probably already have: flour, sugar, butter, eggs, and milk. If you like, measure with a kitchen scale for the most consistent results.
How to make Vanilla Custard Cake
Ingredients
- 2 cups all-purpose flour
- 1 cup granulated sugar
- 1/2 cup unsalted butter, softened
- 1 cup milk
- 3 large eggs
- 2 teaspoons vanilla extract
- 2 teaspoons baking powder
- Pinch of salt
For the custard filling:
- 2 cups milk
- 1/2 cup granulated sugar
- 4 large egg yolks
- 1/4 cup cornstarch
- 1 teaspoon vanilla extract
For the German buttercream:
- 1 cup unsalted butter, softened
- 1 cup powdered sugar
- 1/2 cup homemade pastry cream
Directions
- Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
- In a large bowl, cream together the butter and sugar until light and fluffy.
- Add the eggs, one at a time, mixing well after each addition.
- Stir in the vanilla extract.
- In another bowl, whisk together the flour, baking powder, and salt.
- Gradually add the dry ingredients to the butter mixture, alternating with milk. Mix until just combined.
- Pour the batter evenly into the prepared pans.
- Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
- Cool the cakes in the pans for 10 minutes, then transfer to a wire rack to cool completely.
- For the custard filling, in a saucepan, heat milk until it’s steaming. Whisk together sugar, egg yolks, and cornstarch in a bowl. Gradually add hot milk to the mixture while whisking.
- Return the mixture to the stovetop and cook on medium heat until thickened. Stir in vanilla.
- For the buttercream, beat softened butter until creamy. Gradually add powdered sugar and combine until fluffy.
- Mix in the cooled pastry cream to achieve a light and fluffy consistency.
- Once the cakes are cooled, layer one cake, spreading custard filling on top, and place the second layer on top.
- Frost the top and sides of the cake with the German buttercream.
- Serve and enjoy your Vanilla Custard Cake!
Pro Tip
Make the pastry cream first and cool it completely (press plastic wrap directly on the surface to prevent a skin) — that helps it blend smoothly into the buttercream.
Common mistakes to avoid
- Overmixing the cake batter: that can lead to a tough crumb instead of a tender cake.
- Cooking the custard too quickly: high heat or slow stirring can scramble the yolks.
- Using cold ingredients: room-temperature butter and eggs whip more easily and give better rise.
- Rushing the buttercream step: adding warm pastry cream will make the frosting loose — cool it first.
Tips to make Vanilla Custard Cake
- Don’t overmix the batter; stop when ingredients are just combined.
- Use room temperature eggs and butter for better emulsion and texture.
- Weigh your flour or spoon-and-level to avoid a dense cake.
- Chill the pastry cream if it seems soft before folding into buttercream.
Variation (if any)
- Flavor variations: fold a teaspoon of lemon zest into the custard for brightness, or add a tablespoon of espresso to the buttercream for a subtle coffee twist.
- Gluten-free option: substitute a 1:1 gluten-free flour blend and check for doneness; texture may be slightly different.
- Dairy-free option: use plant-based butter and a non-dairy milk (like oat milk) for both cake and custard; use a thickener like tapioca starch for the custard.
- Ingredient swaps: swap half the all-purpose flour for cake flour for a softer crumb, or use superfine sugar for a finer texture.
How to serve Vanilla Custard Cake
This cake is lovely slightly chilled or at room temperature. Serve with a cup of hot coffee for a cozy morning treat, or bring it to a family gathering for a comforting centerpiece dessert. In warmer months, a few fresh berries on top brighten the plate; in the fall, a dusting of cinnamon or nutmeg makes it extra snug.
How to store Vanilla Custard Cake
- Room temperature: If your buttercream and custard are stable, keep the covered cake at room temperature for up to one day.
- Fridge: Store in an airtight cake keeper for up to 4 days; bring to room temp before serving for the best flavor and texture.
- Freezer: Freeze individual slices wrapped tightly for up to 2 months; thaw in the fridge overnight.
- Reheating tips: If chilled, let slices sit at room temperature for 30–60 minutes before serving so the custard and buttercream soften.
Make-ahead option
You can make the pastry cream up to 2 days ahead and keep it chilled (with plastic wrap on the surface). The cake layers can be baked and wrapped tightly, then frozen for a week — thaw in the fridge overnight and assemble the day you plan to serve.
Reader love
Everyone who tries it says it’s a keeper! The custard center always surprises people in the best way.
FAQs
Q: Can I make this cake with cake flour instead of all-purpose flour?
A: Yes. Swap cake flour for all-purpose to get a softer, more tender crumb. If you don’t have cake flour, you can make a substitute by measuring out one cup of all-purpose flour, removing two tablespoons, and adding two tablespoons of cornstarch. Be gentle when mixing to avoid developing gluten.
Q: How do I fix a lumpy custard?
A: If your custard is lumpy, strain it through a fine-mesh sieve while it’s still warm to remove any bits of cooked egg. A quick whisk with an immersion blender can also smooth things out, then cool it with plastic wrap on the surface to prevent a skin from forming.
Q: My buttercream is too thin after adding pastry cream — what now?
A: Chill the mixture for 15–30 minutes, then re-whip; the butter will firm up and allow the frosting to thicken. If it’s still loose, add a little more powdered sugar, 1–2 tablespoons at a time, until you reach the desired consistency.
Q: Can I use store-bought pastry cream?
A: Yes, a good-quality store-bought pastry cream will work in a pinch. Make sure it’s fully cooled and thick before folding it into the buttercream so the frosting doesn’t become runny.
Nutrition Facts (per serving)
| Calories | Protein | Carbs | Fat | Fiber | Sodium |
|—:|—:|—:|—:|—:|—:|
| 480 kcal | 6 g | 60 g | 22 g | 1 g | 220 mg |
"Nutrition information is provided as a general estimate. The values may vary based on the exact ingredients, brands, and measurements you use in your own kitchen. Cooking methods, optional add-ins, and portion sizes can also change the final numbers. For the most accurate results, consider using your own nutrition calculator with the specific products you have on hand."
Final Thoughts
This Vanilla Custard Cake is a loving, old-fashioned dessert that’s simple enough for a weeknight and lovely enough for a special occasion. It’s one of those recipes that brings people to the table — warm, homey, and reliably delicious. Happy baking, and don’t forget to share a slice.

Vanilla Custard Cake
Ingredients
Method
- Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
- In a large bowl, cream together the butter and sugar until light and fluffy.
- Add the eggs, one at a time, mixing well after each addition.
- Stir in the vanilla extract.
- In another bowl, whisk together the flour, baking powder, and salt.
- Gradually add the dry ingredients to the butter mixture, alternating with milk. Mix until just combined.
- Pour the batter evenly into the prepared pans.
- Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
- Cool the cakes in the pans for 10 minutes, then transfer to a wire rack to cool completely.
- In a saucepan, heat milk until it’s steaming.
- Whisk together sugar, egg yolks, and cornstarch in a bowl.
- Gradually add hot milk to the mixture while whisking.
- Return the mixture to the stovetop and cook on medium heat until thickened. Stir in vanilla.
- Beat softened butter until creamy.
- Gradually add powdered sugar and combine until fluffy.
- Mix in the cooled pastry cream to achieve a light and fluffy consistency.
- Once the cakes are cooled, layer one cake, spreading custard filling on top, and place the second layer on top.
- Frost the top and sides of the cake with the German buttercream.
- Serve and enjoy your Vanilla Custard Cake!