Zimt

How to Make Boston Cream Cupcakes

· 10 min read · Cakes

In this article
  1. What You Need Before You Start
  2. How to Make the Vanilla Cupcakes
  3. How to Make the Custard Filling
  4. How to Fill the Cupcakes
  5. How to Make the Chocolate Glaze
  6. How Long Do Boston Cream Cupcakes Keep?
  7. Why the Custard Might Be Too Thin
  8. Why the Glaze Is Dull or Streaky
  9. How to Tell the Cupcakes Are Done
  10. How to Adjust the Recipe for Different Yields
  11. How to Store and Reheat Leftovers
  12. Common Substitutions and Why They Matter
  13. How to Avoid Sinking or Cracking
  14. Ingredients
  15. Instructions
  16. How to Check Custard Thickness
  17. How to Prevent Glaze Sticking to Wrappers
  18. How to Know When Custard Is Set
  19. Can I Use a Different Frosting?
  20. How to Make a Dairy-Free Version
  21. How to Store Unfilled Cupcakes
  22. Why Custard May Curdle
  23. How to Tell Cupcakes Are Safe to Eat

These cupcakes replicate the classic Boston cream pie in individual size: soft vanilla cake, rich custard filling, and a smooth chocolate glaze. The method uses standard cupcake baking, piping the filling after cooling, and a pourable ganache-style glaze that sets firm but remains glossy.

This method works well for parties, bake sales, or when you want a refined dessert without assembly on the day—fill and glaze up to one day ahead and store refrigerated until serving.

What You Need Before You Start

Make sure you have a standard 12-cup muffin tin, cupcake liners, a piping bag with a small round tip (about 1/4 inch / 6 mm), a cooling rack, and a double boiler or heatproof bowl and saucepan for the glaze. Preheat your oven to 350°F (175°C). Line the muffin tin with paper liners; do not skip this as the cupcakes need to release cleanly after baking.

Use room-temperature eggs and butter for the cake batter to ensure even emulsification and rise. For the custard, whole milk and heavy cream give the richest texture; substitute with 2% milk and half-and-half if needed, but avoid skim milk as the custard will be thin. For the glaze, high-quality semi-sweet chocolate (at least 50% cocoa solids) yields the best sheen and flavor.

How to Make the Vanilla Cupcakes

  1. Whisk together 1 1/2 cups (190 g) all-purpose flour, 1 1/2 tsp baking powder, and 1/4 tsp salt in a medium bowl.
  2. Beat 1/2 cup (115 g) unsalted butter, softened, and 3/4 cup (150 g) granulated sugar with a hand mixer on medium speed for 2 minutes, until light and fluffy.
  3. Add 2 large eggs, one at a time, beating well after each. Mix in 1 tsp pure vanilla extract.
  4. On low speed, alternate adding the flour mixture in three additions with 1/2 cup (120 ml) whole milk, beginning and ending with the flour. Do not overmix; stop as soon as no dry streaks remain.
  5. Divide the batter evenly among the prepared muffin cups, filling each about 2/3 full (about 35 g per cup). Bake for 18–22 minutes, until a toothpick inserted into the center comes out clean and the tops spring back when lightly pressed.
  6. Cool in the pan for 10 minutes, then transfer to a wire rack to cool completely before filling. Fully cooled cupcakes prevent the custard from melting.

How to Make the Custard Filling

  1. Whisk 2 large egg yolks, 1/4 cup (50 g) granulated sugar, and 2 tbsp cornstarch in a bowl until pale and thick.
  2. Heat 1 cup (240 ml) whole milk and 1/4 cup (60 ml) heavy cream in a saucepan over medium heat until steaming but not boiling (about 180°F / 82°C).
  3. Slowly pour half the hot milk mixture into the egg mixture, whisking constantly, then pour the tempered eggs back into the saucepan.
  4. Cook over medium-low heat, whisking constantly, until the mixture thickens and reaches 160°F (71°C) — USDA FSIS safe minimum for egg dishes — about 3–5 minutes.
  5. Remove from heat, stir in 2 tbsp (30 g) unsalted butter and 1/2 tsp pure vanilla extract. Press plastic wrap directly onto the surface to prevent a skin, and chill for at least 2 hours, until cold and set.

How to Fill the Cupcakes

  1. Once cupcakes are completely cool, use a paring knife to cut a cone-shaped hole in the top of each, about 1 inch (2.5 cm) deep and 1/2 inch (1.3 cm) wide at the base.
  2. Pipe or spoon the chilled custard into each hole, filling to just below the surface. Overfilling causes leakage when glazing.
  3. Cap the holes with the trimmed cone pieces, pressing gently to adhere. Chill for 30 minutes to firm up the filling before glazing.

How to Make the Chocolate Glaze

  1. Chop 4 oz (115 g) semi-sweet chocolate into small, even pieces. Place in a heatproof bowl.
  2. Heat 1/4 cup (60 ml) heavy cream in a saucepan until it just begins to simmer. Pour over the chocolate, let sit for 1 minute, then whisk until smooth.
  3. Stir in 1 tbsp (15 g) unsalted butter until melted and incorporated. Let cool for 5 minutes—glaze should be warm but not hot (about 90°F / 32°C) to avoid melting the cupcake surface or custard.
  4. Hold each cupcake over the bowl and pour or spoon glaze over the top, rotating to coat evenly. Glaze will set within 10–15 minutes at room temperature.

How Long Do Boston Cream Cupcakes Keep?

Refrigerate in an airtight container for up to 3 days. Bring to room temperature for 20 minutes before serving for the best texture. The cake softens slightly over time, which is normal, but the custard may weep after 48 hours. Do not freeze filled cupcakes—the custard breaks and the cake becomes soggy. Freeze unfilled, unfrosted cupcakes for up to 2 months; thaw, fill, and glaze before serving.

Why the Custard Might Be Too Thin

If the custard remains runny after chilling, it likely did not reach 160°F (71°C) during cooking or was under-thickened. Reheat it gently in a double boiler, stirring constantly, until it hits the safe minimum temperature, then chill again. If it curdles, strain it through a fine-mesh sieve before using. Overheating (above 180°F / 82°C) can also cause scrambling—look for grainy bits and discard if severe.

Why the Glaze Is Dull or Streaky

Glaze that lacks shine usually has too much chocolate or was overheated. Keep the cream just below boiling and do not let the chocolate exceed 115°F (46°C). If streaky, it may have been poured too cold—re-warm gently in the microwave in 5-second bursts, stirring between each. If separated, add 1 tsp (5 ml) warm cream and whisk until smooth.

How to Tell the Cupcakes Are Done

Bake until the edges pull slightly from the pan sides, the tops are golden and spring back when pressed, and a toothpick inserted near the center comes out clean with no wet batter. Underbaking causes sinking; overbaking dries the cake and makes filling insertion difficult. Use an oven thermometer to verify accuracy—many home ovens run 15–25°F (8–14°C) off.

How to Adjust the Recipe for Different Yields

For 24 mini cupcakes (2-inch / 5 cm), bake at 350°F (175°C) for 10–12 minutes. Halve all ingredients for 6 standard cupcakes (use a 6-cup tin). Double for 24 standard cupcakes, but bake in batches to ensure even heat—do not double the batter and bake all at once unless you have two ovens. Custard scales linearly: for 24 cupcakes, use 4 egg yolks, 1/2 cup (100 g) sugar, 1 cup (240 ml) milk, and 1/2 cup (120 ml) cream.

How to Store and Reheat Leftovers

Refrigerate leftovers within 2 hours. Reheat individual cupcakes in the microwave at 50% power for 15 seconds—do not exceed, as the glaze will melt and custard may separate. For best results, reheat only what you plan to eat immediately. Discard if left out more than 2 hours at room temperature, or 1 hour if the kitchen is above 90°F (32°C).

Common Substitutions and Why They Matter

Almond milk can replace whole milk in the cake, but the texture will be slightly denser. For custard, coconut cream works in place of heavy cream but adds flavor and may set less firmly. Brown sugar in place of white gives a caramel note but darkens the glaze and may make the cake grainier. Do not substitute oil for butter in the cake—it changes structure and moisture retention, causing collapse.

How to Avoid Sinking or Cracking

Sinking usually stems from underbaking or opening the oven door too early. Do not open the door during the first 15 minutes. Cracking on top is normal and not a flaw, but deep cracks suggest overmixing or too much leavening—measure baking powder precisely (use a spoon-and-level method). Letting cupcakes cool in the pan traps steam and causes sogginess; always transfer after 10 minutes.

Serves 12 · Prep 45 min · Cook 20 min · Total 3 hr 15 min

Ingredients

  • For the cupcakes: 1 1/2 cups (190 g) all-purpose flour, 1 1/2 tsp baking powder, 1/4 tsp salt, 1/2 cup (115 g) unsalted butter, softened, 3/4 cup (150 g) granulated sugar, 2 large eggs, 1 tsp pure vanilla extract, 1/2 cup (120 ml) whole milk
  • For the custard: 2 large egg yolks, 1/4 cup (50 g) granulated sugar, 2 tbsp cornstarch, 1 cup (240 ml) whole milk, 1/4 cup (60 ml) heavy cream, 2 tbsp (30 g) unsalted butter, 1/2 tsp pure vanilla extract
  • For the glaze: 4 oz (115 g) semi-sweet chocolate, chopped, 1/4 cup (60 ml) heavy cream, 1 tbsp (15 g) unsalted butter

Instructions

  1. Preheat oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
  2. Whisk flour, baking powder, and salt. Set aside.
  3. Beat butter and sugar until light and fluffy. Add eggs and vanilla, then alternate with milk into flour mixture.
  4. Divide batter among cups, fill 2/3 full. Bake 18–22 minutes, until set and golden. Cool 10 minutes in pan, then on a rack.
  5. For custard: Whisk egg yolks, sugar, and cornstarch. Heat milk and cream until steaming. Temper eggs, return to pan, cook until thick and 160°F (71°C). Add butter and vanilla. Chill 2 hours.
  6. Cut cones from cooled cupcakes, pipe or spoon custard into holes, cap with cones. Chill 30 minutes.
  7. <7>For glaze: Heat cream to simmer, pour over chocolate, wait 1 minute, whisk until smooth. Add butter. Cool 5 minutes.
  8. Pour glaze over cupcakes, rotate to coat. Let set 10–15 minutes before serving or refrigerating.

How to Check Custard Thickness

The custard should coat the back of a spoon and leave a clean line when you run a finger through it. If it drips off smoothly, cook 1–2 minutes more. If it resembles thin pancake batter after chilling, it did not reach 160°F (71°C) during cooking—reheat and check again.

How to Prevent Glaze Sticking to Wrappers

Use paper liners with a slight nonstick coating or spray the inside lightly with baking spray before adding batter. After glazing, let cupcakes sit on a wire rack for 10 minutes before moving—this lets excess glaze drip off and sets the surface. Do not store in plastic wrap while warm; condensation makes the glaze sticky.

How to Know When Custard Is Set

Chilled custard should hold its shape when the cupcake is tilted slightly and not slump. If it oozes out when cutting, it needs more chilling time—15 minutes in the freezer works in a pinch. Over-chilling makes it too firm to pipe smoothly; let it sit at room temperature for 5 minutes before filling.

Can I Use a Different Frosting?

Yes—whipped ganache (chill the glaze 30 minutes, then whip with a hand mixer until fluffy) works as a topping instead of poured glaze. Pipe dollops on top and chill 10 minutes to set. Do not use buttercream alone over custard—it may slide off; pipe a ring of buttercream first to hold the filling in place.

How to Make a Dairy-Free Version

Substitute unsweetened almond or oat milk for whole milk, coconut cream for heavy cream, and vegan butter for dairy butter. Use a flax egg (1 tbsp ground flax + 3 tbsp water per egg) for the cake, but note the texture will be denser. For custard, replace egg yolks with 2 tbsp cornstarch and 1 tbsp tapioca starch per yolk, and cook to 160°F (71°C). Glaze may seize with some non-dairy creams—use refined coconut oil (melted and cooled) instead of butter.

How to Store Unfilled Cupcakes

Cool completely, then place in an airtight container with parchment between layers. Store at room temperature for up to 2 days or refrigerate for up to 5 days. Bring to room temperature 30 minutes before filling. Freezing unfilled cupcakes: wrap individually in plastic, then in foil, for up to 2 months. Thaw overnight in the fridge before filling.

Why Custard May Curdle

Curdling happens from overheating (above 185°F / 85°C), rapid temperature changes, or insufficient whisking. If it curdles slightly, blend with an immersion blender until smooth. If large lumps form, strain through a fine-mesh sieve. Prevention: use a thermometer, keep heat at medium-low, and whisk continuously without stopping.

How to Tell Cupcakes Are Safe to Eat

All components must reach USDA FSIS safe minimum temperatures: cake batter with eggs 160°F (71°C), custard 160°F (71°C). Use a food thermometer in the thickest part of a cooled cupcake—inserted through the center, not touching the pan. If unavailable, cut open one cupcake: the cake should be springy and the custard firm and opaque.