This Boston Cream Pie recipe is straightforward and irresistibly delicious: a silky vanilla pastry cream layered between two tender, buttery vanilla cake rounds and finished with a glossy dark chocolate ganache. Think of it as a giant Boston cream donut without the frying. The pastry cream used here is an easy one-pot vanilla custard that sets beautifully and is reliable even for first-time pastry cream makers. The cake itself is a one-bowl batter that’s soft, fine-crumbed, and perfectly balanced to complement the custard and chocolate. Serve chilled for clean slices and a delightful contrast of creamy filling and silky ganache.

WHY THIS RECIPE WORKS
- Buttery, soft crumb – butter gives depth of flavor and a tender texture that makes this cake comforting and rich.
- Tender vanilla butter cake – a fine crumb and mild custardy flavor make this cake an ideal partner for the pastry cream.
- Easy one-bowl method – the cake batter is simple and quick, made mostly in a single bowl for minimal fuss.
- Luscious vanilla pastry cream – a classic vanilla custard made in one pot and chilled until set provides the characteristic filling.
- No tempering required – the pastry cream uses a straightforward method so you don’t need to temper eggs.
- Dark chocolate ganache – a rich, glossy ganache poured over the top gives the cake its finishing touch.

INGREDIENT NOTES
Below are helpful notes on the main ingredients. For exact quantities and the full recipe, see the recipe card in this post.
- All-purpose flour – measure accurately. A kitchen scale is best; if measuring by cup, fluff with a spoon, spoon into the cup, and level with a knife.
- Granulated sugar – keeps the flavor clean so the vanilla comes forward.
- Pure vanilla extract – use a good-quality extract for the best flavor since vanilla is central to this cake.
- Unsalted butter – melted and slightly warm so it incorporates smoothly into the batter and contributes richness.
- Neutral oil – a small amount of oil (sunflower or canola) keeps the cake soft at room temperature without making it greasy.
- Eggs – provide structure and lift; room temperature eggs work best.
- Full-fat yogurt – adds a touch of tang and reacts with the baking soda to improve color and tenderness. Sour cream is an acceptable substitute.
- Milk – whole or 2% milk yields the best texture; avoid skim.
- Pastry cream – make and chill the vanilla pastry cream ahead of time so it is fully set before assembling the cake.


STEP-BY-STEP INSTRUCTIONS
- Step 1: Make the pastry cream. Prepare the vanilla pastry cream and chill it thoroughly until fully set.
- Step 2: Combine dry ingredients. Sift or whisk together flour, baking powder, baking soda, and salt. Add sugar and blend so there are no lumps.
- Step 3: Add eggs, fats, and yogurt. Add the eggs, melted warm butter, oil, yogurt, and vanilla. Mix briefly on low speed until just combined — the batter will be thick.
- Step 4: Mix in milk. Gradually add the warmed milk and mix on medium-low until the batter is smooth.
- Step 5: Bake the cake. Pour batter into a prepared 8-inch pan and bake at 350°F for about 35–40 minutes, until golden and a toothpick comes out clean. Cool on a rack.
- Step 6: Fill the cake. Once cooled, split the cake horizontally. Spread the chilled pastry cream over the bottom layer, leaving a small ½-inch border, then top with the second cake layer.
- Step 7: Make and pour ganache. Heat cream with corn syrup and salt, pour over finely chopped semisweet chocolate, let sit, then stir until glossy. Cool 10 minutes to thicken slightly and pour over the filled cake, letting it drip over the sides. Chill before serving.

EXPERT BAKING TIPS
- Room-temperature eggs incorporate better and give a lighter batter. Remove from the fridge 1–2 hours before baking or warm in a bowl of warm water for 10–15 minutes.
- Butter slightly warm – melted butter should be warm but not hot so it blends easily without cooking the eggs.
- Chop chocolate finely for a smooth, glossy ganache that melts evenly when hot cream is added.
- Avoid over-mixing to keep the crumb tender.
- Don’t over-bake – check the cake at the earlier end of the bake time so it remains moist and tender.

RECIPE FAQ
Use a fresh neutral oil stored in a cool, dark place. Sunflower oil has a clean flavor and is my preference, but canola or safflower oil work just as well.
The cake is done when the top is evenly golden and a toothpick inserted into the center comes out clean.
Use light or full-fat sour cream as a substitute; it provides similar acidity and texture for the batter.
Yes. Bake the cake a day ahead, then fill and frost on the day you plan to serve.

STORING AND FREEZING
Store in the refrigerator in an airtight container for up to 3 days because of the custard filling.
You can freeze the plain baked cake layers (without filling or ganache) for up to three months. Wrap tightly in plastic wrap and place in a resealable freezer bag.

More delicious cake
Here are a few more cake recipes to explore if you enjoy baking:
-
Light & Luscious Lemon Curd Cake
-
Chocolate Chip Cookie Cake
-
Olive Oil Pistachio Cake
-
Tuxedo Cake
Baby cakes
Some great cupcake recipes to try next:
-
Caramel Chocolate Hazelnut Cupcakes
-
Strawberry Shortcake Cupcakes
-
Moist One Bowl Triple Chocolate Cupcakes
-
Crème Brûlée Cupcakes
If you love cakes, try these recipes!
Boston Cream Pie
Christina Marsigliese

Ingredients
Vanilla cake batter:
- 1 ½ cups (215g) all-purpose flour
- 1 ½ teaspoon baking powder
- ¼ teaspoon baking soda
- 1 cup (200g) granulated sugar
- ½ teaspoon salt
- 2 large eggs, at room temperature
- ¼ cup (56g) unsalted butter, melted and still warm
- 3 tablespoon (45ml) sunflower or canola oil
- ¼ cup (60ml) full fat plain yogurt
- 1 ½ teaspoon (7ml) pure vanilla extract
- ½ cup (120ml) whole milk, brought to a simmer and cooled slightly
1 batch of Easy Vanilla Pastry Cream
Chocolate ganache:
- 8 oz (227g) semisweet chocolate finely chopped
- ¾ cup (180ml) heavy 35% whipping cream
- 2 tablespoon (30ml) light or golden corn syrup
- pinch of salt
Instructions
-
Preheat oven to 350°F. Line and lightly grease an 8-inch round high-sided cake pan and set aside.
-
Make the pastry cream. Prepare the vanilla pastry cream and chill until fully set before assembling the cake.
-
Sift or whisk together flour, baking powder, baking soda, and salt. Add sugar and whisk to combine.
-
Add the eggs, melted warm butter, oil, yogurt, and vanilla extract. Mix on low speed until just combined. Gradually add the hot milk and mix until smooth.
-
Pour batter into the prepared pan and bake for 35–40 minutes until golden and a toothpick comes out clean. Cool in the pan for 20 minutes, then invert onto a rack to finish cooling.
-
Fill the cake. Slice the cooled cake in half horizontally and spread chilled pastry cream over the bottom layer, leaving a ½-inch border. Top with the second layer.
-
Make the ganache. Place chopped chocolate in a bowl. Heat cream with corn syrup and salt to a gentle boil, pour over chocolate, cover for 2 minutes, then stir gently until smooth and glossy. Cool 10 minutes, pour over the filled cake, allow drips, then chill about 1 hour before serving.